R/utils.R
dc_has_api_key.Rd
Checks whether the DATACOMMONS_API_KEY environment variable has been set. Useful for examples, tests, or conditional execution of functions requiring authentication.
DATACOMMONS_API_KEY
dc_has_api_key()
A logical value: TRUE if an API key is set, FALSE otherwise.
TRUE
FALSE