Learn R Programming

crunch (version 1.24.0)

is-public: View and modify "public" attribute

Description

View and modify whether all dataset viewers have access to the dataset. This will return FALSE if the dataset is in draft.

Usage

# S4 method for CrunchFilter
is.public(x)

# S4 method for CrunchFilter is.public(x) <- value

# S4 method for MultitableCatalog is.public(x)

# S4 method for MultitableCatalog is.public(x) <- value

# S4 method for Multitable is.public(x)

# S4 method for Multitable is.public(x) <- value

Arguments

x

a Crunch object

value

an attribute to set

Value

For is.public, a logical value for whether the object is flagged as shared with all dataset viewers. (Its setter thus takes a logical value as well.) Catalogs of datasets return a vector of logicals corresponding to the length of the catalog, while entities return a single value.