VariableOrder: Organize Variables within a Dataset

Description Details Slots


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.


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.



character, the name of the VariableGroup. In the constructor and more generally, this field can be referenced as "name" as well.


a character vector of variable URLs, or a list containing a combination of variable URLs and VariableGroup objects.


logical: should duplicate variable references be allowed in this object? Deprecated field: duplicates are never allowed.


either NULL or a VariableCatalog(). If not NULL, it will be used to look up variable names from the URLs.

crunch documentation built on April 6, 2021, 1:05 a.m.