Learn R Programming


title: "Readme" author: "Ezequiel Toum" date: "7/5/2020" output: html_document

hydroToolkit

Overview

hydroToolkit is an object oriented programming tool (S4 type) that provides objects to store hydro-meteorological data-sets as if they where meteorological stations; it also has methods to read and build the objects, plot (static and interactive graphs) their series and manipulate them. This package was design to cope with data from Argentina and Chile: Base de Datos Hidrológica Integrada (BDHI - Argentina), Instituto Argentino de Nivología, Glaciología y Ciencias Ambientales (IANIGLA - Argentina), Departamento General de Irrigación (DGI - Argentina) and Centro de Ciencia del Clima y la Resiliencia (CR2 - Chile). As it was design under the OOP paradigm, the package functionality could be extended to incorporate new data-sets.

Installation

Dependencies

You can download it from CRAN repository as usual:

install.packages("hydroToolkit")

Copy Link

Version

Install

install.packages('hydroToolkit')

Monthly Downloads

178

Version

0.1.0

License

GPL (>= 3)

Maintainer

Ezequiel Toum

Last Published

May 16th, 2020

Functions in hydroToolkit (0.1.0)

Qmm_to_Dm

River discharge [m3/s] to volume [hm3]
hydroMet_BDHI-class

hydroMet subclass for BDHI (Base de Datos Hidrologica Integrada) data
get_hydroMet

Get the slot(s) content(s)
create_hydroMet

Creates an hydroMet class or subclass.
fill_value

Fill a time interval in a data frame with a specific numeric value
hydroMet-class

hydroMet superclass object
agg_serie

Aggregates a data frame to a larger time period
agg_hydroMet

Aggregate slot data
fill_serie

Find non-reported dates and fill them with NA_real_
hydroMet_CR2-class

hydroMet subclass for CR2 (Explorador Clim<U+00E1>tico) data
hydroMet_IANIGLA-class

hydroMet subclass for IANIGLA (Instituto Argentino de Nivolog<U+00ED>a, Glaciolog<U+00ED>a y Ciencias Ambientales) data
hydroMet_compact-class

hydroMet subclass for compact data
interpolate

Interpolation
read_IANIGLA

Reads data provided by IANIGLA
hydro_year_DGI

Hydrological year classification
report_hydroMet

Object summaries
rm_spikes

Remove spikes
report_miss_data

Report NA_real_ values
precip_hydroMet

Make homogeneity test or fill gaps in a series
swe_to_precip

Snow water equivalent to snowfall
movAvg

Moving average windows
set_hydroMet

Set the data of an hydroMet object or its subclasses
modify_hydroMet

Modify data inside a specific slot
hydroMet_DGI-class

hydroMet subclass for DGI (Departamento General de Irrigaci<U+00F3>n) data
read_BDHI

Reads data from Base de Datos Hidrol<U+00F3>gica Integrada (BDHI) - Argentina
set_threshold

Set a threshold
subset_hydroMet

Subset your data
read_CR2

Reads data from Explorador Clim<U+00E1>tico de Chile
precip_cumsum

Cumulative sum of precipitation series
build_hydroMet

Automatically load native data files
plot_hydroMet

Methods to easily use ggplot2 or plotly (interactive)
read_DGI

Reads data from Departamento General de Irrigaci<U+00F3>n (Mendoza - Argentina)
swe_to_melt

Snow water equivalent to melt