Retrieve ACS migration flows
Usage
tc_get_flows(
geography,
state = NULL,
county = NULL,
msa = NULL,
year = 2018,
variables = NULL,
breakdown = NULL,
breakdown_labels = FALSE,
geometry = FALSE,
keep_geo_vars = FALSE,
key = tc_get_key(),
refresh = FALSE
)Arguments
- geography
Flows geography.
- state
Optional state input.
- county
Optional county input.
- msa
Optional metropolitan area codes.
- year
ACS migration flows year.
- variables
Optional additional variables.
- breakdown
Optional breakdown variables.
- breakdown_labels
Should label columns be added for supported coded breakdown variables?
- geometry
Should centroid geometry be joined? Use
TRUEor"destination"for destination geometry, or"origin"for origin geometry.- keep_geo_vars
Should source geometry attributes for the selected geometry role be retained?
- key
Optional Census API key.
- refresh
Included for consistency with other retrieval helpers. Flows data are requested directly and do not currently use cached metadata.
