publicFolder {crunch}R Documentation

Hide/Unhide or Privatize/Deprivatize Variables

Description

The public folder is the top level folder of all regular public variables. Both hidden and private are hidden from most views in crunch by default. Hidden variables can be accessed by an user, while private variables (and all variables derived from them) are only accessible by users granted "editor" access to the dataset and so can be used to secure personally identifiable information from non-editors of a dataset.

Usage

publicFolder(x)

hiddenFolder(x)

privateFolder(x)

hide(x)

unhide(x)

privatize(x)

deprivatize(x)

## S4 method for signature 'CrunchDataset'
publicFolder(x)

## S4 method for signature 'VariableCatalog'
publicFolder(x)

## S4 method for signature 'VariableFolder'
publicFolder(x)

## S4 method for signature 'CrunchDataset'
hiddenFolder(x)

## S4 method for signature 'VariableCatalog'
hiddenFolder(x)

## S4 method for signature 'VariableFolder'
hiddenFolder(x)

## S4 method for signature 'CrunchVariable'
hide(x)

## S4 method for signature 'VariableCatalog'
hide(x)

## S4 method for signature 'CrunchVariable'
unhide(x)

## S4 method for signature 'VariableCatalog'
unhide(x)

hideVariables(dataset, variables)

hiddenVariables(x) <- value

unhideVariables(dataset, variables)

hiddenVariables(dataset, key = namekey(dataset))

## S4 method for signature 'CrunchDataset'
privateFolder(x)

## S4 method for signature 'VariableCatalog'
privateFolder(x)

## S4 method for signature 'VariableFolder'
privateFolder(x)

## S4 method for signature 'CrunchVariable'
privatize(x)

## S4 method for signature 'VariableCatalog'
privatize(x)

## S4 method for signature 'CrunchVariable'
deprivatize(x)

## S4 method for signature 'VariableCatalog'
deprivatize(x)

privatise(x)

deprivatise(x)

privatizeVariables(dataset, variables)

privatiseVariables(dataset, variables)

privateVariables(x) <- value

deprivatizeVariables(dataset, variables)

deprivatiseVariables(dataset, variables)

privateVariables(dataset, key = namekey(dataset))

Arguments

x

a Variable, VariableCatalog, or dataset to hide/unhide/privatize/deprivatize

dataset

A dataset

variables

Variables to change status of

value

Replacement values for assignment methods.

key

(for hiddenVariables() / privateVariables() the Variable attribute to return. Default is "alias", following envOrOption("crunch.namekey.dataset").

Details

There are several ways to assign variables into these categories and access them:


[Package crunch version 1.30.4 Index]