ropensci / traits

R package for accessing species trait data from multiple databases
Other
40 stars 13 forks source link

Search by trait #41

Closed sckott closed 2 years ago

sckott commented 9 years ago
sckott commented 9 years ago

cc @hlapp @xu-hong

sckott commented 9 years ago

This is potentially quite messy, kinda like common names for species. Perhaps a new function:

traits_search <- function(trait, db, ...) { 
   # internal code to search each data source
}  

# e.g. use
traits_search("leaf size", db = c("leda", "traitbank"))