get_det_year: Get Detection Year Add a detection year column to a...

Description Usage Arguments Details Value Examples

View source: R/get_det_year.R

Description

Get Detection Year Add a detection year column to a detections dataframe

Usage

1
get_det_year(detsdf, timecol)

Arguments

detsdf

Dataframe of detections data

timecol

The name of the Date-time column, in quotes (like "DateTimePST")

Details

Categorizes detections based on whether they fall between July 1st and June 30th of a given year. Currently supports years 2011 - 2018; future versions of this function will be more flexible and general.

Value

The dataframe, with a Detyear column added

Examples

1
get_det_year(dets, "DateTimePST")

fishsciences/ybt documentation built on March 11, 2021, 8:45 a.m.