cites_db_download | R Documentation |
This command downloads the CITES shipments database and populates a local database. The download is large (~158 MB), and the database will be ~5 GB on disk. During import 10 GB of disk space may be used temporarily.
cites_db_download(
tag = NULL,
destdir = tempdir(),
cleanup = TRUE,
verbose = interactive()
)
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 |
The database is stored by default under rappdirs::user_data_dir()
, or its
location can be set with the environment variable CITES_DB_DIR
.
## Not run:
cites_db_download()
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.