Skip to content

Commit d84f01e

Browse files
authored
✨ Initial commit for branch "dev_morgan_massey" (ndi v0.1.6.9013) (#30)
* `morgan_massey()` function that computes the Distance-Decay Isolation Index (_DPxx\*_) based on [Morgan (1983)](https://www.jstor.org/stable/20001935) and [Massey & Denton (1988)](https://doi.org/10.1093/sf/67.2.281)
1 parent a8f3c7e commit d84f01e

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+1042
-185
lines changed

DESCRIPTION

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Package: ndi
22
Title: Neighborhood Deprivation Indices
3-
Version: 0.1.6.9012
4-
Date: 2024-09-01
3+
Version: 0.1.6.9013
4+
Date: 2024-09-02
55
Authors@R:
66
c(person(given = "Ian D.",
77
family = "Buller",

NAMESPACE

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ export(lieberson)
1818
export(massey)
1919
export(massey_duncan)
2020
export(messer)
21+
export(morgan_massey)
2122
export(powell_wiley)
2223
export(sudano)
2324
export(theil)

NEWS.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# ndi (development version)
22

3-
## ndi v0.1.6.9012
3+
## ndi v0.1.6.9013
44

55
### New Features
66

@@ -17,9 +17,10 @@
1717
* Added `duncan_duncan()` function to compute the aspatial racial or ethnic Relative Centralization (*RCE*) based on [Duncan & Duncan (1955b)](https://doi.org/10.1086/221609) and [Massey & Denton (1988)](https://doi.org/10.1093/sf/67.2.281)
1818
* Added `massey()` function to compute the aspatial racial or ethnic Absolute Clustering (*ACL*) based on [Massey & Denton (1988)](https://doi.org/10.1093/sf/67.2.281)
1919
* Added `massey_duncan()` function to compute the aspatial racial or ethnic Absolute Concentration (*ACO*) based on [Massey & Denton (1988)](https://doi.org/10.1093/sf/67.2.281) and Duncan, Cuzzort, & Duncan (1961; LC:60007089)
20+
* Added `morgan_massey()` function to compute the aspatial racial or ethnic Distance-Decay Isolation Index (_DPxx\*_) based on [Morgan (1983)](https://www.jstor.org/stable/20001935) and [Massey & Denton (1988)](https://doi.org/10.1093/sf/67.2.281)
2021

2122
#### New Function Capabilities
22-
* Added `geo_large = 'place'` for census-designated places, `geo_large = 'cbsa'` for core-based statistical areas, `geo_large = 'csa'` for combined statistical areas, and `geo_large = 'metro'` for metropolitan divisions as the larger geographical unit in `atkinson()`, `bell()`, `bemanian_beyer()`, `denton()`, `denton_cuzzort()`, `duncan()`, `duncan_cuzzort()`, `duncan_duncan()`, `hoover()`, `james_taeuber()`, `lieberson()`, `massey()`, `massey_duncan()`, `sudano()`, `theil()`, and `white()`, `white_blau()` functions.
23+
* Added `geo_large = 'place'` for census-designated places, `geo_large = 'cbsa'` for core-based statistical areas, `geo_large = 'csa'` for combined statistical areas, and `geo_large = 'metro'` for metropolitan divisions as the larger geographical unit in `atkinson()`, `bell()`, `bemanian_beyer()`, `denton()`, `denton_cuzzort()`, `duncan()`, `duncan_cuzzort()`, `duncan_duncan()`, `hoover()`, `james_taeuber()`, `lieberson()`, `massey()`, `massey_duncan()`, `morgan_massey()`, `sudano()`, `theil()`, and `white()`, `white_blau()` functions.
2324
* Added census block group computation for `anthopolos()` by specifying `geo == 'cbg'` or `geo == 'block group'`
2425
* Added `holder` argument to `atkinson()` function to toggle the computation with or without the Hölder mean. The function can now compute *A* without the Hölder mean. The default is `holder = FALSE`.
2526
* Added `crs` argument to `anthopolos()`, `bravo()`, and `white_blau()` functions to provide spatial projection of the distance-based metrics
@@ -45,7 +46,7 @@
4546
* Re-formatted code and documentation throughout for consistent readability
4647
* Renamed 'race/ethnicity' or 'racial/ethnic' to 'race or ethnicity' or 'racial or ethnic' throughout documentation to use more modern, inclusive, and appropriate language
4748
* Updated documentation about value range of *V* (White) from `{0 to 1}` to `{-Inf to Inf}`
48-
* Added examples for `atkinson()`, `duncan_cuzzort()`, `duncan_duncan()`, `gini()`, `hoover()`, `james_taeuber()`, `lieberson()`, `massey()`, `massey_duncan()`, `theil()`, and `white_blau()` functions in vignettes and README
49+
* Added examples for `atkinson()`, `duncan_cuzzort()`, `duncan_duncan()`, `gini()`, `hoover()`, `james_taeuber()`, `lieberson()`, `massey()`, `massey_duncan()`, `morgan_massey()`, `theil()`, and `white_blau()` functions in vignettes and README
4950
* Added example for `holder` argument in `atkinson()` function in README
5051
* Reordered the contents of 'ndi-package.R' thematically
5152
* Reordered the README examples alphabetically

R/anthopolos.R

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,9 @@
6060
#' \dontrun{
6161
#' # Wrapped in \dontrun{} because these examples require a Census API key.
6262
#'
63-
#' # Racial Isolation Index of Black populations
64-
#' ## of census tracts within Georgia, U.S.A., counties (2020)
63+
#' # Racial Isolation Index (a measure of isolation)
64+
#' ## of Black populations
65+
#' ## in census tracts of Georgia, U.S.A. (2020)
6566
#' anthopolos(
6667
#' geo = 'tract',
6768
#' state = 'GA',

R/atkinson.R

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,9 @@
7070
#' \dontrun{
7171
#' # Wrapped in \dontrun{} because these examples require a Census API key.
7272
#'
73-
#' # Atkinson Index (a measure of the evenness) of Black populations
74-
#' ## of census tracts within counties within Georgia, U.S.A., counties (2020)
73+
#' # Atkinson Index (a measure of the evenness)
74+
#' ## of Black populations
75+
#' ## in census tracts within counties of Georgia, U.S.A. (2020)
7576
#' atkinson(
7677
#' geo_large = 'county',
7778
#' geo_small = 'tract',
@@ -80,8 +81,9 @@
8081
#' subgroup = c('NHoLB', 'HoLB')
8182
#' )
8283
#'
83-
#' # Atkinson Index of median household income
84-
#' ## of census tracts within counties within Georgia, U.S.A., counties (2020)
84+
#' # Atkinson Index (a measure of the evenness)
85+
#' ## of median household income
86+
#' ## in census tracts within counties of Georgia, U.S.A. (2020)
8587
#' atkinson(
8688
#' geo_large = 'county',
8789
#' geo_small = 'tract',

R/bell.R

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,9 @@
6767
#' \dontrun{
6868
#' # Wrapped in \dontrun{} because these examples require a Census API key.
6969
#'
70-
#' # Interaction of non-Hispanic Black vs. non-Hispanic white populations
71-
#' ## of census tracts within counties within Georgia, U.S.A., counties (2020)
70+
#' # Interaction Index (a measure of exposure)
71+
#' ## of non-Hispanic Black vs. non-Hispanic white populations
72+
#' ## in census tracts within counties of Georgia, U.S.A. (2020)
7273
#' bell(
7374
#' geo_large = 'county',
7475
#' geo_small = 'tract',

R/bemanian_beyer.R

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,9 @@
7070
#' \dontrun{
7171
#' # Wrapped in \dontrun{} because these examples require a Census API key.
7272
#'
73-
#' # Local Exposure and Isolation of non-Hispanic Black vs. non-Hispanic white populations
74-
#' ## of census tracts within counties within Georgia, U.S.A., counties (2020)
73+
#' # Local Exposure and Isolation
74+
#' ## of non-Hispanic Black vs. non-Hispanic white populations
75+
#' ## in census tracts within counties of Georgia, U.S.A. (2020)
7576
#' bemanian_beyer(
7677
#' geo_large = 'county',
7778
#' geo_small = 'tract',

R/bravo.R

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,9 @@
4747
#' \dontrun{
4848
#' # Wrapped in \dontrun{} because these examples require a Census API key.
4949
#'
50-
#' # Educational Isolation Index of less than some college or associate's degree attainment
51-
#' ## of census tracts within Georgia, U.S.A., counties (2020)
50+
#' # Educational Isolation Index (a measure of exposure)
51+
#' ## of less than some college or associate's degree attainment
52+
#' ## in census tracts of Georgia, U.S.A. (2020)
5253
#' bravo(
5354
#' geo = 'tract',
5455
#' state = 'GA',

R/denton.R

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,9 @@
7171
#' \dontrun{
7272
#' # Wrapped in \dontrun{} because these examples require a Census API key.
7373
#'
74-
#' # Index of spatial proximity of Black populations
75-
#' ## of census tracts within counties within Georgia, U.S.A., counties (2020)
74+
#' # Relative Clustering (a measure of clustering)
75+
#' ## of non-Hispanic Black vs. non-Hispanic white populations
76+
#' ## in census tracts within counties of Georgia, U.S.A. (2020)
7677
#' denton(
7778
#' geo_large = 'county',
7879
#' geo_small = 'tract',

R/denton_cuzzort.R

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,9 @@
6868
#' \dontrun{
6969
#' # Wrapped in \dontrun{} because these examples require a Census API key.
7070
#'
71-
#' # Index of spatial proximity of Black populations
72-
#' ## of census tracts within counties within Georgia, U.S.A., counties (2020)
71+
#' # Relative Concentration (a measure of concentration)
72+
#' ## of non-Hispanic Black vs. non-Hispanic white populations
73+
#' ## in census tracts within counties of Georgia, U.S.A. (2020)
7374
#' denton_cuzzort(
7475
#' geo_large = 'county',
7576
#' geo_small = 'tract',

0 commit comments

Comments
 (0)