hud_nation_states_territories | R Documentation |
Get a list of state and US territories along with the corresponding fips code and abbreviation.
hud_nation_states_territories( key = Sys.getenv("HUD_KEY"), to_tibble = getOption("rhud_use_tibble", FALSE) )
key |
The API key for this user. You must go to (US Department of Housing and Urban Development) HUD USER 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 all the states and territories in the US.
hud_nation_states_territories()
hud_state_metropolitan()
hud_state_counties()
hud_state_places()
hud_state_minor_civil_divisions()
## Not run: hud_nation_states_territories() ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.