A Case Study in Reproducible Model Building

August 3, 2016

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


The U.S. Geological Survey (USGS) recently published a report describing a groundwater-flow model of the Wood River Valley (WRV) aquifer system.
What makes this report unique (at least in my opinion) was the authors’ desire to make their work as reproducible as possible under budgetary constraints.
The collection of raw data, source code, and processing instructions used to build and analyze the model was placed in an non-general-use R package named wrv.
The package repository can be found on GitHub.
Commands for installing the package are as follows:

repos <- c("http://owi.usgs.gov/R", getOption("repos"))
install.packages("wrv", repos = repos, dependencies = TRUE, type = "both")  # about 100 MB, so be patient

While many of the functions are intended for non-general use, there are a few functions that the larger R community might find of interest.
For example, the PlotMap, PlotGraph, and PlotCrossSection functions have been designed for general use.
Report documentation was included in the wrv package as vignettes; these files are also available from the
USGS Publications Warehouse.
For a general overview of the project, I’ll recommend my
useR! 2016 talk:

Any comments or suggestions regarding our approach to reproducible model building can be left below.
Please realize that your opinions go a long way in determining whether this type of approach will be used in future projects.

To leave a comment for the author, please follow the link and comment on their blog: jfisher-usgs.

R-bloggers.com 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)