Skip to contents

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.

Usage

hud_set_key(key, in_wkdir = FALSE, in_home = FALSE)

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.

See also