getBuoyData: Retrieve Buoy-data from the LifeWatch project

View source: R/lwdataFunctions.R

getBuoyDataR Documentation

Retrieve Buoy-data from the LifeWatch project

Description

Retrieves the aggregated buoy data from the LifeWatch project.

Usage

getBuoyData(startdate, stopdate, stations, params = FALSE, ...)

Arguments

startdate

Starting date for the query

stopdate

Stopping date for the query

stations

list of stations to be included in the query, currently list c("Buoy at C-Power","Spuikom Sluice","Buoy in Spuikom", "Ostend Research Tower"). Use stations = "All" to get all stations .

params

If TRUE, returns a list with the dataset and the query parameters applied in the server side. IF FALSE returns only the data.

...

Reserved for internal use.

Value

Dataframe with the buoy-data within the specified daterange and location.

Examples

getBuoyData("2021-03-19", "2021-04-21", "All")
getBuoyData("2021-03-19", "2021-04-21", "Buoy at C-Power", TRUE)
getBuoyData("2021-03-19", "2021-04-21", c("Spuikom Sluice", "Buoy in Spuikom",
"Ostend Research Tower"), TRUE)

lifewatch/lwdataexplorer documentation built on Aug. 24, 2024, 12:35 a.m.