provide_rain_data_for_bathing_spot: Provide Rain Data for one Bathing Spot

Description Usage Arguments Value Examples

View source: R/provide_rain_data_for_bathing_spot.R

Description

Consider to use provide_rain_data. For a description see there.

Usage

1
2
3
4
5
6
provide_rain_data_for_bathing_spot(
  user_id,
  spot_id,
  sampling_time = "1050",
  date_range = NULL
)

Arguments

user_id

user id

spot_id

bathing spot id

sampling_time

expected sampling time. Will be used to select the corresponding Radolan files.

date_range

vector of two Date objects giving the first and last day of rain data to be loaded. If NULL (the default) the range of dates is determined from the range of dates for which water quality measurements are available.

Value

list with elements data, success, message. The data element contains a vector of IDs identifying the records in the rain data table associated with the bathing spot given by user_id and spot_id

Examples

1
2
3
4
## Not run: 
provide_rain_data_for_bathing_spot(user_id = 5, spot_id = 41)

## End(Not run)

KWB-R/fhpredict documentation built on Nov. 1, 2020, 5:58 a.m.