Learn R Programming

CrossVA (version 1.0.0)

odk2openVA_2014: Map VA records to InterVA5 and InSilico (with option data.type = "WHO2016").

Description

odk2openVA_2014 transforms data collected with the 2014 WHO VA instrument (form id: va_who_2014_final10) to serve as the input to the InterVA5 and InSilicoVA alogrithms for coding cause of death.

Usage

odk2openVA_2014(odk, id_col = "meta.instanceID")

Arguments

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.

Examples

Run this code
# NOT RUN {
record_f_name <- system.file("sample", "who2014_odk_export.csv", package = "CrossVA")
records <- read.csv(record_f_name, stringsAsFactors = FALSE)
output <- odk2openVA_2014(records)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab