hud_state_places: US Places

View source: R/hud_misc.R

hud_state_placesR Documentation

US Places

Description

Get a list of all places in state(s).

Usage

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

Arguments

state

The state(s) to get all places.

key

The key obtained from HUD (US Department of Housing and Urban Development) USER website.

to_tibble

If TRUE, return the data in a tibble format rather than a data frame.

Value

A dataframe containing details of places in state(s).

See Also

  • hud_nation_states_territories()

  • hud_state_metropolitan()

  • hud_state_counties()

  • hud_state_places()

  • hud_state_minor_civil_divisions()

Examples

## Not run: 
hud_state_places("CA")
hud_state_places("Virginia")
hud_state_places("51")

## End(Not run)

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