Learn R Programming

rechaRge

The results of the survey used to assess the community expectations regarding this package are presented here: https://github.com/gwrecharge/rechaRge-book/blob/main/community_survey/survey_main_results.md

Installation

Using remotes

remotes::install_github("gwrecharge/rechaRge", ref = "main")

OR using pak

pak::pkg_install("gwrecharge/rechaRge@main")

Documentation

In addition with the online rechaRge package documentation, a book is also available with detailed explanations and examples, see rechaRge: the HydroBudget model.

Example

See hydrobudget-example-simulation.R and hydrobudget-example-calibration.R.

Publication

Original material from the publication HydroBudget – Groundwater recharge model in R https://doi.org/10.5683/SP3/EUDV3H.

Copy Link

Version

Install

install.packages('rechaRge')

Monthly Downloads

207

Version

1.0.0

License

CC BY 4.0

Issues

Pull Requests

Stars

Forks

Maintainer

Yannick Marcon

Last Published

May 14th, 2024

Functions in rechaRge (1.0.0)

KGE

KGE computation
compute_water_budget_cell

Compute the water budget for a single cell
compute_vertical_inflow

Determine if precipitation is rain or snow and simulate the snowpack (accumulation and melt) to compute the vertical inflow (vi), the liquid water available per day (rainfall + melt water).
process_river_flow

River flow processing
new_hydrobudget

HydroBudget object
.as.data.table

Make a data.table from input: coerce it or read it (if it is a file path) and ensure column names
compute_water_budget

Compute the water budget
with_progress

Progress option
with_verbose

Verbose option
write_recharge_results

Write result as data files
write_recharge_rasters

Write result as raster files
evaluate_simulation_quality

Evaluate the quality of the simulation result
compute_potential_evapotranspiration_cell

Compute PET based on the Oudin formula
compute_recharge

Simulation using a recharge model
compute_vertical_inflow_cell

Compute the vertical inflow and the potential evapotranspiration (PET) for a single cell
.is.verbose

Make a data.table from input: coerce it or read it (if it is a file path) and ensure column names