settings {crunch}R Documentation

View and modify dataset-level settings

Description

These methods allow access and control over dataset settings. Currently supported settings include:

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), duly modified.

Examples

## Not run: 
settings(ds)
settings(ds)$viewers_can_export <- TRUE
settings(ds)$weight <- ds$myWeightVariable

## End(Not run)

[Package crunch version 1.30.4 Index]