Skip to contents

Get demographic data

Obtain demographic datasets based on user specifications.

get_aging_rate()
Load aging rate data
get_births()
Load births data, with projections from 1970 to 2050, without sex disaggregation.
get_births_INEGI()
Load births data, disaggregated by sex, from 1985 to 2020.
get_deaths()
Load death data disaggregated by year, state, sex and age.
get_death_population()
Load population and death data, disaggregated by year, state, sex and age.
get_migration()
Load migration data
get_population()
Load population data disaggregated by year, state, sex and age.

Demographic datasets

These are the base datasets where the functions retrieve their information.

df_birth_pop_states
Birth data of Mexico, between 1970 to 2050
df_births_INEGI
Birth data of Mexico, between 1985 to 2020, disaggregated by sex
df_mortrate_state_age_sex
Population and deaths data of Mexico, from 1970 to 2050.
df_migration
Migration data of Mexico, from 1970 to 2050 aggregated by ages.
df_migration_expanded
Migration data of Mexico, from 1970 to 2050.