An R package for mining species list, diversity estimates, and distribution data for any genus or family of flowering plants from RBG Kew’s Plants of the World Online (POWO).
The main goal of the expowo package is to retrieve information about the diversity and distribution of any plant family as publicly available at the taxonomically verified database Plants of the World Online (POWO). The package is intended to efficiently mine the content inside the source HTML pages for any specific genus and family. It can return a comma-separated values (CSV) file with the number of accepted species and country-level distribution for any genus as well as the full list of accepted species in any genus or family, their authorship, original publication and global distribution. The latests functions implemented,
accGraph, are available in the GitHub version and can automatically create global maps for any taxon level and accumulation graphics of species discovery, respectively.
You can install expowo from CRAN by just running the following R code:
OBS.: To download the development version, you will need to have the Git software installed. And if your operating system is Microsoft Windows, you will also need to download the Rtools.
The package’s major functions (
topGen) only require the name of the target family (or a vector with multiple family names). These major functions work with other minor functions (
saveCSV), with auxiliary and defensive functions to mine the plant data. Respectively,
getInfo mines the taxonomic information of each genus, the total number of species within any genus, and does a complete search for native and introduced country-level distribution for any genus and species, while
saveCSV fastly writes CSV files within the current date subfolder of a provided specific directory. With these extracted distributions, it is also possible to automatically generate global maps according to political country and botanical subdivision with the function
powoMap. Additionally, if you want to plot new species discoveries within any genus after downloading the data using
powoSpecies, it is also possible to do it automatically using
accGraph. See the examples on how to use the expowo’s functions for mining and using data regarding the global plant diversity and distribution in the ‘Articles’ section in our site.
A detailed description of the expowo’s full functionality is available here.
The expowo package is being continuously constructed. If you want to make suggestions, let us know! We hope it will be helpful for your botanical research!
Zuanny, D. & Cardoso, D. (2022). expowo: An R package for mining plant diversity and distribution data. https://github.com/DBOSlab/expowo