Calculating US Residential Segregation Indices in A Reproducible Pipeline

We provide a simple and reproducible R pipeline to investigate residential segregation (RS) using US census data. The pipeline contains two components:

  1. pulling decennial US census data of Year 2000, 2010, 2020 via R package tidycensus
  2. calculating three residential segregation indices, including dissimilarity, isolation and interaction indices, at the preferred geographical level, e.g. county or census tract level

rOpenSci package or resource used*

targets

What did you do?

We pull decennial US census data with tidycensus and calculate three residential segregation indices.

URL or code snippet for your use case*

Image

Figure 1: 2010 Alabama Dissimilarity Index at county level calculated with census tract level statistics

Field(s) of application

epidemiology, social sciences

Twitter handle

@BoyiGuo

2 Likes