These methods let you get and set names and aliases for variables in a
Dataset's catalog, or within Subvariables in an array
variable. They work like the base R names methods.
# S4 method for BatchCatalog
names(x)# S4 method for CrunchDataset
names(x)
# S4 method for MultitableCatalog
names(x) <- value
# S4 method for ShojiCatalog
names(x)
# S4 method for ShojiCatalog
names(x) <- value
# S4 method for ShojiCatalog
emails(x)
# S4 method for ShojiFolder
types(x)
# S4 method for CategoricalArrayVariable
names(x)
# S4 method for VariableCatalog
aliases(x)
# S4 method for VariableCatalog
aliases(x) <- value
# S4 method for VariableCatalog
notes(x)
# S4 method for VariableCatalog
notes(x) <- value
# S4 method for VariableCatalog
descriptions(x)
# S4 method for VariableCatalog
descriptions(x) <- value
# S4 method for VariableCatalog
types(x)
# S4 method for VariableCatalog
ids(x)
# S4 method for VariableFolder
aliases(x)
# S4 method for VersionCatalog
names(x)
# S4 method for VersionCatalog
descriptions(x)
# S4 method for VersionCatalog
timestamps(x)
a VariableCatalog, Subvariables, or similar object
For the setters, an appropriate-length character vector to assign
Getters return the character object in the specified slot; setters
return x duly modified.
Note that the Dataset names method returns the aliases of its
variables by default. This behavior is controlled by
getOption("crunch.namekey.dataset").
Set options(crunch.namekey.dataset="name") if you wish to use
variable names. See the variables vignette for more information.
Subvariables Categories base::names() vignette("variables", package="crunch")