Skip to contents

Get a list of all minor civil divisions in a state

Usage

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

Arguments

state

The state to get all mcd(s).

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 minor civil divisions in state(s).

Examples

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