Publications by AdventuresInData
Monte Carlo Analysis of Manning’s Equation: A Shiny App
Monte Carlo analysis is a great way to explore the impact of input variable uncertainty on the results of engineering equations, and with vector variables and distribution and sampling functions at its core, R is a natural platform for this analysis. During a recent rainy vacation, I built a Shiny app that applies Monte Carlo analysis...
1587 sym 2 img
Effluent Nutrient Concentrations by Waste Water Treatment Type: A Shiny App
In 2014, EPA documented the relative lack of nutrient data from waste water treatment plant effluents, even though development of surface water quality standards for nitrogen and phosphorus has been a stated priority for more than a decade. A new shiny app lets users explore effluent nutrient concentrations from an existing data set by waste w...
1211 sym 2 img
A Shiny App for estimating Multiplier Exponent Curves from Manning’s Equation Inputs
WASP and other flow and water quality models ask users to input multiplier and exponent values relating velocity and depth to discharge. These relationships take the form of V=aQ^b and depth=cQ^d, where the values a, b, c, and d describe the curve that approximates paired points from other sources. When paired field measurements are lacking, Mann...
1257 sym 2 img
Solar PVC Growth from One Time Investment: A Monte Carlo Analysis Shiny App
Imagine you bought solar PVC arrays today, sold the power generated to your local utility, and used the proceeds to add new solar arrays each year. What generating capacity would you expect in 100 years? What would be the impact of uncertainties in inflation and power generation? I’ve been obsessed with this idea for a while. ...
1828 sym 2 img
Delaware River Water Quality Visualization App
The Delaware River Basin Commission (DRBC) just released a new app for visualizing water quality in the Delaware River Basin. The DRBC Special Protection Waters Monitoring Program Explorer is a Shiny app that allows users to generate a boxplot and summary table of selected water quality data. The boxplot and summary table are update...
1562 sym 2 img
Superstorm Sandy at Barnegat Bay Revisted
Animations of continuous data in GIF format offer some portability advantages over video files. A few years ago, shortly after Superstorm Sandy, a colleague and I developed a video of animated water surface elevations from USGS gages in Barnegat Bay, NJ as the eye of the storm approached. That version used video screen capture and...
1484 sym 2 img
Superstorm Sandy at the Delaware Estuary Revisited
Continuing on the theme of updating older visualizations into newer formats, below is a clip of the impact of Superstorm Sandy on Delaware Estuary water surface elevations. The original MS Excel and screen capture version is posted here. The new version developed in R with the animation package is cleaner and more portable.The gr...
1600 sym 2 img
Playing with the US Population
Here’s an app that illustrates how fertility and death rates impact the US age structure diagram over time. The app uses a simple population model to forecast the US age structure in 100 years, starting from 2010 census data and user-selected fertility and death rates.You can find and play with the app at https://johnyagecic.shin...
812 sym 2 img
Hurricane Irene at the Delaware Estuary Revisited
Back in August 2011, Hurricane Irene struck the mid-Atlantic coast. This animated graph shows how the storm surge from Irene and the terrestrial flooding from Irene and Tropical Storm Lee (a few days later) impacted water surface elevations in the Delaware Estuary.This post is the third in a series revisiting older data visualizatio...
1496 sym 2 img
50 years of Delaware Estuary Dissolved Oxygen
The Delaware River Basin Commission’s Delaware Estuary water quality monitoring program, which was initiated in 1967, is one of the longest running monitoring programs in the world. One advantage of such a long data set is that we can see the changes to water quality over time.Since 1967, summer dissolved oxygen levels have steadi...
1114 sym 2 img