Skip to contents

A function to extract the slot gauging_stations_missing from an object of class WaterLevelDataFrame.

Usage

getGaugingStationsMissing(x)

# S4 method for class 'WaterLevelDataFrame'
getGaugingStationsMissing(x)

Arguments

x

an object of class WaterLevelDataFrame.

Value

The function above extracts the slot gauging_stations_missing and returns an object of class character, which might contain a vector with gauging stations without gauging data for the specified date.

Examples

wldf <- WaterLevelDataFrame(river   = "Elbe",
                            time    = as.POSIXct("1991-12-16"),
                            station = seq(500, 501, 0.1))
wldf <- waterLevel(wldf)
getGaugingStationsMissing(wldf)
#> [1] "up: GORLEBEN"      "up: LENZEN"        "up: SCHNACKENBURG"
#> [4] "up: MUEGGENDORF"   "do: DOEMITZ"