# NOT RUN {
# Path to file
dgi_path <- system.file('extdata', package = "hydroToolkit")
toscas <- read_DGI(file = 'Toscas.xlsx', sheet = 'tmean', path = dgi_path)
# Monthly mean temperature
m_toscas <- agg_serie(df = toscas, fun = 'mean', period = 'monthly', out_name = 'T_month')
# }
Run the code above in your browser using DataLab