get_hud_il_statedata {hudr} | R Documentation |
Get HUD Income Limit data at the State Level from HUD.
Description
Provides income limit data at the State level from HUD.
Usage
get_hud_il_statedata(entityid, yr, hud_key = Sys.getenv("HUD_API_KEY"))
Arguments
entityid |
Character string containing the 'state_code' from get_hud_fmr_liststates(...). |
yr |
Character string indicating the year. |
hud_key |
Character string indicating your API key from HUD. Default is Sys.getenv("HUD_API_KEY"). |
Details
Provides income limit data at the State level from HUD.
Value
A list of data tables containing income limit data from HUD.
Author(s)
Paul Richardson
Examples
## Not run:
library(hudr)
hud_key <- Sys.getenv("HUD_API_KEY")
state_codes <- get_hud_fmr_liststates(hud_key = hud_key)
il_state_dt <- get_hud_il_statedata(entityid = state_codes$state_code[1],
yr = "2020",
hud_key = hud_key)
## End(Not run)
[Package hudr version 1.2.0 Index]