README.md

autostudy - clean data for swift analysis in R

The autostudy R package validate and help the analysis of files provided in the right format.

The idea

As an epidemiologist in a French public hospital part of the work is to help physician with their studies. This can be quite time consuming as the data is almost always in the worst possible shape and data management is a pain. On the other hand the analysese themselves are often simple.

This package is based on the assumption that you asked the data to be handed to you in a predefined format. The package will automatically validate the data and output logs to help the clinician to put the data in the right shape.

A template for data gathering and an explicative document has to be provided to the clinician.

Some elements

convert_to_ are wrapper around common dm functions to maximise the data imported and remove some unauthorized ones.

The converted df will be checked against the original one to fine the new NAs

errors: * a df with "table", "column", "line", "error_type" * try to the make it as clear and concise as possible * maybe output whole line with errors and outline the errors themselves

To Do



AdrienLeGuillou/autostudy documentation built on May 16, 2019, 8:15 p.m.