A wrapper around Sys.getenv() to set HUD_KEY environment variable. Allows the user to also set the key to their .RProfile in working or HOME.
Arguments
- key
A character vector of length one with key obtained at https://www.huduser.gov/hudapi/public/register?comingfrom=1
- in_wkdir
set the key in the user's .RProfile in this directory. Is defaulted to false.
- in_home
set the key in the user's HOME directory. Is defaulted to false.