Learn R Programming

crunch (version 1.14.4)

flattenOrder: Remove nesting of groups within an order/group

Description

This function reduces a potentially nested order to its flattened representation, containing no nested groups. Entities are ordered in the result by their first appearance in the order object passed as input.

Usage

flattenOrder(x)

Arguments

x
VariableOrder, DatasetOrder, VariableGroup, or DatasetGroup; or a CrunchDataset or catalog that has an ordering property.

Value

x, or its order resource, flattened.