hud_chas_state_place: Comprehensive Housing and Affordability Strategy for US...

View source: R/hud_decomp_chas.R

hud_chas_state_placeR Documentation

Comprehensive Housing and Affordability Strategy for US Places

Description

Returns Comprehensive Housing and Affordability Strategy (CHAS) for all places in a state.

Usage

hud_chas_state_place(
  state,
  year = c("2014-2018"),
  key = Sys.getenv("HUD_KEY"),
  to_tibble = getOption("rhud_use_tibble", FALSE)
)

Arguments

state

A character or numeric vector: The states to query for which can be specified using the state name, abbreviation, or fips code.

year

A character vector: the years to query for.

  • year = "2014-2018"

  • year = "2013-2017"

  • year = "2012-2016"

  • year = "2011-2015"

  • year = "2010-2014"

  • year = "2009-2013"

  • year = "2008-2012"

  • year = "2007-2011"

  • year = "2006-2010"

key

A character vector of length one with the key obtained from HUD (US Department of Housing and Urban Development) USER website.

to_tibble

A logical : if TRUE, return the data in a tibble format rather than a data frame.

Value

Returns a dataframe with Comprehensive Housing and Affordability Strategy (CHAS) data for places inside states for all combinations of "state" and "year" inputs.

See Also

  • hud_chas_nation()

  • hud_chas_state()

  • hud_chas_county()

  • hud_chas_state_mcd()

  • hud_chas_state_place()

  • hud_chas()

Examples

## Not run: 

#hud_chas_state_place("MD", year = c("2014-2018","2013-2017"))


## End(Not run)

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