Skip to main content

Aging and disability in the Mexican Population

Link to code

Authors/Creators/ Team Members: Marcial Yangali (marcialy@colmex.mx) and Mariana Ramos

Reviewers: Emerson Baptista and Landy Sánchez

Specific purpose of code: To show how to construct disability measures using the international recommendation of the Washington Group. It also demonstrates how to evaluate age and sex composition of the population with disability and their territorial distribution.

General Application: This demonstrates basic manipulation of demographic data with R, particularly useful for those with limited familiarity with population measures.

How does or could this code allow researchers to assess research questions related  to aging or life course?: This code examines age structure in census data. Specifically, explores how the prevalence of disability condition increases with age.

Data sets used: 

  • All are publicy available datasets:

    • 2020 Mexican Housing and Population Data (IPUMS International)

Coding Language:  R 

Tools and Packages used: R packages for data manipulation (mainly dplyr but also stringr, ipumsr, tidyr, srvyr, gtsummary, purr, and labelled), visualization (ggplot2, patchwork, geofacet, scales and plotly), and geospatial operations (sf, biscale, ggtern).

Output(s): Analysis results, maps and graphs

Spatial extent: Mexico (33.0°N (North), -118.5°E (East), 14.0°N (South), and -86.0°E (West)

Temporal extent: 2022

Key words: disability, Mexico, age structure, sex composition, aging