Learn R Programming

crunch (version 1.17.0)

is.archived,DatasetCatalog-method: Get and set "archived" and "published" status of a dataset

Description

"Archived" datasets are excluded from some views. "Draft" datasets are visible only to editors. "Published" is the inverse of "Draft", i.e. is.draft(x) entails !is.published(x). These properties are accessed and set with the "is" methods. The verb functions archive and publish are alternate versions of the setters (at least in the TRUE direction).

Usage

# S4 method for DatasetCatalog
is.archived(x)

# S4 method for DatasetCatalog is.draft(x)

# S4 method for DatasetCatalog is.published(x)

# S4 method for DatasetCatalog,logical is.archived(x) <- value

# S4 method for DatasetCatalog,logical is.draft(x) <- value

# S4 method for DatasetCatalog,logical is.published(x) <- value

# S4 method for CrunchDataset is.archived(x)

# S4 method for CrunchDataset is.draft(x)

# S4 method for CrunchDataset is.published(x)

# S4 method for CrunchDataset,logical is.archived(x) <- value

archive(x)

# S4 method for CrunchDataset,logical is.draft(x) <- value

# S4 method for CrunchDataset,logical is.published(x) <- value

publish(x)

Arguments

x

CrunchDataset

value

logical

Value

For the getters, the logical value of whether the dataset is archived, in draft mode, or published, where draft and published are inverses. The setters return the dataset.