Bill Rice
  • About
  • Writing

Writing


Notes on hydrologic data analysis, modeling, and tooling
  • Piper Diagrams in Modern R and Python

    Rebuilding a 2019 figure after its dependencies were retired

    Posted on September 16, 2026

    In 2019 I wrote up how to build a Piper diagram in R. That post still stands, but the code in it no longer runs. Two of its dependencies have since been removed from CRAN: [Read More]
    Tags:
    • R
    • Python
    • geochemistry
    • reproducibility
  • Piper Diagrams in R

    Plotting major ion chemistry alongside watershed maps

    Posted on July 23, 2019

    2026 update. The code below no longer runs. rgdal was retired from CRAN in October 2023 along with readOGR, and hydrogeo, which supplied toPercent, has also been removed. The map here was drawn with theme_void(), so it carries no coordinates, north arrow or scale bar.... [Read More]
    Tags:
    • R
    • geochemistry
    • GIS
  • Calculating Water Year and Moving Mean

    Estimating annual precipitation and moving averages in R

    Posted on June 6, 2019

    [Read More]
    Tags:
    • R
    • hydrology
    • precipitation
  • RSS
  • GitHub
  • LinkedIn

Bill Rice  •  2026

Powered by Beautiful Jekyll