aggregate_all: Aggregate all children into parents

Description Usage Arguments Details

View source: R/aggregate.R

Description

Aggregate data by calling the top-level hierarchy that is required plus any additional columns to be included.

Usage

1
aggregate_all(data, hierarchy)

Arguments

data

Data object to be included

hierarchy

Data frame containing hierarchy data

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.