Skip to content

ndi

0.2.2

Neighborhood Deprivation Indices

1packages depend
6.6Kdownloads / year
13.9%test coverage
13/13checks pass

Overview

About
Maintained by Ian D. BullerFirst published 2022-08-138 releasesCRAN page ↗GitHub ↗

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

CRAN checks
13OK
Slowest check: 4.6 min · r-oldrel-windows-x86_64
Code health
Yes
Tests · ratio 0.20
13.9%
Coverage · measured lines
100%
Documentation · exports
14
Dependencies · direct
Check history
  • OK2026-08-05
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-08-01
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-06-09
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-06-08
    12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 1,490 wordsVignettesYes · dynamicpkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
12%
Documented parameters
100%
Return-value docs
100%
References docs
93%

Downloads

6.6K
CRAN downloads in the past year
Rank #5,802 · ~18/day · ~553/mo
Daily download trend is not available in this view yet.
29430 days
1.4K90 days
6.6K1 year
Compare downloads with other packages →
Also on128 r2u6 autocran

Repository

Repository
22Stars
2Forks
0Open issues
0Open PRs
8Releases
69Commits
4Contributors
censuscensus-apicensus-datadeprivationdeprivation-statsgeospatialgeospatial-dataprincipal-component-analysis
License Apache-2.0 · 69 commits · Last activity 2026-04-24

Repository practices

Upstream repositoryBeta

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.

Continuous integration (1)
GitHub Actions
Reproducibility and dev environment (1)
data-raw/
CRAN release process (1)
cran-comments.md
Lint, format, editor (1)
RStudio project
Show all practices
Git structural (1)
.gitattributes
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
16 external dependencies (excludes base and recommended)
Depends (1)
R >= 3.5.0
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
1direct
0indirect

Code & Tests

Datasets

People & History

People (2)
Maintainer (1)
Author, Maintainer, Copyright holder
Authors (1)
Author, Maintainer, Copyright holder
Copyright holders (2)
Author, Maintainer, Copyright holder
Copyright holder, Funder
Funders (1)
Copyright holder, Funder
Package Timeline

8 releases. Pick two to compare their code metrics. R releases are shown for context.

  • 0.2.2Latest
    2026-04-24 · current release · diff ↗
  • R
    R 4.6.0 released · 2026-04-24
  • 0.2.1
    2025-09-05 · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • 0.1.5
    2024-01-23 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 0.1.4
    2023-02-01 · diff ↗
  • 0.1.3
    2022-12-01 · diff ↗
  • 0.1.2
    2022-10-01 · diff ↗
  • 0.1.1
    2022-08-15 · diff ↗
  • 0.1.0
    2022-08-13
  • R
    R 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")
Buller, I. D., & NCI. (2026). ndi: Neighborhood Deprivation Indices (Version 0.2.2) [Computer software]. https://doi.org/10.32614/CRAN.package.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.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for ndi version 0.2.2 [Data set]. HJJB, LLC. Data release v2026-08-25. https://doi.org/10.5281/zenodo.21843040

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.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy