FF_download_FAOSTAT: Bulk download raw data from FAOSTAT API by dataset code

FF_download_FAOSTAT(
  DATASETCODE,
  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.

DATA_FOLDER

Destination folder for storing raw data

OverWrite

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