knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.path = "man/figures/README-",
  out.width = "100%",
  eval = TRUE
)

rtaxref – an R client to the French Taxonomical Reference

Project Status: Active – The project has reached a stable, usable state and is being actively developed. codecov R-CMD-check

The goal of rtaxref is to provide an R client to TAXREF API, the French Taxonomical Reference and associated database on species. The API provides nomenclature, taxonomy, biogeographic repartition, statuses and interactions of species. See the API documentation here.

This project is still under development (especially the documentation) but most functions should work out of the box. Please do use the issue tracker for any bug report, suggestion, or idea.

Installation

rtaxref is not yet on CRAN. However, you can install the development version of rtaxref from GitHub with:

# install.packages("remotes")
remotes::install_github("Rekyt/rtaxref")

Citation

rtaxref contains functions to retrieve data from TAXREF-Hub. The access data is released under the Creative Commons Attribution-ShareAlike 3.0 (CC BY-SA 3.0) license. A suggestion of citation is included in rtaxref via citation("rtaxref").

citation("rtaxref")

Usage

To avoid collisions with other packages all rtaxref functions are prefixed with rt_*(), for example rt_taxa_id() lets you access to the information about a taxon using its unique id (also called cdNom in TAXREF):

library("rtaxref")

rt_taxa_id(id = 101027)

You get information about the taxon related to taxonomy, the referance name, vernacular names as well as distribution information.

rt_taxa_search() let's you search a taxon with different criteria:

rt_taxa_search(sciname = "Helianthus annuus")

You a full list of functions included in rtaxref by going to the rtaxref website.

Code of Conduct

Please note that the 'rtaxref' project is released with a Contributor Code of Conduct. By contributing to this project, you agree to abide by its terms.

Related projects

Other packages lets you work with taxonomical information from relevant databases:



Rekyt/rtaxref documentation built on June 18, 2022, 1:02 p.m.