Harmonizes the series variable in `data` so there is one data value for each time
unit in time variable (to account for different variations in disease/cause name)
Usage
SeriesHarmonizer(time_variable = "period_end_date", series_variable = "deaths")
Arguments
- time_variable
column name of time variable in `data`, default is "period_end_date"
- series_variable
column name of series variable in `data`, default is "deaths"
Value
function to harmonize disease/cause names
## Returned Function
- Arguments
* `data` data frame containing time series data
- Return - all fields in `data` with summarized series variable for unique time variable