hud_state_metropolitan | R Documentation |
Get details for all metropolitan areas for queried states with their name and (core based statistical area) cbsa code.
hud_state_metropolitan( state, key = Sys.getenv("HUD_KEY"), to_tibble = getOption("rhud_use_tibble", FALSE) )
state |
The state to get all the metropolitan areas. Can be provided as the full name, fip code or abbreviation. |
key |
The API key for this user. You must go to HUD and sign up for an account and request for an API key. |
to_tibble |
If TRUE, return the data in a tibble format rather than a data frame. |
A dataframe containing details of metropolitan areas in state(s)
hud_nation_states_territories()
hud_state_metropolitan()
hud_state_counties()
hud_state_places()
hud_state_minor_civil_divisions()
## Not run: hud_state_metropolitan("VA") ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.