odk2openVA_v141 {CrossVA} | R Documentation |
odk2openVA
transforms data collected with the 2016 WHO VA instrument
(version 1.4.1) to serve as the input to the InterVA5 and InSilicoVA
alogrithms for coding cause of death.
odk2openVA_v141(odk, id_col = "meta.instanceID")
odk |
A dataframe, obtained from reading an ODK Briefcase export of records collected with the WHO questionnaire. |
id_col |
A character string of the column name (in odk) with the unique ID for each death. |
## Not run:
record_f_name <- system.file("sample", "who141_odk_export.csv", package = "CrossVA")
records <- read.csv(record_f_name, stringsAsFactors = FALSE)
output <- odk2openVA_v141(records)
## End(Not run)