Search Kew's Plants of the World
Search Kew's Plants of the World
pow_search(sci_com, limit = 100, cursor = "*", sort = NULL, q = NULL, ...)
sci_com |
(character) query terms, scientific or common name |
limit |
(integer) Number of records to return. default: 100 |
cursor |
(character) cursor string |
sort |
(character) The field to sort by and sort order separted with
underscore, e.g., |
q |
Deprecated, see |
... |
Further args passed on to crul::HttpClient. |
a list with slots for metadata (meta
) with list of response
attributes, and data (data
) with a data.frame of results
Scott Chamberlain,
http://powo.science.kew.org/
Other pow:
get_pow()
,
pow_lookup()
,
pow_synonyms()
## Not run: x <- pow_search(sci_com = "Quercus") x$meta x$meta$totalResults x$meta$perPage x$meta$totalPages x$meta$page x$meta$cursor head(x$data) # pagination pow_search(sci_com = "sunflower", limit = 2) # debug curl stuff invisible(pow_search(sci_com = "Helianthus annuus", verbose = TRUE)) # sort desc <- pow_search(sci_com = "Helianthus", sort = "name_desc") desc$data$name asc <- pow_search(sci_com = "Helianthus", sort = "name_asc") asc$data$name ## End(Not run)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.