read_IANIGLA {hydroToolkit} | R Documentation |
Reads data provided by IANIGLA
Description
Reads the data provided by IANIGLA (Instituto Argentino de Nivologia, Glaciologia y Ciencias Ambientales).
Usage
read_IANIGLA(file, all = FALSE, path = NULL)
Arguments
file |
string with the name of the '.csv' file downloaded from the meteo-stations web page. |
all |
logical value indicating whether the returned data frame contain all the original columns or just the date and data. |
path |
string with the files directory. If not provided, the function will use the current working directory. |
Value
A data frame containing the hourly data measured by the automatic weather stations. Gaps between dates are filled with NA_real_ and duplicated rows are eliminated automatically.
Note
In this package version we only provide functionality for a specific data-set generated in the institute.
Examples
# Relative path to raw data
full_path <- system.file('extdata', package = "hydroToolkit")
# Apply function
cuevas <- read_IANIGLA(file = 'Cuevas.csv', path = full_path)
[Package hydroToolkit version 0.1.0 Index]