Get and set names, aliases on Catalog-type objects
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.
aliases(x) aliases(x) <- value descriptions(x) descriptions(x) <- value emails(x) types(x) timestamps(x) ids(x) ids(x) <- value values(x) values(x) <- value scriptBody(x) dates(x) dates(x) <- value ## S4 method for signature 'AbstractCategories' names(x) ## S4 replacement method for signature 'AbstractCategories' names(x) <- value ## S4 method for signature 'AbstractCategories' ids(x) ## S4 method for signature 'ScriptCatalog' timestamps(x) ## S4 method for signature 'Script' timestamps(x) ## S4 method for signature 'ScriptCatalog' scriptBody(x) ## S4 method for signature 'Script' scriptBody(x) ## S4 method for signature 'BatchCatalog' names(x) ## S4 replacement method for signature 'Categories' ids(x) <- value ## S4 method for signature 'Categories' values(x) ## S4 replacement method for signature 'Categories' values(x) <- value ## S4 method for signature 'Categories' dates(x) ## S4 replacement method for signature 'Categories' dates(x) <- value ## S3 method for class 'CrunchDataFrame' names(x) ## S4 method for signature 'CrunchCube' names(x) ## S4 method for signature 'CrunchCube' aliases(x) ## S4 method for signature 'CrunchCube' descriptions(x) ## S4 method for signature 'CrunchCube' types(x) ## S4 method for signature 'CrunchCube' notes(x) ## S4 method for signature 'CrunchDataset' names(x) ## S4 method for signature 'ShojiCatalog' names(x) ## S4 replacement method for signature 'ShojiCatalog' names(x) <- value ## S4 method for signature 'ShojiCatalog' emails(x) ## S4 method for signature 'CrunchDeck' names(x) ## S4 replacement method for signature 'CrunchDeck' names(x) <- value ## S4 replacement method for signature 'MultitableCatalog' names(x) <- value ## S4 method for signature 'ShojiFolder' types(x) ## S4 method for signature 'ShojiOrder' names(x) ## S4 method for signature 'OrderGroup' names(x) ## S4 method for signature 'SlideCatalog' names(x) ## S4 replacement method for signature 'SlideCatalog' names(x) <- value ## S4 method for signature 'ArrayVariable' names(x) ## S4 method for signature 'TabBookResult' names(x) ## S4 method for signature 'TabBookResult' aliases(x) ## S4 method for signature 'TabBookResult' descriptions(x) ## S4 method for signature 'MultitableResult' names(x) ## S4 method for signature 'MultitableResult' aliases(x) ## S4 method for signature 'MultitableResult' descriptions(x) ## S4 method for signature 'VariableCatalog' aliases(x) ## S4 replacement method for signature 'VariableCatalog' aliases(x) <- value ## S4 method for signature 'VariableCatalog' notes(x) ## S4 replacement method for signature 'VariableCatalog' notes(x) <- value ## S4 method for signature 'VariableCatalog' descriptions(x) ## S4 replacement method for signature 'VariableCatalog' descriptions(x) <- value ## S4 method for signature 'VariableCatalog' types(x) ## S4 method for signature 'VariableCatalog' ids(x) ## S4 method for signature 'VariableFolder' aliases(x) ## S4 method for signature 'list' types(x) ## S4 method for signature 'VersionCatalog' names(x) ## S4 method for signature 'VersionCatalog' descriptions(x) ## S4 method for signature 'VersionCatalog' timestamps(x)
x |
a |
value |
For the setters, an appropriate-length character vector to assign |
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.
Getters return the character object in the specified slot; setters
return x
duly modified.
Subvariables
Categories
base::names()
vignette("variables", package="crunch")
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.