Munge Dates and Times of the eBird and BBS Datasets

Munge Dates and Times of the eBird and BBS Datasets

munge_date_time(dat, base.date, min.yday = 0, max.yday = 365, sunlight = FALSE)

munge_date_time(dat, base.date, min.yday = 0, max.yday = 365, sunlight = FALSE)

Arguments

dat

data set with at least the column date and of class "date"

base.date

character or date string (YYYY-MM-DD) to use as the origin date for calculating Julian date.

min.yday

minimum day of the year to include in resulting dataset

max.yday

maximum day of the year to include in resulting dataset

sunlight

logical If TRUE will calculate all sunlight, moonlight, rise and set times. This is computationally demanding for the eBird data, so do not set to TRUE unless needed.