bbs_meta_routes: Get route metadata for North American Breeding Bird Survey

Description Usage Arguments Value Author(s) References Examples

Description

Get a data frame with the names and codes of routes surveyed in the North American Breeding Bird Survey (BBS), and associated metadata. This data comes from the BBS file routes.csv. See BBS file RouteInf.txt for further documentation.

Usage

1
bbs_meta_routes(bbs_dir = bbs_ftp())

Arguments

bbs_dir

Directory from which to get data. Defaults to the USGS FTP directory for the most recent BBS release. May alternatively be a path to a local directory, or ftp address for an older BBS release.

Value

A data.frame with the following columns:

country_num

integer code for country: 124 (Canada), 484 (Mexico), 840 (United States)

state_num

integer code for state/province/territory

route

integer code for route

route_name

name of route

active

logical indicator for whether route is active (note that a route may be active but not sampled in a given year)

latitude

latitude of route starting point in decimal degrees

longitude

longitude of route starting point in decimal degrees

stratum

integer code for physiographic stratum

bcr

integer code for Bird Conservation Region

route_type_id

integer indicator for route substrate: 1 (roadside), 2 (water), 3 (off-road)

route_type_detail_id

integer indicates for route length and selection criteria

Author(s)

Bob O'Hara

Patrick Barks <patrick.barks@gmail.com>

References

Pardieck, K.L., D.J. Ziolkowski Jr., M. Lutmerding and M.-A.R. Hudson. 2018. North American Breeding Bird Survey Dataset 1966-2017, version 2017.0. U.S. Geological Survey, Patuxent Wildlife Research Center. https://doi.org/10.5066/F76972V8

Examples

1
2
3
4
5
6
7
8
9
## Not run: 

# get from USGS ftp server
routes <- bbs_meta_routes()

# get from local working directory
routes <- bbs_meta_routes(bbs_dir = ".")

## End(Not run)

patrickbarks/bbs documentation built on May 28, 2019, 12:34 a.m.