This function returns a data frame about mobility demographics from State Cancer Profiles.
Arguments
- area
A state/territory abbreviation or USA.
- areatype
One of the following values:
"county"
"hsa"
(Health Service Area)"state"
.
- mobility
The only permissible values are
"i haven't moved (in past year)"
"moved from outside us (in past year)"
"moved, different state (in past year)"
"moved, different county, same state (in past year)"
"moved, same county (in past year)"
.
See also
Other demographics:
demo_crowding()
,
demo_education()
,
demo_food()
,
demo_income()
,
demo_insurance()
,
demo_language()
,
demo_population()
,
demo_poverty()
,
demo_svi()
,
demo_workforce()
Examples
if (FALSE) {
demo_mobility(
area = "WA",
areatype = "county",
mobility = "moved, different county, same state (in past year)"
)
demo_mobility(
area = "usa",
areatype = "state",
mobility = "moved, same county (in past year)"
)
demo_mobility(
area = "dc",
areatype = "hsa",
mobility = "moved, same county (in past year)"
)
}