Description Usage Arguments Details Value Author(s) Examples
View source: R/nddspiro.read.R
Extracts spirometry data from ndd Easyware XML files
1 2 | nddspiro.read(xmlfilename, indices = c("FEV1", "FVC", "FEV1_FVC", "PEFR"),
traces = 2, accepted_only = TRUE, add_GLI = FALSE)
|
xmlfilename |
Character vector. Filename of the XML file to process. |
indices |
Optional. List of character vectors. The indices to be returned. Default is FEV1, FVC, FEV1FVC, PEFR. Possible values are "FEV1", "FEV6", "FVC", "FEV1_FVC", "PEFR", "FEF2575", "FET", "BEV", "EOTV", "VCmax" |
traces |
Integer. Optional. Results per test to be returned (in descending order from Rank 1). Default=2. |
accepted_only |
Optional. Boolean. If TRUE only "accepted" traces will be returned. Default=TRUE. |
add_GLI |
Optional. Boolean. If TRUE will add GLI 2012 reference ranges. Requires rspiro package. Default=FALSE. |
This is the only function you are likely to need. Can be used withrspiro from devtools::install_git(\"https://github.com/thlytras/rspiro.git\")
Dataframe of test results
Jamie Rylance, jamie.rylance@lstmed.ac.uk
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.