Learn R Programming

CopernicusClimate (version 0.0.4)

cds_accept_licence: Accept a specific licence

Description

Call this function if you wish to accept a specific license.

Usage

cds_accept_licence(license, revision, ..., token = cds_get_token())

Value

Returns a data.frame containing the accepted license

Arguments

license

The license id you wish to accept.

revision

The revision number of the license you are accepting. Should always be the latest revision.

...

Ignored

token

An API key to be used for authentication. Will use cds_get_token() by default.

See Also

Other licences: cds_accepted_licences(), cds_list_licences()

Examples

Run this code
if (interactive() && cds_token_works()) {
  cds_accept_licence("cc-by", 1)
}

Run the code above in your browser using DataLab