Skip to content

Commit b21824a

Browse files
committed
add Jenny's article
1 parent 7ef925c commit b21824a

2 files changed

Lines changed: 15 additions & 10 deletions

File tree

R/readNWISDaily.r

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,13 @@ readNWISDaily <- function (siteNumber,
6464
"value",
6565
"qualifier")]
6666
names(localDaily) <- c('site', 'dateTime', 'value', 'code')
67-
localDaily$agency <- "USGS"
67+
if(nrow(localDaily) != 0){
68+
localDaily$agency <- "USGS"
69+
} else {
70+
localDaily$agency <- character(0)
71+
72+
}
73+
6874
localDaily <- populateDaily(localDaily,
6975
qConvert,
7076
verbose = verbose)

vignettes/References_WRTDS.Rmd

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,7 @@ Hirsch, Robert M, Stacey A Archfield, and Laura A De Cicco. 2015. “A
4141
Bootstrap Method for Estimating Uncertainty of Water Quality Trends.”
4242
*Environmental Modelling & Software* 73: 148–66.
4343

44-
Hirsch, Robert M, and Laura A De Cicco. 2015. “User Guide to Exploration
45-
and Graphics for RivEr Trends (EGRET) and
46-
<span class="nocase">dataRetrieval</span>: R Packages for Hydrologic
47-
Data.” 2328-7055. US Geological Survey.
44+
Hirsch, R.M., and De Cicco, L.A., 2015, User guide to Exploration and Graphics for RivEr Trends (EGRET) and dataRetrieval: R packages for hydrologic data (version 2.0, February 2015): U.S. Geological Survey Techniques and Methods book 4, chap. A10, p. 93 , <https://dx.doi.org/10.3133/tm4A10>.
4845

4946
Hirsch, Robert M., Douglas L. Moyer, and Stacey A. Archfield. 2010.
5047
“Weighted Regressions on Time, Discharge, and Season (WRTDS), with an
@@ -196,16 +193,18 @@ and Richard A Cooke. 2013. “Sensitivity Analysis of Annual Nitrate Loads
196193
and the Corresponding Trends in the Lower Illinois River.” *Journal of
197194
Hydrologic Engineering* 19 (3): 533–43.
198195

196+
Murphy, Jennifer C, and Jeffrey Chanat. 2023. “Leveraging Machine Learning
197+
to Automate Regression Model Evaluations for Large Multi-Site
198+
Water-Quality Trend Studies.” *Environmental Modelling & Software* 170:
199+
105864.
200+
201+
Murphy, Jennifer C, Lindsey Schafer, and Scott Mize. 2025. “Tracking persistent declines in suspended sediment in the Lower Mississippi and Atchafalaya Rivers, 1992-2021: Harnessing WRTDSplus to characterize longitudinally varying trends and explore connections to streamflow.” *Journal of Hydrology* 662 Part A: 133885 <https://doi.org/10.1016/j.jhydrol.2025.133885>.
202+
199203
Murphy, Jennifer C, Robert M Hirsch, and Lori A Sprague. 2014.
200204
“Antecedent Flow Conditions and Nitrate Concentrations in the
201205
Mississippi River Basin.” *Hydrology and Earth System Sciences* 18 (3):
202206
967–79.
203207

204-
Murphy, Jennifer, and Jeffrey Chanat. 2023. “Leveraging Machine Learning
205-
to Automate Regression Model Evaluations for Large Multi-Site
206-
Water-Quality Trend Studies.” *Environmental Modelling & Software* 170:
207-
105864.
208-
209208
Murphy, J, L Schafer, and Scott Mize. 2023. “Differing Field Methods and
210209
Site Conditions Lead to Varying Bias in Suspended Sediment
211210
Concentrations in the Lower Mississippi and Atchafalaya Rivers.”

0 commit comments

Comments
 (0)