Description Usage Arguments Details Value Note Author(s) References Examples
Import an Epidata xml file (.epx)
1 | read.epx(x, use.epidata.labels = TRUE, set.missing.na = TRUE)
|
x |
char - Filename |
use.epidata.labels |
Boolean - replace value of a variable by an internal label. Default is TRUE |
set.missing.na |
Boolean - replace missing by NA. Default is TRUE |
This function read an Epidata file containing new xml format data.
An "epx" object
This work is derived from the work of David Whiting.
Be careful, don't include ',' or ';' into text field, these characters can be used as separators.
Epidata types handled : ftString, ftInteger, ftFloat, ftDMYDate
WARNING: with R 3.4.0 this function generates many warning. That is tied to the fact than XML package has not still be updated.
Jean Pierre Decorps <jean.pierre.decorps@gmail.com>
—-
1 | # -----------
|
Loading required package: XML
Loading required package: httr
Attaching package: 'epxToR'
The following object is masked from 'package:base':
as.data.frame
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.