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, ...)

Arguments

csv

The csv file containing the ERRDAP data to be plotted.

metric

The metric to be plotted.

...

additional parameters to pass to dygraph

Value

This function outputs a dygraph object of the time series plot.

Examples

if (FALSE) {
csv_SST <-here::here("data/oceano/statistics_sst_cinms.csv")
plot_metric_timeseries(csv_SST, "sst")
}