read_IANIGLA: Reads data provided by IANIGLA

Description Usage Arguments Value Note Examples

View source: R/read_IANIGLA.R

Description

Reads the data provided by IANIGLA (Instituto Argentino de Nivologia, Glaciologia y Ciencias Ambientales).

Usage

1

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

1
2
3
4
5
# Relative path to raw data
full_path <- system.file('extdata', package = "hydroToolkit")

# Apply function
cuevas <- read_IANIGLA(file = 'Cuevas.csv', path = full_path)             

hydroToolkit documentation built on July 2, 2020, 1:04 a.m.