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

populationExport function for situation report #106

Open
DavidSoSiZoch opened this issue Dec 9, 2021 · 0 comments
Open

populationExport function for situation report #106

DavidSoSiZoch opened this issue Dec 9, 2021 · 0 comments

Comments

@DavidSoSiZoch
Copy link
Collaborator

Adding a function that exports all necessary population data for the creation of the situation report.

The function takes as arguments a connection to a SORMAS Postgres db, a start date and an end date.

In the output table each row is a population group by age and gender in a specific district.
The columns are the following variables:
district_id, region_id, sex_population, agegroup_population, population, district_name

DavidSoSiZoch added a commit that referenced this issue Dec 10, 2021
This function exports population data by agegroup and gender for each district.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant