Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Estimate race and ethnicity of health care workers by PUMA | |
# NOTE: this requires the github version of tidycensus | |
# remotes::install_github("walkerke/tidycensus") | |
library(tidycensus) | |
library(tidyverse) | |
# get industry and race vars from census api | |
ind_pums <- get_pums( | |
variables = c("PUMA", "INDP", "RAC1P", "HISP"), |