powered by
Call this function if you wish to accept a specific license.
cds_accept_licence(license, revision, ..., token = cds_get_token())
Returns a data.frame containing the accepted license
data.frame
The license id you wish to accept.
The revision number of the license you are accepting. Should always be the latest revision.
Ignored
An API key to be used for authentication. Will use cds_get_token() by default.
cds_get_token()
Other licences: cds_accepted_licences(), cds_list_licences()
cds_accepted_licences()
cds_list_licences()
if (interactive() && cds_token_works()) { cds_accept_licence("cc-by", 1) }
Run the code above in your browser using DataLab