GetWeather: Read in weather and other meta-data

Description Usage Arguments Details Value Author(s) References Examples

Description

Reads Weather meta-data in BBS, from Weather.zip. Contains other meta-data too, so is useful elsewhere

Usage

1
GetWeather(Dir="ftp://ftpext.usgs.gov/pub/er/md/laurel/BBS/DataFiles/") 

Arguments

Dir

string for file name, defaults to ftp://ftpext.usgs.gov/pub/er/md/laurel/BBS/DataFiles/.

Details

Documented here: ftp://ftpext.usgs.gov/pub/er/md/laurel/BBS/DataFiles/WeatherInf.txt

Value

Data frame with these columns:

CountryNum

Three digit code that identifies country: 124 (Canada), 484 (Mexico), or 840 (USA)

StateNumber

Two digit numerical code that identifies the state, province, or territory

Route

Three digit code that identifies the route.

RPID

The run protocol identification number.

Year

The year.

Month

The month the route was surveyed (1-12).

Day

The day the route was surveyed (1-31).

ObsN

Unique observer identification number.

TotalSpp

The total number of species recorded on that run of the route.

StartTemp

The temperature recorded at the beginning of the run of the route.

EndTemp

The temperature recorded at the end of the run of the route.

TempScale

The scale in which the temperatures were recorded. F stands for Fahrenheit; C stands for Celcius.

StartWind

The Beaufort wind speed code recorded at the beginning of the run of the route.

EndWind

The Beaufort wind speed code recorded at the end of the run of the route.

StartSky

The Weather Bureau sky code recorded at the beginning of the run of the route.

EndSky

The Weather Bureau sky code recorded at the end of the run of the route.

StartTime

The time the run of the route began, recorded in 24 hour local time.

EndTime

The time the run of the route ended, recorded in 24 hour local time.

Assistant

Did someone assist? 1 if they did, otherwise 0.

RunType

If this run is acceptable by BBS standards, then 1, otherwise 0.

routeID

unique route ID

Author(s)

Bob O'Hara

References

Sauer, J. R., J. E. Hines, J. E. Fallon, K. L. Pardieck, D. J. Ziolkowski, Jr., and W. A. Link. 2014. The North American Breeding Bird Survey, Results and Analysis 1966 - 2012. Version 02.19.2014 USGS Patuxent Wildlife Research Center, Laurel, MD

Examples

1
2
## Get woodpeckers and friends
## GetWeather()

oharar/rBBS documentation built on May 24, 2019, 11:55 a.m.