Learn R Programming

crunch (version 1.14.4)

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

"is.archived"(x)
"is.draft"(x)
"is.published"(x)
"is.archived"(x) <- value
"is.draft"(x) <- value
"is.published"(x) <- value
"is.archived"(x)
"is.draft"(x)
"is.published"(x)
"is.archived"(x) <- value
archive(x)
"is.draft"(x) <- value
"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.