Description Usage Arguments Value Author(s) References Examples
View source: R/ebirdsubregionlist.R
List sub-regions within a specified region.
1 2 3 4 5 6 | ebirdsubregionlist(
regionType = c("country", "subnational1", "subnational2"),
parentRegionCode,
key = NULL,
...
)
|
regionType |
The type of region to search for. Must be one of 'country', 'subnational1' or 'subnational2'. |
parentRegionCode |
The region to search within. Must be a valid country or subnational1 code. If ‘regionType' is ’country' then this parameter is ignored (since the search will automatically be world-wide). |
key |
eBird API key. You can obtain one from https://ebird.org/api/keygen.
We strongly recommend storing it in your |
... |
Curl options passed on to |
A data.frame containing:
"code": eBird code for the subregion
"name": full name for the subregion
David Bradnum dbradnum@gmail.com
1 2 3 4 5 6 | ## Not run:
ebirdsubregionlist("country")
ebirdsubregionlist("subnational1", "US")
ebirdsubregionlist("subnational2", "US-NY")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.