Description
Basic Functions to Check Readability, Consistency, and Content of an Individual Participant Data F….
Description
Basic checks needed with an individual level participant data from randomised controlled trial. This checks files for existence, read access and individual columns for formats. The checks on format is currently implemented for gender and age formats.
README.md
IPDFileCheck
IPDFileCheck is a package that can be used to check the data file from a randomised clinical trial (RCT). The standard checks on data file from RCT will be of the following
- To check the file exists and readable
- To check if the column exists,
- To get the column number if the column name is known,
- To test column contents ie do they contain specific items in a given list?
- To test column names of a data being different from what specified,
- To check the format of column 'age' in data
- To check the format of column 'gender' in data
- To check the format of column contents -numeric or string
- To return the column number if the pattern is contained in the colnames of a data
- To return descriptive statistics, sum, no of observations, mean, mode. median, range, standard deviation and standard error
- To present the mean and sd of a data set in the form Mean (SD)
- To return a subgroup when certain variable equals the given value while omitting those with NA
- To find the number and percentages of categories
- To calculate age from date of birth and year of birth There are some other helper functions included. Usage
See the User Guide Vignette for examples on using the package Installation
Latest release can be installed from www.github.com/sheejamk/ipdfilecheck.