The purpose of this function is to generate time series plots of ERRDAP data. Currently, this function can plot sea surface temperature and chlorophyll data.
plot_metric_timeseries(csv, metric, ...)
The csv file containing the ERRDAP data to be plotted.
The metric to be plotted.
additional parameters to pass to dygraph
This function outputs a dygraph object of the time series plot.
if (FALSE) {
csv_SST <-here::here("data/oceano/statistics_sst_cinms.csv")
plot_metric_timeseries(csv_SST, "sst")
}