rl_countries: Get countries

Description Usage Arguments Value References Examples

View source: R/rl_countries.R

Description

Get countries

Usage

1
2
3

Arguments

key

A IUCN API token. See rl_use_iucn.

parse

(logical) Whether to parse to list (FALSE) or data.frame (TRUE). Default: TRUE

...

Curl options passed to HttpClient

Value

A list, with the data in the result slot, unless using a function with a trailing underscore, in which case json as character string is returned.

References

API docs at http://apiv3.iucnredlist.org/api/v3/docs

Examples

1
2
3
4
5
## Not run: 
rl_countries()
rl_countries_()

## End(Not run)

ropensci/rredlist documentation built on Aug. 3, 2018, 7:13 a.m.