adm_data_cleanr: Clean TB admission data sets

Description Usage Arguments Value Author(s) See Also

View source: R/adm_data_cleanr.R

Description

Simplify workflow of cleaning TB admission data sets from EpiInfo or Koch 6 by adding an object class for identification, subsetting variables, extracting additional information from ID numbers in Epiinfo, formatting date, gender, HIV and treatment outcome variables. Also, converts drug dosing variables to binary variables

Usage

1

Arguments

x

data frame containing variables

add

string of additional variable names to retain in cleaned output data frame

...

further arguments passed to or from other methods

Value

Data frame with an object attribute signifying the data collection software - "epiinfo" or "koch6"

Author(s)

Jay Achar

See Also

tbcleanr


JayAchar/tbcleanr documentation built on Aug. 12, 2020, 8:40 a.m.