get_col_page | R Documentation |
See documentation at http://webservice.catalogueoflife.org/col/webservice.
get_col_page(id, format = "json", response = "full")
id |
(character) COL record ID. |
format |
(character) Result format: "json", "xml", or "php". |
response |
(character) Result type: "terse" (up to 500 results) or "full" (up to 50 results). |
Other COL functions: build_col_scientific_name
,
get_col_search
,
parse_col_page
,
parse_col_search
s <- get_col_search("Malus domestica")
id <- parse_col_search(s, "ids")$ids[1]
pg <- get_col_page(id)
str(httr::content(pg))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.