krsp_colours: Colour key

Description Usage Arguments Value Examples

View source: R/krsp-colours.r

Description

Display a colour key based on the most recent trapping records for a given grid and year.

Usage

1
krsp_colours(con, grid, year)

Arguments

con

Connection to KRSP database

grid

character; grid to display colour key for.

year

integer; year to display colour key for. Defaults to current year.

Value

A data frame allowing identification of squirrels by colours. In this data frame there are three flags: valid indicates whether the colours are valid (allowing for at most 2 colours per ear), duplicate indicates whether that combination of colours is used on multiple squirrels, and standard indicates whether a squirrel has standard colouring, i.e. one colour in each ear and no mixing of wires, pipes, and discs.

Examples

1
2
con <- krsp_connect()
krsp_colours(con, grid = "KL", year = 2014)

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