aggregate_atlevel: Aggregate at level

Description Usage Arguments Details

View source: R/aggregate.R

Description

Aggregate data at the requested level. The requested level will be the cut-off point so that any levels below will be rolled up to the requested level, and any levels above will remain as they are.

Usage

1
aggregate_atlevel(data, hierarchy, level)

Arguments

data

Data object to be included

hierarchy

Data frame containing hierarchy data

level

The level of interest

Details

Note that a hierarchy data frame is required, which is a data frame consisting of the Class ID, Class Name and Parent ID.


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