Learn R Programming

taxize (version 0.7.9)

tpl_get: Get The Plant List csv files.

Description

Get The Plant List csv files.

Usage

tpl_get(x, family = NULL, ...)

Arguments

x
Directory to write csv files to.
family
If you want just one, or >1 family, but not all, list them in a vector.
...
(list) Curl options passed on to GET

Value

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

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.

References

The Plant List http://www.theplantlist.org

See Also

tpl_families

Examples

Run this code
## Not run: 
# # Get a few families
# tpl_get("~/foo2", family = c("Platanaceae","Winteraceae"))
# 
# # You can now get Gymnosperms as well
# tpl_get("~/foo2", family = c("Pinaceae","Taxaceae"))
# 
# # You can get mosses too!
# tpl_get("~/foo4", family = "Echinodiaceae")
# 
# # Get all families
# ## Beware, will take a while
# ## tpl_get("~/foo")
# ## End(Not run)

Run the code above in your browser using DataLab