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

ShojiOrder-slots

Manipulate VariableGroup and VariableOrder


Description

Manipulate VariableGroup and VariableOrder

Usage

## S4 method for signature 'OrderGroup'
entities(x, simplify = FALSE)

## S4 method for signature 'ShojiOrder'
entities(x, simplify = FALSE)

## S4 method for signature 'list'
entities(x, simplify = FALSE)

## S4 replacement method for signature 'OrderGroup'
entities(x) <- value

## S4 replacement method for signature 'ShojiOrder'
entities(x) <- value

## S4 method for signature 'OrderGroup'
name(x)

## S4 replacement method for signature 'OrderGroup'
name(x) <- value

## S4 replacement method for signature 'ShojiOrder'
names(x) <- value

Arguments

x

a VariableGroup or VariableOrder

simplify

logical: should variable URLs inside of groups be flattened or preserved in their nested lists? Default isFALSE.

value
  1. For name, a character (length-1 vector); for names, a character vector of equal length to the number of VariableGroups being modified; for entities, either a character vector of variable URLs or a list containing a combination of variable URLs and VariableGroups. Note that group names must be unique, should be greater than 0 characters long, and "ungrouped" is a reserved group name.

Value

  • entities returns Variable references and VariableGroups;

  • names returns group names;

See Also


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.