cites_data: Load the CITES database

Description Usage Arguments Details

View source: R/datastorr.R

Description

This function loads the CITES database as an out-of-memory dplyr table. It will download the latest database from the remote repo the first time you use it or if you specify a version of the database not on your computer. Available versions can be found at https://github.com/ecohealthalliance/cites/releases

Usage

1
2
3
4
5
6
7

Arguments

version

Version number. The default will load the most recent version on your computer or the most recent version known to the package if you have never downloaded the data before. With cites_del, specifying version=NULL will delete all data sets.

path

Path to store the data at. If not given, datastorr will use rappdirs to find the best place to put persistent application data on your system. You can delete the persistent data at any time by running cites_del(NULL) (or cites_del(NULL, path) if you use a different path).

local

Logical indicating if local or github versions should be polled. With any luck, local=FALSE is a superset of local=TRUE. For cites_version_current, if TRUE, but there are no local versions, then we do check for the most recent github version.

Details

More information about the CITES database can be found https://trade.cites.org/cites_trade_guidelines/en-CITES_Trade_Database_Guide.pdf


ecohealthalliance/cites documentation built on May 4, 2019, 6:40 p.m.