powered by
In order to use specific features of the Climate Data Service, you may first need to accept specific licences. This function will list all licenses you have accepted.
cds_accepted_licences( scope = c("all", "dataset", "portal"), ..., token = cds_get_token() )
Returns a data.frame listing the accepted licenses.
data.frame
Scope of the licenses to be listed should be one of "all" (default), "dataset" or "portal".
"all"
"dataset"
"portal"
Ignored
An API key to be used for authentication. Will use cds_get_token() by default.
cds_get_token()
Other licences: cds_accept_licence(), cds_list_licences()
cds_accept_licence()
cds_list_licences()
if (interactive() && cds_token_works()) { cds_accepted_licences("portal") }
Run the code above in your browser using DataLab