Retrieves the O*NET API key from the ONET_API_KEY environment variable.
Details
To obtain an API key, register at https://services.onetcenter.org/developer/. Set the key in your environment with:
Or add it to your .Renviron file for persistence.
Examples
nzchar(Sys.getenv("ONET_API_KEY", unset = ""))
#> [1] FALSE
