# list mnemos files
list.files( system.file('extdata', package = 'hydrotoolbox'), pattern = 'mnemos' )
# set path
path <- system.file('extdata', 'mnemos_guido.xlsx', package = 'hydrotoolbox')
# we can see which variables are inside the sheet's file
read_mnemos(path = path, get_sheet = TRUE)
# now we want to read the maximum temperature
tmax_guido <- read_mnemos(path = path, by = 'day',
out_name = 'tmax(ºC)', sheet = '11413-016')
Run the code above in your browser using DataLab