Learn R Programming

taxize (version 0.0.6)

tpl_get: Get The Plant List csv files.

Description

The Plant List http://www.theplantlist.org/. Note that there is now a package on CRAN (taxonstand - http://cran.r-project.org/web/packages/Taxonstand/) that uses only theplantlist.org to search plant names.

Usage

tpl_get(dir_, family = NULL)

Arguments

dir_
Directory to write csv files to.
family
If you want just one, or >1 family, but not all, list them in a vector.

Value

  • Returns nothing to console, except a message and progress bar. Writes csv files to dir_.

Details

Throws a warning if you already have a directory of the one provided, but still works.

Examples

Run this code
# writes to your home directory, change to where you want
tpl_get(dir_ = "~/foo")

# just a few families
tpl_get(dir_ = "~/foo2", family = c("Platanaceae","Winteraceae"))

Run the code above in your browser using DataLab