rWCVP

R-CMD-check

rWCVP is a package for accessing and using plant name and distribution data from the World Checklist of Vascular Plants

:warning: The next version of rWCVP is currently in active development - we will be back on CRAN soon! In the meantime, please install via GitHub (see below).

Installation

You can install the development version of rWCVP from GitHub with:

devtools::install_github("matildabrown/rWCVP")

It’s also best to install the most recent version of the accompanying data package, rWCVPdata:

devtools::install_github("matildabrown/rWCVPdata")

Example

rWCVP makes it easy to get and plot the known distribution of plant species.

library(rWCVP)

distribution <- wcvp_distribution("Myrcia guianensis", taxon_rank = "species")

# global map
wcvp_distribution_map(distribution)

# zoomed-in map
wcvp_distribution_map(distribution, crop_map = TRUE)