Learn R Programming

crunch (version 1.18.0)

ShojiOrder-slots: Manipulate VariableGroup and VariableOrder

Description

Manipulate VariableGroup and VariableOrder

Usage

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

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

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

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

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

# S4 method for OrderGroup name(x)

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

# S4 method for ShojiOrder names(x)

# S4 method for OrderGroup names(x)

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

# S4 method for ShojiOrder duplicates(x)

# S4 method for OrderGroup duplicates(x)

# S4 method for VariableCatalog duplicates(x)

# S4 method for ShojiOrder,logical duplicates(x) <- value

# S4 method for OrderGroup,logical duplicates(x) <- value

# S4 method for 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 VariableGroups. Note that group names must be unique, should be greater than 0 characters long, and "ungrouped" is a reserved group name. (2) For duplicates, logical for whether duplicate variable entries should be allowed in the VariableOrder.

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