infer_season: Infer BLE LTER field campaign season from date or date-times

View source: R/infer_season.R

infer_seasonR Documentation

Infer BLE LTER field campaign season from date or date-times

Description

Infer BLE LTER field campaign season from date or date-times: dates in May or earlier are under ice, June to 15th of July is break up, and 16th of July or later is open water. Do not use with mooring data.

Usage

infer_season(data, date_col = "date_time")

Arguments

data

(data.frame) A data.frame with date

date_col

(character) Name of column with dates or date-times. Please convert this column into a Date format first (not just strings containing dates).

Value

A vector of strings: field campaign seasons in same order as dates or date-times supplied.


atn38/BLE-LTER-utils documentation built on March 4, 2024, 9:13 p.m.