Skip to content

ndi

Neighborhood Deprivation Indices

v0.2.1 · Sep 5, 2025 · Apache License (>= 2.0)

Description

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.

Downloads

637

Last 30 days

6035th

1.9K

Last 90 days

5.2K

Last year

Trend: -3.9% (30d vs prior 30d)

CRAN Check Status

14 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-macos-arm64 OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Reverse Dependencies (1)

imports

Dependency Network

Dependencies Reverse dependencies car dplyr Hmisc MASS Matrix psych sf stringr tidycensus tidyr tigris units deprivateR ndi

Version History

new 0.2.1 Mar 10, 2026
updated 0.2.1 ← 0.1.5 diff Sep 4, 2025
updated 0.1.5 ← 0.1.4 diff Jan 22, 2024
updated 0.1.4 ← 0.1.3 diff Jan 31, 2023
updated 0.1.3 ← 0.1.2 diff Nov 30, 2022
updated 0.1.2 ← 0.1.1 diff Sep 30, 2022
updated 0.1.1 ← 0.1.0 diff Aug 14, 2022
new 0.1.0 Aug 12, 2022