Skip to contents

Create function that aggregates information over time periods, normalizes a count variable, and creates new fields to summarize this information.

Usage

PeriodAggregator(rate_variable, norm_exponent = 5)

Arguments

rate_variable

Name of variable to be used to store the normalized count variable.

norm_exponent

Exponent to use in normalization. The default is 5, which means per 100,000.

Value

A function like period_aggregator_default that aggregates data so that each time period is represented by exactly one record.