Learn R Programming

crunch (version 1.14.4)

settings: View and modify dataset-level settings

Description

These methods allow access and control over dataset settings. Currently supported settings include 'viewers_can_export' and 'viewers_can_change_weight', which govern specific authorizations for users with view-only access to this datset; and 'weight', which is the default weight variable for the dataset, the one that will be set for newly shared users and the one that viewers will have always on if they are not authorized to change weights. Additional settings will be added in the future. See http://docs.crunch.io/#fragments, under 'Settings', for an up-to-date list of settings supported throughout the Crunch system. Clients may also provide and use custom settings if they choose.

Usage

settings(x)
settings(x) <- value

Arguments

x
CrunchDataset
value
A settings object (ShojiEntity), for the setter

Value

The getter returns a settings object (ShojiEntity). The setter returns the dataset (x).

Examples

Run this code
## Not run: 
# settings(ds)
# settings(ds)$viewers_can_export <- TRUE
# ## End(Not run)

Run the code above in your browser using DataLab