Skip to contents

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).

Examples

if (FALSE) {
hud_state_places("CA")
hud_state_places("Virginia")
hud_state_places("51")
}