library(tidycensus)
library(tidyverse)
library(tigris)
library(mapview)
library(sf)
workFromHome_information <- get_acs(
geography = "county",
variables = "B08126_098",
state = "MI",
year = 2022,
survey = "acs5",
geometry = TRUE
)
##
|
| | 0%
|
| | 1%
|
|= | 1%
|
|= | 2%
|
|== | 2%
|
|== | 3%
|
|=== | 4%
|
|=== | 5%
|
|==== | 5%
|
|==== | 6%
|
|====== | 8%
|
|====== | 9%
|
|========== | 14%
|
|=========== | 16%
|
|=============== | 21%
|
|=================== | 27%
|
|=================== | 28%
|
|==================== | 28%
|
|==================== | 29%
|
|===================== | 29%
|
|====================== | 31%
|
|====================== | 32%
|
|======================= | 32%
|
|======================= | 33%
|
|======================== | 34%
|
|========================= | 36%
|
|========================== | 37%
|
|============================ | 41%
|
|============================= | 42%
|
|============================== | 43%
|
|=============================== | 44%
|
|=============================== | 45%
|
|================================= | 46%
|
|================================= | 48%
|
|===================================== | 53%
|
|====================================== | 55%
|
|======================================= | 56%
|
|========================================= | 58%
|
|========================================== | 61%
|
|============================================ | 63%
|
|============================================= | 65%
|
|================================================ | 69%
|
|================================================= | 70%
|
|================================================== | 71%
|
|=================================================== | 73%
|
|====================================================== | 77%
|
|======================================================== | 80%
|
|========================================================= | 82%
|
|========================================================== | 83%
|
|============================================================ | 85%
|
|============================================================= | 87%
|
|=============================================================== | 90%
|
|================================================================== | 94%
|
|=================================================================== | 96%
|
|======================================================================| 100%
workFromHome_information_total <- get_acs(
geography = "county",
variables = "B08526_008",
state = "MI",
year = 2022,
survey = "acs5",
geometry = TRUE
)
mapview(workFromHome_information_share, zcol = "wfh_share")