ndi (development version)
ndi v0.2.1
New Features
Updates
- Fixed broken URLs in ‘theil.Rd’, ‘ndi-package.Rd’, ‘ndi2.html’,
README, and NEWS
ndi v0.2.0
New Features
New Functions
- Added duncan_cuzzort()function to compute the aspatial
racial or ethnic Absolute Centralization (ACE) based on Duncan,
Cuzzort, & Duncan (1961; LC:60007089) and Massey & Denton
(1988)
- Added hoover()function to compute the aspatial racial
or ethnic Delta (DEL) based on Hoover (1941) and
Duncan, Cuzzort, & Duncan (1961; LC:60007089)
- Added james_taeuber()function to compute the aspatial
racial or ethnic Dissimilarity Index (D) based on James & Taeuber
(1985)
- Added lieberson()function to compute the aspatial
racial or ethnic Isolation Index (xPx*) based on Lieberson
(1981; ISBN-13:978-1-032-53884-6) and and Bell (1954)
- Added theil()function the aspatial racial or ethnic
Entropy (H) based on Theil (1972; ISBN:978-0-444-10378-9) and
Theil &
Finizza (1971)
- Added white_blau()function to compute an index of
spatial proximity (SP) based on White (1986) and Blau (1977;
ISBN-13:978-0-029-03660-0)
- Thank you for the feature suggestions above, Symielle Gaston
- Added denton()function to compute the aspatial racial
or ethnic Relative Clustering (RCL) based on Massey & Denton
(1988)
- Added denton_cuzzort()function to compute the aspatial
racial or ethnic Relative Concentration (RCO) based on Massey & Denton
(1988) and Duncan, Cuzzort, & Duncan (1961; LC:60007089)
- Added duncan_duncan()function to compute the aspatial
racial or ethnic Relative Centralization (RCE) based on Duncan & Duncan (1955b)
and Massey & Denton
(1988)
- Added massey()function to compute the aspatial racial
or ethnic Absolute Clustering (ACL) based on Massey & Denton
(1988)
- Added massey_duncan()function to compute the aspatial
racial or ethnic Absolute Concentration (ACO) based on Massey & Denton
(1988) and Duncan, Cuzzort, & Duncan (1961; LC:60007089)
- Added morgan_denton()function to compute the aspatial
racial or ethnic Distance-Decay Interaction Index (DPxy*) based
on Morgan (1983) and
Massey & Denton
(1988)
- Added morgan_massey()function to compute the aspatial
racial or ethnic Distance-Decay Isolation Index (DPxx*) based
on Morgan (1983) and
Massey & Denton
(1988)
New Function Capabilities
- Added geo_large = 'place'for census-designated places,geo_large = 'cbsa'for core-based statistical areas,geo_large = 'csa'for combined statistical areas, andgeo_large = 'metro'for metropolitan divisions as the
larger geographical unit inatkinson(),bell(),bemanian_beyer(),denton(),denton_cuzzort(),duncan(),duncan_cuzzort(),duncan_duncan(),hoover(),james_taeuber(),lieberson(),massey(),massey_duncan(),morgan_denton(),morgan_denton(),morgan_massey(),sudano(),theil(), andwhite(),white_blau()functions.
- Added census block group computation for anthopolos()by specifyinggeo == 'cbg'orgeo == 'block group'
- Added holderargument toatkinson()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
isholder = FALSE.
- Added crsargument toanthopolos(),bravo(), andwhite_blau()functions to provide
spatial projection of the distance-based metrics
- The gini()function now computes the aspatial racial or
ethnic Gini Index (G) based on Gini (1921) as the main
outcome. Argumentsgeo_large,geo_small,subgroup, andomit_NAswere added and argumentgeowas deprecated. Thegini()function still
retrieves the original output of the aspatial income Gini Index
(G) at each smaller geography and is moved from thegoutput tog_dataoutput.
- Specifying census block groups in geoorgeo_smallarguments is now'block group'or'cbg'to match internalget_acs()function
from the tidycensus
package
Updates
Bug Fixes
- Fixed NOTE in CRAN checks to provide package anchors for Rd
\link{}targets not in the package itself and the base
packages within ‘ndi-package.Rd’
- Updated population-weighted quantile method from
stats::quantiletoHmisc::wtd.quantileinpowell_wiley()thanks to a contribution (#32) by Hunter Miller
- bell()function computes the Interaction Index (Bell)
not the Isolation Index as previously documented. Updated documentation
throughout.
- Fixed bug in bell(),bemanian_beyer(),duncan(),sudano(), andwhite()functions when a smaller geography contains n=0 total population, will
assign a value of zero (0) in the internal calculation instead of
NA
- Fixed bug in atkinson()function to properly compute
the income Atkinson Index
- Renamed AI as A, DI as D,
Gini as G, and II as xPy* to align
with the definitions from Massey & Denton
(1988). The output for atkinson()now producesainstead ofai. The output forduncan()now producesdinstead ofai. The output forgini()now producesginstead ofgini. The output forbell()now producesxPy_starinstead ofII. The internal functionsai_fun(),di_fun()andii_fun()were renameda_fun(),ddd_fun()andxpy_star_fun(), respectively.
- ‘package.R’ deprecated. Replaced with ‘ndi-package.R’
- Output of racial or ethnic residential segregation indices is now
rounded to four significant digits
New Dependencies
- Hmisc,- tigris, and- unitsare
now Imports
Updated Documentation
- Split up vignette into three separate vignettes: ‘ndi1’, ‘ndi2’, and
‘ndi3’ for the NDI, racial or ethnic residential segregation,
and additional socioeconomic disparity indices, respectively
- Consolidated DESCRIPTION
- Reformatted functions for consistent internal structure
- Re-formatted code and documentation throughout for consistent
readability
- Renamed ‘race/ethnicity’ or ‘racial/ethnic’ to ‘race or ethnicity’
or ‘racial or ethnic’ throughout documentation to use more modern,
inclusive, and appropriate language
- Updated documentation about value range of V (White) from
{0 to 1}to{-Inf to Inf}
- Added examples for atkinson(),duncan_cuzzort(),duncan_duncan(),gini(),hoover(),james_taeuber(),lieberson(),massey(),massey_duncan(),morgan_massey(),theil(), andwhite_blau()functions in vignettes and README
- Added example for holderargument inatkinson()function in README
- Added internal and external references within each functions
documentation
- Reordered and reformatted CITATION alphabetically by index
abbreviation
- Reordered the contents of ‘ndi-package.R’ thematically
- Reordered the README examples alphabetically
- Reordered the vignette examples to group the racial or ethnic
residential segregation indices
- Updated examples in vignettes to showcase a larger variety of U.S.
states
- Updated examples in functions to better describe the metrics
- Updated documentation formatting of metric names in all
functions
ndi v0.1.5
New Features
Updates
- ‘DescTools’ is now Suggests to fix Rd cross-references NOTE
- Fixed ‘lost braces in ’ NOTE for anthopolos(),atkinson(),bell(),bemanian_beyer(),bravo(),duncan(),krieger(),messer(),powell_wiley(),sudano(), andwhite()functions
- Fixed ‘Moved Permanently’ content by replacing the old URL with the
new URL
- Fixed citation for Slotman et
al. (2022) in CITATION
ndi v0.1.4
New Features
- Added atkinson()function to compute the aspatial
income or racial or ethnic Atkinson Index (A) based on Atkinson (1970)
for specified counties/tracts 2009 onward
- Added bell()function to compute the aspatial racial or
ethnic Interaction Index (xPy*) based on Shevky & Williams
(1949; ISBN-13:978-0837156378) and Bell (1954)
- Added white()function to compute the aspatial racial
or ethnic Correlation Ratio (V) based on Bell (1954) and White (1986)
- Added sudano()function to compute the aspatial racial
or ethnic Location Quotient (LQ) based on Merton (1939) and Sudano et
al. (2013)
- Added bemanian_beyer()function to compute the aspatial
racial or ethnic Local Exposure and Isolation (LEx/Is) metric
based on Bemanian &
Beyer (2017)
Updates
- caris now Imports
- Fixed bug in reverse dependency check failure for
anthopolos()andbravo()functions removingreturnValue()when data are not missing
- Thank you, Roger Bivand,
for the catch. Relates to ndi Issue
#5
- Updated duncan(),gini(),krieger(),messer(), andpowell_wiley()for consistency in messaging when data are
not missing
- Updated tests for anthopolos()andbravo()ifSys.getenv('CENSUS_API_KEY') != ''
- Added omit_NAsargument induncan()function to choose if NA values will be included in its computation
- In duncan()function, if any smaller geographic unit
has zero counts the output for its larger geographic unit will be
NA
- Fixed bug in duncan()function for multiplesubgroupandsubgroup_refselections
- Updated documentation throughout
- Added GitHub R-CMD-check
- Updated citation style for CITATION file
ndi v0.1.3
New Features
- Added duncan()function to compute the Dissimilarity
Index (D) based on Duncan & Duncan (1955a)
for specified counties/tracts 2009 onward
- Thank you for the feature suggestion, Jessica Madrigal
- Added ‘utils.R’ file with internal di_fun()function
forduncan()function
Updates
- Fixed bug in bravo()function where ACS-5 data
(2005-2009) are from the ‘B15002’ question and ‘B06009’ after
- Fixed bug in missingness warning for all metrics
- utilsis now Imports
- Updated vignette and README with new features
- Updated Description in DESCRIPTION
- Updated tests
- Updated CITATION with new citation for the additional metric
- Updated maintainer contact information
ndi v0.1.2
New Features
- Added krieger()function to compute the Index of
Concentration at the Extremes (ICE) based on Feldman et
al. (2015) and Krieger et
al. (2016) for specified counties/tracts 2009 onward
- Thank you for the feature suggestion, David Berrigan
- Added dfargument for themesser()andpowell_wiley()functions to specify a pre-formatted data
set input for the NDI computation
- Added round_outputargument for themesser()andpowell_wiley()functions to
provide raw output as the default and rounded output as optional.
- Thank you for the suggested enhancements, Chris Prener
- Added DCtracts2020a testing data set for the
ndi package and its documentation
Updates
- Fixed bug in powell_wiley()function where the internal
PCA will now run properly if only one factor has an eigenvalue above
1
- Optimized the code to calculate missingness in all functions
- Thank you for the suggested bug fixes, Jacob Englert
- Fixed bug in powell_wiley()function where ‘PctNoPhone’
before 2015 is ‘DP04_0074PE’ and ‘DP04_0075PE’ after
- Thank you for alerting this issue, Jessica Gleason
- Relaxed yearargument in functions to include any year
after 2009 or 2010 for the indices
- Cleaned-up output formatting in functions
- usethisis now Suggests and- LazyDatais
set to ‘true’
- Updated tests for the dfargument inmesser()andpowell_wiley()functions
- Updated vignette and README with new features
- Fixed typos throughout documentation
- Updated Description in DESCRIPTION and fixed typos
- Updated ‘package.R’ with new details
- Updated CITATION with new citations for the additional metric
ndi v0.1.1
New Features
- Added anthopolos()function to compute the Racial
Isolation Index (RI) based on based on Anthopolos et
al. (2011) for specified counties/tracts 2009 onward
- Added bravo()function to compute the Educational
Isolation Index (EI) based on based on Bravo et al. (2021)
for specified counties/tracts 2009 onward
- Added gini()function to retrieve the Gini Index
(G) based on Gini
(1921) for specified counties/tracts 2009 onward
- Thank you for the feature suggestions, Jessica Madrigal
Updates
- Matrixand- sfare now Imports
- Updated vignette and README for new features
- Fixed typos throughout documentation
- Updated Description in DESCRIPTION
- Updated ‘package.R’ with new details and section
- Updated CITATION with new citations for the additional metrics
ndi v0.1.0
- Fixed invalid URL and typos in package README.md
ndi v0.0.1