xml_to_var_spec: XML to variable spec

View source: R/xml_builders.R

xml_to_var_specR Documentation

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)

Arguments

doc

define xml document

Value

data frame with variable, length, label columns

See Also

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


metacore documentation built on Oct. 4, 2022, 5:08 p.m.