Small PR to make a syntax fix to the vignette associated with dataRetrieval.Rmd.
The cell “getSiteExtended” is currently written as:
# Continuing from the previous example:
# This pulls out just the daily, mean data:
dailyDataAvailable <- whatNWISdata(siteNumbers,
service="dv", statCd="00003")
And produces the following error:
Error: All components of query must be named
Instead, the siteNumber keyword parameter should be supplied to the function call:
# Continuing from the previous example:
# This pulls out just the daily, mean data:
dailyDataAvailable <- whatNWISdata(siteNumber=siteNumbers,
service="dv", statCd="00003")
This fixes the problem and is the only proposed change in this PR.
Small PR to make a syntax fix to the vignette associated with
dataRetrieval.Rmd
.The cell “getSiteExtended” is currently written as:
And produces the following error:
Instead, the
siteNumber
keyword parameter should be supplied to the function call:This fixes the problem and is the only proposed change in this PR.