Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

VariableOrder

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

group

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

entities

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

duplicates

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

vars

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


crunch

Crunch.io Data Tools

v1.28.0
LGPL (>= 3)
Authors
Greg Freedman Ellis [aut, cre], Jonathan Keane [aut], Mike Malecki [aut], Neal Richardson [aut], Gordon Shotwell [aut]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.