extract.data: Get data on an individual species

View source: R/extract.data.R

extract.dataR Documentation

Get data on an individual species

Description

Creates dataframes with capture data for adult and juvenile birds from a CES object created by readces

Usage

extract.data(cesdata, species=0, plots=NULL, min.yrs=1)

Arguments

cesdata

a CES object created by readces.

species

Euring species code (including the final zero which would indicate race).

plots

an object containing plot coverage data created by extract.coverage.

min.yrs

sites covered in fewer than min.yrs will be ignored.

Value

A list of up to four items

spp

Euring species code

spp.name

Name of the species in whichever language has been set by setceslang

Either or, more usually, both of the following may be present

ad.data

data frame with summary of adult captures

jv.data

data frame with summary of juvenile captures

Author(s)

Rob Robinson

Examples

data(ukdata)
plots <- extract.coverage(ukdata)
robin.dat <- extract.data(ukdata, species=10990, plots=plots)

btorobrob/cesr documentation built on June 9, 2025, 5:39 a.m.