get_data
returns a tibble from a Hydroscope's
time-series text file.
Usage
get_data(subdomain = c("kyy", "ypaat", "emy", "deh"), time_id)
Value
If subdomain
is one of:
kyy
, Ministry of Environment and Energyypaat
, Ministry of Rural Development and Fooddeh
, Greek Public Power Corporationemy
, National Meteorological Service
and time_id
exists in that subdomain
, returns a tibble with
the time series values. Otherwise returns an error message.
The dataframe columns are:
- date
The time series Dates (POSIXct)
- value
The time series values (numeric)
- comment
Comments about the values (character)
Note
Data are not available freely in the sub-domains: "deh"
(Greek Public Power Corporation) and
"emy"
(National Meteorological Service).
References
Stations' data are retrieved from the Hydroscope's databases:
Ministry of Environment, Energy and Climate Change.
Ministry of Rural Development and Food.
Author
Konstantinos Vantas, kon.vantas@gmail.com