View source: R/Data_functions.R
get_data_station_MECC | R Documentation |
Function to extract data from file.
get_data_station_MECC(station_id, var_name = "kl", date_bounds = NA)
station_id |
DWD station number (can be obtained with 'rdwd::findID("StationName")') |
var_name |
character with the name of the variable, corresponding to the default names from DWD (e.g. kl, more_precip, solar) |
date_bounds |
vector with two dates in the format ('yyyy-mm-dd'), indicating beggining and end of study period. |
To avoid errors and NA values in the SPEI and drought computation, preferably keep 'date_bounds = NA'
list with three elements (1) data series; (2) data frame with info about station, (3) vector with 'NA' count.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.