This function stores a Census API key for use with
zi_get_demographics() and zi_aggregate(). It is a thin,
zi_-prefixed wrapper around tidycensus::census_api_key()
so that package setup can be completed entirely through
zippeR's own function namespace.
Arguments
- key
A character scalar containing a Census API key, which can be obtained at https://api.census.gov/data/key_signup.html.
- overwrite
A logical scalar; if
TRUE, overwrite an existing Census API key stored in.Renviron. Default isFALSE.- install
A logical scalar; if
TRUE, install the key in.Renvironfor use in future sessions. Default isFALSE.