| VariableOrder-class {crunch} | R Documentation |
Organize Variables within a Dataset
Description
Variables in the Crunch web application can be viewed in an ordered, hierarchical list. These objects and methods allow you to modify that order from R.
Details
A VariableOrder object is a subclass of list that contains
VariableGroups. VariableGroup objects contain a group name and an set of
"entities", which can be variable references or other nested VariableGroups.
Slots
groupcharacter, the name of the VariableGroup. In the constructor and more generally, this field can be referenced as "name" as well.
entitiesa character vector of variable URLs, or a list containing a combination of variable URLs and VariableGroup objects.
duplicateslogical: should duplicate variable references be allowed in this object? Deprecated field: duplicates are never allowed.
varseither
NULLor aVariableCatalog(). If notNULL, it will be used to look up variable names from the URLs.