date_handler: Process dates and subset data within nesting season

View source: R/date_funs.R

date_handlerR Documentation

Process dates and subset data within nesting season

Description

date_handler finds the ymd starting and ending dates of the nesting season based on the dates given in input (as Julian day or a character string indicating month and day), and returns the subset of data that falls within the range. Inputting month and day is the recommended option.

Usage

date_handler(dat, sea_start, sea_end)

Arguments

dat

data.frame of movement data for a single burst. Needs to include burst, date, long, lat

sea_start

Character string for month and day ("mm-dd") in which the nesting season starts

sea_end

Character string for month and day ("mm-dd") in which the nesting season ends

Value

Returns subset of data comprised within the nesting season


picardis/nestR documentation built on July 2, 2024, 6:35 p.m.