An R package to access the CITES Speciesplus database
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github
R
docs
inst
man
tests
vignettes
.Rbuildignore
.gitignore
.travis.yml
CONDUCT.md
DESCRIPTION
LICENSE
NAMESPACE
NEWS.md
README.md
_pkgdown.yml
appveyor.yml
codemeta.json
cran-comments.md
paper.bib
paper.md
rcites.Rproj

README.md

Current Status

Build status Build status codecov Project Status: Active – The project has reached a stable, usable state and is being actively developed. ROpenSci status CRAN status CRAN downloads Zenodo DOI JOSS DOI

rcites

An R package to access information from the Speciesplus database via the Speciesplus/CITES Checklist API. The package is available for download from CRAN (stable version) and Github (development version).

Please see the release paper for background information about the Convention on International Trade in Endangered Species of Wild Fauna and Flora (CITES), the Speciesplus database and basic information about the aim of the package.

Installation

The package can be installed from CRAN:

install.packages("rcites")
library("rcites")

The development version can be installed via the devtools package:

devtools::install_github("ropensci/rcites")
library("rcites")

Setup requirements and use

To set up a connection to the CITES Speciesplus database, a personal authentication token is required. Please see the vignette for details how to get a token and how to set the token for package use: Get started with rcites

Additional information about specific use examples are provided for the African bush elephant (Loxodonta africana). The package usage for querying multiple species is described in another vignette entitled 'Bulk analysis with rcites'.

Key features

Once the token is set, the package has five key features:

Prefix information

The package functions have three different prefixes:

  • set_ for set_token() to initially set the API token
  • spp_ for the key features
  • rcites_ for helper functions that are called within the key features

Citation information

When citing, please refer to both the package citation and the release paper.

Contributors

Resources

Another package dealing with data from and about CITES, providing access to its wildlife trade database: cites

While creating this package, we greatly benefited from:

  1. taxize that inspired the structuring of this repository/package;

  2. the httr vignette: Managing secrets, which is extremely helpful for packages dealing with API.

Code of Conduct

Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.

Also, please read the Terms and Conditions of Use of Speciesplus Data: https://speciesplus.net/terms-of-use.

ropensci_footer