aggregate_byname: Aggregate data by concept name

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_byname(data, hierarchy, concept)

Arguments

data

Data object to be included

hierarchy

Data frame containing hierarchy data

concept

The concept name (column name) that needs to be aggregated

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.