krsp_census_progress: Display a table of progress towards census

Description Usage Arguments Details Value Examples

View source: R/krsp-census-progress.r

Description

This function is to meant to be used to monitor progress towards completion of the census. It lists all squirrels caught since the last census and notes whether then have been entered into the current census.

Usage

1
krsp_census_progress(con, grid, year, census)

Arguments

con

Connection to KRSP database

grid

character; a single grid to map

year

integer; year of census you're working on. Must be greater than 2012 when the new census table was implemented.

census

character; are you completing the may or august census?

Details

The user must identify which census they are completing. If it is an August census, then this function returns all squirrels caught between May 15 and August 15. If it's a May census that is being completed, then this function returns all squirrels seen up to May 15 of the given year.

Value

A data frame of squirrel seen since the last census.

Examples

1
2
3
con <- krsp_connect()
krsp_census_progress(con, "JO", 2014, "may") %>%
  head()

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