map_records_interva4: Map VA records to InterVA4.

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 InterVA4 algorithm.

Usage

1
map_records_interva4(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 InterVA4.

References

http://www.interva.net/

Examples

1
2
3
4
5
6
## Not run: 
record_f_name <- system.file('sample', 'who_va_output.csv', package = 'CrossVA')
records <- read.csv(record_f_name)
output_data <- map_records_interva4(records)

## End(Not run)

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