This command downloads the CITES shipments database and populates a local database. The download is large (~158 MB), and the database will be over 1 GB on disk. During import over 3.5 GB of disk space may be used temporarily.

cites_db_download(tag = NULL, destdir = tempdir(), cleanup = TRUE,
  verbose = interactive())

Arguments

tag

What release tag of data to download. Defaults to the most recent. Releases are expected to come twice per year. See all releases at https://github.com/ropensci/citesdb/releases.

destdir

Where to download the compressed file.

cleanup

Whether to delete the compressed file after loading into the database.

verbose

Whether to display messages and download progress

Details

The database is stored by default under rappdirs::user_data_dir(), or its location can be set with the environment variable CITES_DB_DIR.

Examples

# \donttest{ if (FALSE) { cites_db_download() } # }