select_level: Select at level

Description Usage Arguments Details

View source: R/select.R

Description

Get all the variables at the given level (level 1 for the highest level). If the requested level does not exist give a warning.

Usage

1
select_level(data, hierarchy, level)

Arguments

data

Data object to be included

hierarchy

The hierachy definition

level

The level of interest

Details

Note that you are only selecting, not aggregating. If you want to roll-up to any given level, use the aggregate_atlevel function instead.


FvD/conceptr documentation built on May 6, 2019, 5:07 p.m.