Calculating and Analyzing Measures of Deprivation in the United States
Overview
Provides a unified framework to building Area Deprivation Index (ADI), Social Vulnerability Index (SVI), and Neighborhood Deprivation Index (NDI) deprivation measures and accessing related data from the U.S. Census Bureau such as Gini coefficient data. Tools are also available for calculating percentiles, quantiles, and for creating clear map breaks for data visualization.
New features
- Added
dep_set_api_key()for easier Census API key management — checks for an explicit key, then theCENSUS_API_KEYenv var, and prompts interactively if neither is found - Added a "Getting Started" vignette covering all supported indices, sample data workflows, and spatial output
Dependency changes
- Removed
stringr,english,tibble, andtidyselectfrom Imports, reducing hard dependencies from 14 to 10 - Bumped minimum R version to 4.4
Improvements
- Error messages now use
cliformatting (tidyverse-style) instead of basestop()/warning()/message()
Show all changes in 0.2.0Hide the rest of the changes in 0.2.0
- Internal code quality improvements: extracted shared helpers, reduced nesting, and removed code duplication across SVI/NDI processing
- Expanded test suite with 350+ new assertions covering all exported functions and core internals
Bug fixes
- Fixed territory (e.g., Puerto Rico) FIPS code validation in
dep_get_index()— was incorrectly comparing abbreviations instead of FIPS codes - Fixed pkgdown site build failure caused by
docs/directory conflict
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-06-09
- ERROR12 OK, 1 ERROR2026-06-08
- OK13 OK2026-05-02
Show 2 earlier changesHide 2 earlier changes
- ERROR11 OK, 1 ERROR2026-04-25
- OK14 OK2026-03-10
Documentation
- Help pages
- 8
- Examples that run
- 88%7 run in a plain check (1 of them under a condition) · 1 never run
- Exported functions with examples
- 100%
- Documented parameters
- 100%
- Return-value docs
- 100%
- Help pages citing references
- 0%
Downloads
Repository
- PRs merged (all time)
- 100%
- Median days to close, 50 most recently updated closed issues
- 1
- Median days to close, 50 most recently updated closed PRs
- 0
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
Commits over time
15 development-tooling and community-health practices detected across 5 families in the upstream repository
Checks run against github.com/pfizer-opensource/deprivater on 2026-10-21.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
GitHub Pages site last deployed 2026-08-06 · The repository has a site deploy workflow
Show all practicesHide 1 practice
This repository shows signs of AI coding tools.
- GitHub Copilotfirst seen 2026-05-27Commits: at least 78 crediting it in the message
- Claude Codefirst seen 2026-05-29Named in .Rbuildignore: .claude
Dependencies
Code & Tests
People & History
Pick two releases to compare their code metrics.
- 0.2.0Latest
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- 0.1.02025-01-29
- RR 4.4.0 released · 2024-04-24
Package metadata
- First published
- 2025-01-29
- Total releases
- 2 / 1 yrs
- License
- Apache License (>= 2)
- Minimum R
- ≥ 4.4
- Download size
- 134 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("deprivateR")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-23, which the citation names so these numbers can be found later. More on citing and the projects behind them.