taxize (version 0.1.5)

tpl_get: Get The Plant List csv files.

Description

The Plant List http://www.theplantlist.org/. Note there is a package on CRAN (taxonstand - http://cran.r-project.org/web/packages/Taxonstand/) that uses theplantlist.org to search plant names - we have a wrapper around that function called tpl_search.

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. Writes to your home directory, change dir_ as needed.

See Also

tpl_search tpl_families

Examples

Run this code
# Get a few families
tpl_get(dir_ = "~/foo2", family = c("Platanaceae","Winteraceae"))

# You can now get Gymnosperms as well
tpl_get(dir_ = "~/foo2", family = c("Pinaceae","Taxaceae"))

# You can get mosses too!
tpl_get2(dir_ = "~/foo4", family = "Echinodiaceae")

# Get all families
tpl_get(dir_ = "~/foo")

Run the code above in your browser using DataLab