Skip to contents

Export a summary of occurrence downloads. Note that from, to, and publishingCountry are required parameters for this endpoint.

Usage

occ_download_stats_export(
  from,
  to,
  publishingCountry,
  datasetKey = NULL,
  publishingOrgKey = NULL,
  limit = NULL,
  offset = NULL
)

Arguments

from

(character) Start date in format YYYY-MM. Required.

to

(character) End date in format YYYY-MM. Required.

publishingCountry

(character) ISO 2-letter country code. Required.

datasetKey

(character) Dataset UUID. Optional.

publishingOrgKey

(character) Publishing organization UUID. Optional.

limit

(integer) Number of results to return. Optional.

offset

(integer) Offset for pagination. Optional.

Value

A tibble with download summary data

Note

see downloads for an overview of GBIF downloads methods

Examples

if (FALSE) { # \dontrun{
# Export download summary (from, to, and publishingCountry are required)
occ_download_stats_export(from = "2023-01", to = "2023-12", publishingCountry = "US")
} # }