powered by
get_data returns a tibble from a Hydroscope's time-series text file.
get_data
get_data(subdomain = c("kyy", "ypaat", "emy", "deh"), time_id)
One of the subdomains of hydroscope.gr
A time series ID
If subdomain is one of:
subdomain
kyy, Ministry of Environment and Energy
kyy
ypaat, Ministry of Rural Development and Food
ypaat
deh, Greek Public Power Corporation
deh
emy, National Meteorological Service
emy
and time_id exists in that subdomain, returns a tibble with the time series values. Otherwise returns an error message.
time_id
The dataframe columns are:
The time series Dates (POSIXct)
The time series values (numeric)
Comments about the values (character)
Stations' data are retrieved from the Hydroscope's databases:
Ministry of Environment, Energy and Climate Change.
Ministry of Rural Development and Food.
# NOT RUN { # get time series 912 from the Greek Ministry of Environment and Energy time_series <- get_data("kyy", 912) # } # NOT RUN { # }
Run the code above in your browser using DataLab