ntdf | R Documentation |
Drawn from Hall, Matthew, Kyle Crowder, and Amy Spring. 2015. “Neighborhood Foreclosures, Racial/Ethnic Transitions, and Residential Segregation.” American Sociological Review 80:526–549.
ntdf(
state,
geography = "tract",
county = NULL,
geometry = FALSE,
cache_table = TRUE,
output = "wide",
year = 2019,
...
)
state |
Study state or states |
geography |
Default "tract", see tidycensus for options |
county |
Study county or counties |
geometry |
Download sf spatial feature. Default is FALSE |
cache_table |
Default TRUE |
output |
Default "wide", other option is "tidy" |
year |
Default "NULL" |
... |
Other keyword arguments |
A dataframe of racial segregated neighborhoods
## Not run:
Baltimore_nt <- ntdf(state = "MD", county = "Baltimore City", geometry = TRUE)
dplyr::glimpse(Baltimore_nt)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.