pick_UScode: Determines subnational1 and subnational2 region codes for...

Description Usage Arguments Value Note Author(s) Examples

View source: R/pick_UScode.R

Description

Determines subnational1 and subnational2 region codes for United States from ebird API, useful for deciding region arguments in some Birdr functions

Usage

1
pick_UScode(state, county = NULL, ebirdkey)

Arguments

state

String of full US state name (i.e. "California")

county

String of full county name (i.e "San Luis Obispo"), only required if subnational2 region code is desired

ebirdkey

User ebird key

Value

Tibble containing region name and code

Note

Some counties will result in a return of multiple subnational2 ebird region codes because there are different counties with the same name.

Author(s)

Simon Marks

Examples

1
pick_UScode(state = "California", county = "San Luis Obispo", ebirdkey = 'mykey')

sjmarks/Birdr documentation built on May 12, 2020, 5:48 p.m.