getCTDData: Retrieve CTD data from the LifeWatch project

View source: R/CTD.R

getCTDDataR Documentation

Retrieve CTD data from the LifeWatch project

Description

Retrieve CTD data from the LifeWatch project

Usage

getCTDData(startdate, stopdate, stations = "All", by, params = FALSE, ...)

Arguments

startdate

Starting date for the query in UTC. Must be a character date of the form "YYYY-MM-DD".

stopdate

Stopping date for the query in UTC. Must be a character date of the form "YYYY-MM-DD".

stations

List of stations to be included in the query. Use stations = "All" to get all stations. See stations list in details section.

by

Aggregation criteria. One of c("Per meter", "Per cast")

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.

Details

List of stations: c("120", "130", "230", "215", "330", "421", "435", "710", "700", "780", "ZG02", "W09", "W08", "LW01", "W10", "LW02", "W07bis")

Value

Dataframe with the CTD data within the specified daterange and location.

Examples

getCTDData("2023-01-15", "2023-02-15", stations = c("120", "W09"), by = "Per meter")
getCTDData("2023-01-15", "2023-02-15", stations = "All", by = "Per cast", params = TRUE)

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