Learn R Programming

taxize (version 0.7.9)

plantminer: Search for taxonomy data from Plantminer.com

Description

Search for taxonomy data from Plantminer.com

Usage

plantminer(plants, from = "tpl", key = NULL, verbose = TRUE)

Arguments

plants
(character) Vector of plant species names. Required.
from
(character) One of tpl (for theplantlist.com data), or flora (for Brazilian Flora Checklist). Required. Deafult: tpl
key
(character) Your api key for the plantminer.com site. Go to http://www.plantminer.com/ to get your api key. Two options for inputting your key. 1) You can input it manually within the function as the second argument, or 2) you can put the key in your .Rprofile file, which will then be loaded when you start R. See http://bit.ly/135eG0b for help on how to put api keys in your .Rprofile file.
verbose
(logical) Verbose or not. Deafult: TRUE

Value

data.frame of results.

Examples

Run this code
## Not run: 
# # A single taxon
# plantminer("Ocotea pulchella")
# 
# # Many taxa
# plants <- c("Myrcia lingua", "Myrcia bella", "Ocotea pulchella",
# 		"Miconia", "Coffea arabica var. amarella", "Bleh")
# plantminer(plants)
# 
# # By deafult, tpl is used, for Theplantlist data,
# # toggle the from parameter here
# plantminer("Ocotea pulchella", from = "flora")
# ## End(Not run)

Run the code above in your browser using DataLab