An R package and framework to standardise and simplify data analysis