Learn R Programming

rebird (version 0.5.0)

ebirdregioncheck: Check if a region type is valid

Description

Check if a region type is valid

Usage

ebirdregioncheck(loctype, loc, ...)

Arguments

loctype

One of: 'country', 'states', 'counties'

loc

The location code to be checked. A single location only, unless loctype = 'country'.

...

Curl options passed on to GET

Value

A logical vector of the same length as loc.

References

http://ebird.org/

Examples

Run this code
# NOT RUN {
ebirdregioncheck("country", c("US", "CA"))
ebirdregioncheck("states", "CA-BC")
ebirdregioncheck("counties","CA-BC-GV")
# }

Run the code above in your browser using DataLab