rebird (version 1.1.0)

ebirdregioncheck: Check if a region type is valid

Description

Check if a region type is valid

Usage

ebirdregioncheck(loc, key = NULL, ...)

Arguments

loc

The location code to be checked.

key

ebird API key. You can obtain one from https://ebird.org/api/keygen. We strongly recommend storing it in your .Renviron file as an environment variable called EBIRD_KEY.

...

Curl options passed on to GET

Value

Logical.

References

http://ebird.org/

Examples

Run this code
# NOT RUN {
ebirdregioncheck("US")
ebirdregioncheck("CA-BC")
ebirdregioncheck("CA-BC-GV")
# }

Run the code above in your browser using DataCamp Workspace