stigmaRdata: Data Processing Documentation
Version 0.1.0
Overview
This book documents the data sources, cleaning procedures, and methodological decisions underlying the stigmaR R package.
stigmaR measures structural stigma — the societal-level conditions that disadvantage stigmatized groups — for use in health disparities research. The data pipeline documented here transforms raw public data into the structured indicators that stigmaR exposes to researchers.
How to Read This Book
Each chapter covers one data source and follows a consistent structure:
- Source description — what it is and where it comes from
- Access and download — how raw data is obtained
- Cleaning decisions — variable selection, exclusions, recoding
- Limitations — known issues and caveats
- Output — what the final dataset looks like
Versioning and Changelog
Data pipelines and coding decisions evolve over time. See the Changelog for a record of substantive changes across versions of stigmaRdata.
Current version: 0.1.0
Citation
If you use the stigmaR R package in published research, please cite:
Kim, S. (2028). stigmaR: Structural stigma measures for health disparities research. R package version x.x.x.
If you did not use the stigmaR package, but instead data from the stigmaRdata pipeline, please cite:
Kim, S. (2026). stigmaRdata: Data Processing Documentation. Version 0.1.0. https://github.com/follhim/stigmaRdata
Who This Is For
This documentation is intended for:
- Researchers who want to understand how stigmaR indicators are constructed before using them in analysis
- Reviewers and collaborators who need methodological transparency
- Future contributors (including future me) who need to maintain or extend the pipeline
Data Sources
| Source | Coverage | Indicators |
|---|---|---|
| Movement Advancement Project (MAP) | 2010–present | Policy environment scores |
| Project Implicit (IAT) | 2006–present | Implicit bias by state |
Contact
Questions about the data pipeline can be filed as a GitHub Issue in the main stigmaR repository.