ndi
0.2.2Neighborhood Deprivation Indices
Overview
Computes various geospatial indices of socioeconomic deprivation and disparity in the United States. Some indices are considered "spatial" because they consider the values of neighboring (i.e., adjacent) census geographies in their computation, while other indices are "aspatial" because they only consider the value within each census geography. Two types of aspatial neighborhood deprivation indices (NDI) are available, including: (1) based on Messer et al. (2006) doi:10.1007/s11524-006-9094-x and (2) based on Andrews et al. (2020) doi:10.1080/17445647.2020.1750066 and Slotman et al. (2022) doi:10.1016/j.dib.2022.108002 who use variables chosen by Roux and Mair (2010) doi:10.1111/j.1749-6632.2009.05333.x. Both are a decomposition of multiple demographic characteristics from the U.S. Census Bureau American Community Survey 5-year estimates (ACS-5; 2006-2010 onward). Using data from the ACS-5 (2005-2009 onward), the package can also compute indices of racial or ethnic residential segregation, including but limited to those discussed in Massey & Denton (1988) doi:10.1093/sf/67.2.281, and additional indices of socioeconomic disparity.
Install
Health
- OK2026-08-0513 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- NOTE2026-08-0112 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- OK2026-06-0913 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- ERROR2026-06-0812 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
- OK2026-03-1014 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Documentation
- Examples that run
- 12%
- Documented parameters
- 100%
- Return-value docs
- 100%
- References docs
- 93%
Downloads
Repository
Repository practices
5 development-tooling and community-health practices detected across 5 families in the upstream repository
Checks run against github.com/idblr/ndi on 2026-08-23.
Show all practices
Dependencies
Code & Tests
Datasets
People & History
8 releases. Pick two to compare their code metrics. R releases are shown for context.
- 0.2.2Latest
- RR 4.6.0 released · 2026-04-24
- 0.2.12025-09-05 · diff ↗
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- 0.1.52024-01-23 · diff ↗
- RR 4.3.0 released · 2023-04-21
- 0.1.42023-02-01 · diff ↗
- 0.1.32022-12-01 · diff ↗
- 0.1.22022-10-01 · diff ↗
- 0.1.12022-08-15 · diff ↗
- 0.1.02022-08-13
- RR 4.2.0 released · 2022-04-22
Package metadata
- First published
- 2022-08-13
- Total releases
- 8 / 4 yrs
- License
- Apache License (>= 2.0)
- Minimum R
- ≥ 3.5.0
- Bundled data
- 31 KB / 1 file
- Download size
- 1.3 MB
- Installed size
- not tracked yet
- With dependencies
- not tracked yet
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("ndi")This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-08-25, which the citation names so these numbers can be found later. More on citing and the projects behind them.