Skip to contents

Open interactive plot

Usage

ss_open_trimdates_app(
  dat,
  filter_to = c("start", "end", "custom"),
  period = "2 days",
  custom_start = NULL,
  custom_end = NULL,
  point_size = 2
)

Arguments

dat

Data frame of sensor string data in wide format, as exported from ss_compile_deployment_data(). Must include columns timestamp_, sensor_depth_at_low_tide_m, sensor_type, sensor-serial number, and the variables to plot (e.g., temperature_degree_c).

filter_to

Shortcut for specifying where to filter dat before plotting. Options are "start", "end", or "custom".

period

Character string that can be converted to a lubridate period. Default is "2 days".

custom_start

Only required if filter_to = "custom". POSIXct object indicating where the filtered data will begin.

custom_end

Only required if filter_to = "custom". POSIXct object indicating where the filtered data will end.

point_size

Size of points in the plot.

Value

Opens a shiny app displaying an interactive plot of variables in dat, coloured by depth.