Given a start time and (optionally) a duration returns the phase of day at a given location. This is primarily used to calculate phase of day information for soundscape recording projects.
dayPhase(
time = Sys.time(),
duration = 40000,
lat = 50.1,
lon = 1.83,
tz = "UTC"
)
Data frame of day phases with absolute timestamps and relative times within file
A time object representing the start time of a recording
Duration of recording
Latitude of recording device
Longitude of recording device
Time-zone of recording device when recording was made