Data and R Code for County Uninsurance and Mammography Use: National and Within-State Comparisons
Description
This repository provides the data and R code supporting the study “County Uninsurance and Mammography Use: National and Within-State Comparisons.” The study examines how county-level uninsurance among women aged 50–64 years is associated with model-estimated mammography use among women aged 50–74 years across the United States. It compares national associations with pooled within-state associations using a consistent analytic sample of 3,142 counties and county equivalents. Data sources include the 2025 CDC PLACES release, 2022 U.S. Census Bureau Small Area Health Insurance Estimates (SAHIE), the 2018–2022 American Community Survey (ACS), 2023 USDA Rural–Urban Continuum Codes, and 2025 U.S. Census TIGER/Line geographic files. The repository contains the nine source input files used in the analysis, an R script for data processing and statistical analysis, and a README documenting data sources and reproduction instructions. The analyses include national and state fixed-effects regression models, jurisdiction-level bootstrap procedures, and supplementary sensitivity analyses. The data consist of publicly available aggregate or model-based estimates and geographic information. No individual-level health records are included.
Files
Steps to reproduce
Place Supplementary R Code.R and the Dataset folder in the same parent directory. Start a clean R session and ensure that the R packages listed in the script are installed. Run the complete script using source() or Rscript; do not run selected sections separately. The script reads the included local analysis inputs, performs the data processing and all analyses reported in the manuscript and supplementary material, and writes the reported tables, figures, and Supplementary Data File D1 to an Output directory. The analysis does not require downloading additional source data during execution.
Institutions
- University of North Carolina at Chapel HillNorth Carolina, Chapel Hill