# NOT RUN {
mynames <- c("Helianthus annuus", "Poa annua", "Mimulus bicolor")
tnrs(query = mynames, source = "iPlant_TNRS")
# Specifying the nomenclatural code to match against
mynames <- c("Helianthus annuus", "Poa annua")
tnrs(query = mynames, code = "ICBN")
# You can specify multiple sources, by comma-separating them
mynames <- c("Panthera tigris", "Eutamias minimus", "Magnifera indica",
"Humbert humbert")
tnrs(query = mynames, source = "NCBI,MSW3")
mynames <- c("Panthera tigris", "Eutamias minimus", "Magnifera indica",
"Humbert humbert", "Helianthus annuus", "Pinus contorta", "Poa annua",
"Abies magnifica", "Rosa california", "Festuca arundinace",
"Mimulus bicolor", "Sorbus occidentalis","Madia sativa", "Thymopsis thymodes",
"Bartlettia scaposa")
tnrs(mynames, source = "NCBI")
# Pass on curl options
library("httr")
mynames <- c("Helianthus annuus", "Poa annua", "Mimulus bicolor")
tnrs(query = mynames, source = "iPlant_TNRS", config = verbose())
# }
Run the code above in your browser using DataLab