krsp_collars: Radio collar status

Description Usage Arguments Value Examples

View source: R/krsp-collars.r

Description

Generate a list of all squirrels that currently have collars on. A squirrel is assumed to have a collar on if there is a record for a new radio collar ( 'radio = 1'), but no matching radio collar off record ('radio = 4').

Usage

1
krsp_collars(con, grid, year)

Arguments

con

Connection to KRSP database

grid

character; one or more grids to search. Defaults to all grids.

year

integer; year to search within. Defaults to current year.

Value

A data frame of all squirrels with collars on.

Examples

1
2
con <- krsp_connect()
krsp_collars(con, grid = "JO", year = 2014)

mstrimas/krsp documentation built on May 23, 2019, 8:16 a.m.