hud_nation_states_territories: US States and Territories

View source: R/hud_misc.R

hud_nation_states_territoriesR Documentation

US States and Territories

Description

Get a list of state and US territories along with the corresponding fips code and abbreviation.

Usage

hud_nation_states_territories(
  key = Sys.getenv("HUD_KEY"),
  to_tibble = getOption("rhud_use_tibble", FALSE)
)

Arguments

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.

Value

A dataframe containing details of all the states and territories in the US.

See Also

  • hud_nation_states_territories()

  • hud_state_metropolitan()

  • hud_state_counties()

  • hud_state_places()

  • hud_state_minor_civil_divisions()

Examples

## Not run: 
hud_nation_states_territories()

## End(Not run)

etam4260/rhud documentation built on Nov. 12, 2022, 2:53 a.m.