Search for taxonomy data from Plantminer.com

Share:

Description

Search for taxonomy data from Plantminer.com

Usage

1
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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
## 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)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.