map_records_insilicova: Map VA records to InsilicoVA.

Description Usage Arguments Value References Examples

View source: R/map_records.R

Description

map_records transform data collected with the WHO VA instrument for coding with the InsilicoVA algorithm.

Usage

1
map_records_insilicova(records, csv_outfile = "")

Arguments

records

A dataframe, obtained from reading an ODKBriefcase export of records collected with the WHO questionnaire.

csv_outfile

Path to a file to write transformed data to. Defaults to empty string, in which case no file is written.

Value

A dataframe, with the VA records mapped to the variables required by InsilicoVA.

References

Tyler H. McCormick, Zehang R. Li, Clara Calvert, Amelia C. Crampin, Kathleen Kahn and Samuel J. Clark (2014). Probabilistic cause-of-death assignment using verbal autopsies, Journal of the American Statistical Association, to appear

Examples

1
2
3
4
5
## Not run: 
records <- read.csv('who_va_output.csv')
output_data <- map_records_tariff2(records)

## End(Not run)

CrossVA documentation built on Sept. 4, 2017, 5:03 p.m.