Animated River Flow Revisited

October 12, 2018

(This article was first published on AdventuresInData, and kindly contributed to R-bloggers)

My prior post on animated flow in the Delaware River contained the last work I performed on my previous lap top just before it gave up the ghost.  When a colleague asked me to share it, I was distressed to realize that the script was lost.  I decided to recreate the script from scratch and to fix one the limitations of the older version by making it easily transportable to other river systems.  Specifically, all the USGS gage numbers, drainage areas, and river miles are contained in a .csv file.  To apply the new script to the different river, I just need to populate the .csv with local information.  I’m glad I did that, since there were several high flow events at other rivers that I wanted to inspect using this script.

Above is the Neuse River after Hurricane Florence.  I also applied this to the Susquehanna River and the Schuylkill River.

To leave a comment for the author, please follow the link and comment on their blog: AdventuresInData. offers daily e-mail updates about R news and tutorials on topics such as: Data science, Big Data, R jobs, visualization (ggplot2, Boxplots, maps, animation), programming (RStudio, Sweave, LaTeX, SQL, Eclipse, git, hadoop, Web Scraping) statistics (regression, PCA, time series, trading) and more...

If you got this far, why not subscribe for updates from the site? Choose your flavor: e-mail, twitter, RSS, or facebook...

Comments are closed.

Search R-bloggers


Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)