Package: r2q 0.1.1

Malte Zamzow

r2q: Connectable Separate Sewer System to Small Surface Waters - An Immission Based Assessment

The R package is used to define a tolerable pollutant input into small surface waters via rainwater runoff. It assigns a maximal connectable urban area to the surface water. For planning areas, different scenarios regarding the connection of surfaces to the separate sewer system and runoff water treatment can be calculated.

Authors:Malte Zamzow [aut, cre], Wolfgang Seis [aut], Andreas Matzinger [aut], Hauke Sonnenberg [ctb], Michael Rustler [ctb, rev], R2Q [fnd], Kompetenzzentrum Wasser Berlin gGmbH [cph]

r2q_0.1.1.tar.gz
r2q_0.1.1.zip(r-4.5)r2q_0.1.1.zip(r-4.4)r2q_0.1.1.zip(r-4.3)
r2q_0.1.1.tgz(r-4.4-any)r2q_0.1.1.tgz(r-4.3-any)
r2q_0.1.1.tar.gz(r-4.5-noble)r2q_0.1.1.tar.gz(r-4.4-noble)
r2q_0.1.1.tgz(r-4.4-emscripten)r2q_0.1.1.tgz(r-4.3-emscripten)
r2q.pdf |r2q.html
r2q/json (API)
NEWS

# Install 'r2q' in R:
install.packages('r2q', repos = c('https://kwb-r.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/kwb-r/r2q/issues

Datasets:
  • r2q_pal - Color palette for R2Q Plots

On CRAN:

project-r2q

4.00 score 2 scripts 45 exports 56 dependencies

Last updated 1 years agofrom:e7650dee3e. Checks:OK: 3 NOTE: 4. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 15 2024
R-4.5-winNOTENov 15 2024
R-4.5-linuxNOTENov 15 2024
R-4.4-winNOTENov 15 2024
R-4.4-macNOTENov 15 2024
R-4.3-winOKNov 15 2024
R-4.3-macOKNov 15 2024

Exports:%>%area_from_loadassess_all_hazardscalculate_tolerable_dischargecheck_all_substancescheck_pollutant_impactcombine_concentration_tablesget_allowed_areaget_default_backgroundget_functionsIDget_HQ_time_intervalget_Hq1_pnatget_KOSTRAget_landuse_runoffget_planningLoadget_q_maxget_rainget_siteInfoIDget_spec_runoffget_stormwaterRunoffget_subIDget_thresholdsget_xhydrology_assessmentimmission_assessmentInput_eventlin_interpolationload_background_dataload_landuseload_planning_detailsload_site_datamassUnit_tranformationmaxArea_eventmaxArea_yearmaxInput_yearmerge_by_pollutantmixed_reactor_Cplanning_area_dischargeplot_connectable_urban_areaplot_hazardsrun_scenariorun_status_quosub_id_to_namesub_OgRe_to_namesubstr_reverse

Dependencies:cellrangerclassclassIntclicolorspacecpp11crayonDBIdplyre1071fansifarvergenericsggplot2gluegtablehmsisobandKernSmoothlabelinglatticelifecyclemagrittrMASSMatrixmgcvmunsellnlmeopenxlsxpillarpkgconfigprettyunitsprogressproxypurrrR6RColorBrewerRcppreadxlrematchrlangs2scalessfstringistringrtibbletidyrtidyselectunitsutf8vctrsviridisLitewithrwkzip

Bewertung Regenwassereinleitung

Rendered fromdocumention.Rmdusingknitr::rmarkdownon Nov 15 2024.

Last update: 2021-02-18
Started: 2021-02-18

Interactive Dashboard

Rendered fromdashboard.Rmdusingknitr::rmarkdownon Nov 15 2024.

Last update: 2021-02-18
Started: 2021-02-18

KOSTRA

Rendered fromkostra.Rmdusingknitr::rmarkdownon Nov 15 2024.

Last update: 2022-11-03
Started: 2021-02-18

Natural Discharge

Rendered fromnatural_discharge.Rmdusingknitr::rmarkdownon Nov 15 2024.

Last update: 2022-11-03
Started: 2022-11-03

Testplots

Rendered fromtestplots.Rmdusingknitr::rmarkdownon Nov 15 2024.

Last update: 2022-11-03
Started: 2021-02-18

Readme and manuals

Help Manual

Help pageTopics
Calculate pollutant input from runoff area area within a rain eventarea_from_load
Runs function 'immission_assessment()' for all substances that might pose a risk and returns the results in three tablesassess_all_hazards
Calculate tolerable dischargecalculate_tolerable_discharge
Check if substances pose a risk to the surface watercheck_all_substances
Check Pollutant Impactcheck_pollutant_impact
Combine the three R2Q concentration tables (treshold values, background and stromwater)combine_concentration_tables
Get allowed impervious areaget_allowed_area
get background concentrations for SUW before rain eventsget_default_background
Loads the table with function IDsget_functionsID
get_HQ_time_inttervalget_HQ_time_interval
Calculate natural runoff based on slope of landscapeget_Hq1_pnat
Get KOSTRA rain characteristicsget_KOSTRA
Loads landuse specific pollutant runoff concentration obtained by the OgRe Datasetget_landuse_runoff
Load of one parameter from one specific surfaceget_planningLoad
Calculates tolerable hydraulic burden based on natural runoff estimationget_q_max
get_rainget_rain
Load the table with site data variable IDsget_siteInfoID
This function loads the landuse specific pollutant runoff concentration obtained by the OgRe Dataset and multiplies it with the proportion of the correspoding area type in the catchment.get_spec_runoff
Load landuse specific pollutant runoff concentrationget_stormwaterRunoff
Load the table with substance IDsget_subID
get substance thresholds for SUW during rain eventsget_thresholds
Calculate acceptable additional runoff factor xget_x
Maximal connectable impervious area based on hydrologic conditionshydrology_assessment
Automated immission assessmentimmission_assessment
Calculate pollutant input from runoff area area within a rain eventInput_event
lin_interpolationlin_interpolation
Loading local background concentrationload_background_data
Loading all details about catchment area typesload_landuse
Loads Excel sheet "planning_area_details"load_planning_details
Loading site specific informationload_site_data
Transforms the mass units ng, ug, mg and gmassUnit_tranformation
Calculate connectable area to a river based on pollutant input within a heavy rain eventmaxArea_event
Calculate connectable area in a river catchment based on a yearly regulated SubstancemaxArea_year
Calculate maximal yearly pollutant inputmaxInput_year
How to merge two R2Q concentration tablesmerge_by_pollutant
Calculate the dynamic concentration in a river stretchmixed_reactor_C
Calculates the pollutants load from the planning area into the surface waterplanning_area_discharge
Plot of connectable areaplot_connectable_urban_area
Plots the output of function 'check_all_substances()'plot_hazards
Color palette for R2Q Plotsr2q_pal
Run immission-based toolrun_scenario
Run immission-based toolrun_status_quo
Substance IDs within the package data tables are turned to substance namessub_id_to_name
OgRe substance names are turned to substance names used in the tablessub_OgRe_to_name
Start counting from the string end to get a substringsubstr_reverse