Skip to contents

Returns the HUD API key stored in the HUD_API_KEY environment variable, erroring with setup guidance if none is found. Used internally by get_chas_housing_affordability()'s API path.

Usage

get_hud_api_key()

Value

The HUD API key, as a character string.

Examples

if (FALSE) { # \dontrun{
get_hud_api_key()
} # }