Learn R Programming

crunch (version 1.3.2)

VariableOrder-slots: Manipulate VariableGroup and VariableOrder

Description

Manipulate VariableGroup and VariableOrder

Usage

## S3 method for class 'VariableGroup':
entities(x, simplify = FALSE)

## S3 method for class 'VariableOrder': entities(x, simplify = FALSE)

## S3 method for class 'list': entities(x, simplify = FALSE)

## S3 method for class 'VariableGroup': entities(x) <- value

## S3 method for class 'VariableOrder': entities(x) <- value

## S3 method for class 'VariableGroup': name(x)

## S3 method for class 'VariableGroup': name(x) <- value

## S3 method for class 'VariableOrder': names(x)

## S3 method for class 'VariableGroup': names(x)

## S3 method for class 'VariableOrder': names(x) <- value

## S3 method for class 'VariableOrder': duplicates(x)

## S3 method for class 'VariableGroup': duplicates(x)

## S3 method for class 'VariableCatalog': duplicates(x)

## S3 method for class 'VariableOrder,logical': duplicates(x) <- value

## S3 method for class 'VariableGroup,logical': duplicates(x) <- value

## S3 method for class 'VariableCatalog,logical': duplicates(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 is FALSE.
value
(1) For name, a character (length-1 vector); for names, a character vector of equal length to the number of VariableGroups beind modified; for entities, either a character vector of variable URLs or a list containing a combination of variable URLs and Var

Value

  • entities returns Variable references and VariableGroups; names returns group names; duplicates returns logical for whether duplicate variable entries should be allowed

See Also

VariableOrder

grouped