parse_xml | R Documentation |
Extract records from a REDCap project XML file (e.g. returned by
project_xml
) and assemble into a tidy long-form data frame, with one row
for each combination of record x field x event x instance.
parse_xml(x)
x |
A REDCap project XML obect of class
|
A tibble
-style data frame with 6 columns:
record_id
form
redcap_event
redcap_repeat_instance
field
value
## Not run:
conn <- rconn(
url = "https://redcap.msf.fr/api/",
token = Sys.getenv("MY_REDCAP_TOKEN")
)
parse_xml(project_xml(conn))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.