FF_download_RemoteArchive: Download raw data from remote archive (Zenodo)

FF_download_RemoteArchive(
  DATASETCODE = NULL,
  RemoteArchiveURL = "https://zenodo.org/record/13941470/files/",
  DATA_FOLDER = file.path("inst/extdata", DIR_RAW_DATA_FAOSTAT),
  OverWrite = FALSE
)

Arguments

DATASETCODE

Single dataset code in FAO metadata, e.g., QCL is the production dataset.

RemoteArchiveURL

Zenodo URL, default (GCAM v7) = "https://zenodo.org/record/8260225/files/"

DATA_FOLDER

Folder stores raw data; default sets to DIR_RAW_DATA_FAOSTAT

OverWrite

If FALSE, check if the dataset exists and stop if exists; overwrite if TRUE