Learn R Programming

CopernicusClimate (version 0.0.4)

cds_accepted_licences: List accepted licences

Description

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.

Usage

cds_accepted_licences(
  scope = c("all", "dataset", "portal"),
  ...,
  token = cds_get_token()
)

Value

Returns a data.frame listing the accepted licenses.

Arguments

scope

Scope of the licenses to be listed should be one of "all" (default), "dataset" or "portal".

...

Ignored

token

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

See Also

Other licences: cds_accept_licence(), cds_list_licences()

Examples

Run this code
if (interactive() && cds_token_works()) {
  cds_accepted_licences("portal")
}

Run the code above in your browser using DataLab