taxizedb

knitr::opts_chunk$set(
  warning = FALSE,
  message = FALSE,
  collapse = TRUE,
  comment = "#>"
)

status cran checks R-check codecov rstudio mirror downloads Total Downloads cran version DOI

taxizedb - Tools for Working with Taxonomic Databases

Docs: https://docs.ropensci.org/taxizedb/

taxizedb is an R package for interacting with taxonomic databases. Its functionality can be divided in two parts: 1. You can download the databases to your platform 2. You can query the downloaded databases to retrieve taxonomic information.

This two step approach is different from tools which interact with web services for each query, and has a number of advantages:

Data sources

When you download a database with taxizedb it will automatically convert it to SQLite and then all query functions will interact with this SQLite database. However, not all taxonomic databases are publicly available, or can be converted to SQLite. The following databases are supported:

Get in touch in the issues with any ideas on new data sources.

Data sources - legacy support

The Plant List (TPL) has been replaced by World Flora Online. The website seems to be down so taxizedb can no longer facilitate new downloads. However, already downloaded database files can still be queried using taxizedb functions, for reproducibility.

Package API

This package for each data sources performs the following tasks:

You can use the src connections with dplyr, etc. to do operations downstream. Or use the database connection to do raw SQL queries.

Installation

CRAN version

install.packages("taxizedb")

dev version

remotes::install_github("ropensci/taxizedb")

Citation

To cite taxizedb in publications use:

Meta

ropensci



ropensci/taxizedb documentation built on Feb. 9, 2025, 2:34 a.m.