Get Lazy Reference to Buoy Data Table
buoy_tbl.RdReturns a lazy dplyr tibble reference to the buoy_data table. All dplyr operations are translated to SQL and executed in DuckDB. Call collect() to retrieve results as a data frame.
Examples
if (FALSE) { # \dontrun{
con <- connect_duckdb()
buoy_tbl(con) |>
dplyr::filter(station_id == "M3", wave_height > 5) |>
dplyr::select(time, wave_height, hmax) |>
dplyr::collect()
DBI::dbDisconnect(con)
} # }