Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add new function: get_timeseries(data, col, mID_to, year_from, year_to, summarize_fun = sum, weight = NULL) #12

Open
ThomasKnecht opened this issue Jan 27, 2020 · 1 comment
Assignees
Milestone

Comments

@ThomasKnecht
Copy link
Contributor

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%"

@TSchiefer TSchiefer self-assigned this Feb 5, 2020
@krlmlr
Copy link
Collaborator

krlmlr commented Jun 19, 2020

Do we still need this?

@krlmlr krlmlr added this to the 0.3.0 milestone Mar 22, 2021
@krlmlr krlmlr mentioned this issue Mar 22, 2021
@krlmlr krlmlr modified the milestones: 0.3.0, 0.2.0 May 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants