Skip to content

Neighborhood Deprivation Indices

1packages depend
6.5Kdownloads / year
13.9%test coverage
13/13flavors OK

Overview

About
Maintained by Ian D. BullerCRAN page ↗GitHub ↗Issues ↗Declared funder: NCI

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.

Changes in 0.2.2

New Features

  • None

Updates

  • Updated expect_silent() tests to expect_no_error() based on issue (#37) raise by Roger Bivand which was misleading for reverse dependency checks
  • Fixed typo in CITATION and 'powell_wiley.Rd'

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 4.4 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-06-09
  • ERROR12 OK, 1 ERROR2026-06-08
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 0.2.2
READMEYes · 1,490 wordsVignettesYes · 6 · dynamicNEWSYes · 100% structured · mentions 0.2.2Citation fileYes · cites a publicationWebsitenot declared in DESCRIPTION
Help pages
27 (1 internal)includes a package overview page
Examples that run
12%3 run in a plain check · 23 never run
Exported functions with examples
100%
Documented parameters
100%
Return-value docs
100%
Help pages citing references
93%

Downloads

6.5K
CRAN downloads in the past year
Rank #6,973 · ~18/day · ~543/mo
Daily download trend is not available in this view yet.
49530 days
1.2K90 days
6.5K1 year
Compare downloads with other packages →
Also on87 r2u2 autocran

Repository

22Stars
2Forks
0Open issues
0Open PRs
8Releases
69Commits
4Commit identities
censuscensus-apicensus-datadeprivationdeprivation-statsgeospatialgeospatial-dataprincipal-component-analysis
License file reads as Apache-2.0 · 69 commits · Last activity 2026-04-23
Responsiveness
How these are sampled
PRs merged (all time)
100%
Median days to close, 50 most recently updated closed issues
7
Median days to close, 50 most recently updated closed PRs
0
PracticesBeta

6 development-tooling and community-health practices detected across 5 families in the upstream repository

Checks run against github.com/idblr/ndi on 2026-10-18.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

Reproducibility and dev environment (1)
data-raw/
CRAN release process (1)
cran-comments.md
Lint, format, editor (1)
RStudio project
Show all practicesHide 1 practice
Git structural (1)
.gitattributes
How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
16 external dependencies (excludes base and recommended)

Installing ndi adds 121 packages (66 with compiled code, 105 MB of source tarballs). Heaviest: stringi 11 MB, sf 9.3 MB, ggplot2 6.0 MB.

Depends (1)
R >= 3.5.0
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
1direct
0indirect
Imports 1
Depends, Imports or LinkingTo, most downloaded first

Datasets

People & History

People (2)
Author, Maintainer since 0.1.0 (2022), Copyright holder
Copyright holder, Funder
Releases (8)

Pick two releases to compare their code metrics.

  • 0.2.2Latest
    record
    2026-04-24 · current release · diff ↗
  • R
    R 4.6.0 released · 2026-04-24
  • 0.2.1
    record
    2025-09-05 · diff ↗ ·
    added 13 exports
    denton, denton_cuzzort, duncan_cuzzort, duncan_duncan, hoover, james_taeuber, lieberson, massey, massey_duncan, morgan_denton, morgan_massey, theil, white_blau
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • 0.1.5
    record
    2024-01-23 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 0.1.4
    record
    2023-02-01 · diff ↗ ·
    added 5 exports
    atkinson, bell, bemanian_beyer, sudano, white
  • 0.1.3
    record
    2022-12-01 · diff ↗ ·
    added 1 export
    duncan
  • 0.1.2
    record
    2022-10-01 · diff ↗ ·
    added 1 export
    krieger
  • 0.1.1
    record
    2022-08-15 · diff ↗ ·
    added 3 exports
    anthopolos, bravo, gini
  • 0.1.0
    record
    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

Cite

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-10-21. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-21, 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