ordering: Get and set VariableOrder

orderingR Documentation

Get and set VariableOrder

Description

The ordering methods allow you to get a VariableOrder on a CrunchDataset or on the VariableCatalog that the dataset contains.

Usage

ordering(x)

ordering(x) <- value

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

## S4 replacement method for signature 'CrunchDataset'
ordering(x) <- value

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

## S4 replacement method for signature 'VariableCatalog'
ordering(x) <- value

## S4 method for signature 'DatasetCatalog'
ordering(x)

## S4 method for signature 'ProjectFolder'
ordering(x)

## S4 replacement method for signature 'DatasetCatalog'
ordering(x) <- value

## S4 replacement method for signature 'ProjectFolder'
ordering(x) <- value

Arguments

x

a VariableCatalog or CrunchDataset

value

a valid VariableOrder object

Details

Crunch datasets work with folders, and the ordering is deprecated. It is no longer possible to set the ordering of a variable catalog from rcrunch.

Value

ordering returns a VariableOrder object, while ⁠ordering<-⁠ sets the VariableOrder


Crunch-io/rcrunch documentation built on Feb. 14, 2025, 3:14 a.m.