Identify distinct sample sessions from timelapse image data
Source:R/sessions.R
make_sample_sessions.Rd
For each deployment label, this function:
Sets sampling_start as first image date
Counts photos (total, and motion-detection)
Determines gaps in sampling period due to obscured lens
Determines total length of sample period (number of days with Time Lapse photos - number of days with lens obscured)
Arguments
- image_data
data.frame of class
image_data
, as read in byread_image_data()
.- sample_start_date
a custom start date. Note that this will apply the same start date to all deployments/sessions in the data.
- sample_end_date
a custom end date. Note that this will apply the same start date to all deployments/sessions in the data.