Consider to use provide_rain_data. For a description see there.

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

if (FALSE) { provide_rain_data_for_bathing_spot(user_id = 5, spot_id = 41) }