Learn R Programming

birdring (version 1.6)

read.euring2000: Reads EURING data into R

Description

Reads EURING data (format EURING exchange code 2000) into R and creates a data.frame

Usage

read.euring2000(filename, quote="", ...)

Value

A data.frame containing the following variables from the EURING 2000 code:

schemeFactorringing scheme (code)
id.methodFactoridentification method
ringFactorring number
ring.verifcharacterverification of the metal ring
metal.ring.infocharactermetal ring information
marks.infocharacterother marks information
spec.byringercharacterspecies + subsp., mentioned by person
spec.byschemecharacterspecies + subsp., concluded by scheme
manipulatedcharactermanipulated
movedcharactermoved before the (re)capture/recovery
catching.methodcharactercatching method
catching.lurescharactercatching lures
sex.byringercharactersex, by the person who handled the bird
sex.byschemecharactersex, as concluded by scheme
age.byringercharacterage, by the person who handled the bird
age.byschemecharacterage, as concluded by scheme
statuscharacterstatus
broodsizecharacterbroodsize
pullus.agecharacterpullus age
pullus.age.acccharacteraccuracy of pullus age
daynumericday of record, derived from date
monthnumericmonth of record, derived from date
yearnumericyear of record, derived from date
date.acccharacteraccuracy of date
timecharactertime
place.codecharacterplace code
countrycharactercountry derived from place code
regioncharacterregion (county) derived from place code
latnumericlatitude in decimal coordinates
lonnumericlongitude in decimal coordinates
coord.acccharacteraccuracy of coordinates
conditioncharactercondition
circumstancescharacterfinding circumstances
circumstances.presumedcharacterfinding circumstances presumed
euring.codeidcharacterEURING-code identifier
distancenumericdistance to place of ringing (km)
directionnumericdirection to place of ringing (km)
time.elapsednumerictime since ringing (days)

Arguments

filename

character string of the data file obtained from EURING (format: exchange code 2000)

quote

default is to ignore quotemarks as much as possible, see notes.

...

extra arguments to pass to read.table

Author

Fraenzi Korner-Nievergelt

References

Speek et al. 2007: The EURING exchange-code 2000. www.euring.org

Examples

Run this code
filename <- system.file("extdata", "RBShrike2000.TXT", package = "birdring")
dat <-  read.euring2000(filename)
str(dat)

Run the code above in your browser using DataLab