Description Usage Arguments Value Examples
Provides asuperficial view of an ox_all object, including minimal
information on datapoints, subjects, items, (item) groups, forms and events.
1 |
ox_obj |
An object of class |
assessments |
|
A list with the following components:
numbers: numbers of datapoints, subjects, sites, events, forms,
groups, and items, in ox_obj$data.
events: unique values of event_oid in ox_obj$data.
forms: unique values of form_oid in ox_obj$data.
groups: unique values of group_oid in ox_obj$data.
assessments: when assessments = TRUE. A dataframe
showing the number of datapoints (rows in ox_obj$data) per event_oid
and group_oid.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | # The example odm1.3 xml file address
my_file <- system.file("extdata",
"odm1.3_full_example.xml",
package = "ox",
mustWork = TRUE)
# Parsing the xml file
library(XML)
doc <- xmlParse(my_file)
# Creating ox object
my_ox_obj <- ox_all(doc)
# Getting summary info (default)
ox_info(my_ox_obj)
# Same, including assessments table
ox_info(my_ox_obj, assessments = TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.