Calculate length_of_survey_years for the dataset_summary table

calc_length_of_survey_years(dates)

Arguments

dates

(Date) Dates from the L0 source dataset encompassing the entire study duration.

Value

(numeric) Number of years the study has been ongoing.