Learn R Programming

metacore (version 0.2.0)

xml_to_var_spec: XML to variable spec

Description

Takes a define xml and returns a dataset with specifications for each variable. The variable will just be the variable, unless the specification for that variable differ between datasets

Usage

xml_to_var_spec(doc)

Value

data frame with variable, length, label columns

Arguments

doc

define xml document

See Also

Other xml builder: xml_to_codelist(), xml_to_derivations(), xml_to_ds_spec(), xml_to_ds_vars(), xml_to_value_spec()