Allows to aggregate time series to the specified year_to municipality data.
Options for summarize_fun: sum, mean, median, min, max, ...
Options for weight: NULL, population, area
Output: tibble with columns: year, value
Discussion: Add weight to output? (how much did each municipality contribute to the output value)
e.g. additional column weight_info:
"3 municipalities: 20%, 30%, 50%"
Allows to aggregate time series to the specified year_to municipality data.
Options for summarize_fun: sum, mean, median, min, max, ... Options for weight: NULL, population, area
Output: tibble with columns: year, value
Discussion: Add weight to output? (how much did each municipality contribute to the output value) e.g. additional column weight_info: "3 municipalities: 20%, 30%, 50%"