PSLmodels / OG-UK

An overlapping generations model to simulate fiscal policy the United Kingdom.
https://pslmodels.github.io/OG-UK
Other
6 stars 7 forks source link

Question about fertility data in demographics.py #10

Closed rickecon closed 3 years ago

rickecon commented 3 years ago

@jpycroft In your PR #3, the get_fert() function in demographics.py downloads fertility data for the U.K. from EuroStat. When I download the demo_fasec dataset as you do in your get_fert() function, I get the following variables of interest: SEX, AGE, and 2018.

Are these assumptions correct? Is this your understanding of the data?

jpycroft commented 3 years ago

@rickecon Rick, yes, that's right. The dataset is: "Live births by mother's age and newborn's sex [DEMO_FASEC]" The data are given by year with 2018 being the most recent year for the UK.

Further details available from the Eurostat page: https://appsso.eurostat.ec.europa.eu/nui/show.do?dataset=demo_fasec&lang=en