Get species
Get species
rl_sp(page = 0, key = NULL, parse = TRUE, all = FALSE, quiet = FALSE, ...) rl_sp_(page, key = NULL, all = FALSE, quiet = FALSE, ...)
page |
(integer/numeric) Page to get. Default: 0. you can get up to 10,000 records per page. Paging is required because it's too much burden on a server to just "get all the data" in one request |
key |
A IUCN API token. See |
parse |
(logical) Whether to parse to list ( |
all |
(logical) to get all results or not. Default: |
quiet |
(logical) give progress for download or not.
Default: |
... |
Curl options passed to |
## Not run: rl_sp(page = 3) # get all results out <- rl_sp(all = TRUE) length(out) vapply(out, "[[", 1, "count") all_df <- do.call(rbind, lapply(out, "[[", "result")) head(all_df) NROW(all_df) ## End(Not run)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.