-
Notifications
You must be signed in to change notification settings - Fork 87
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #710 from ldecicco-USGS/main
Small documentation updates
- Loading branch information
Showing
9 changed files
with
92 additions
and
106 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -45,7 +45,7 @@ If you have additional questions about these changes, email [email protected]. | |
|
||
4. Discover USGS data (not including discrete water quality data). Start here: `?whatNWISdata` | ||
|
||
6. Discover discrete water quality data. Start here: `?readWQPsummary` | ||
6. Find Hydro Network-Linked Data Index (NLDI) data. Start here: `?get_nldi` | ||
|
||
For additional tutorials, see: | ||
|
||
|
@@ -56,47 +56,6 @@ For additional tutorials, see: | |
[dataRetrieval Introduction 2](https://rconnect.usgs.gov/NMC_dataRetrieval_2) | ||
|
||
|
||
# Sample Workflow | ||
|
||
## USGS | ||
|
||
```{r workUSGS, eval=FALSE} | ||
library(dataRetrieval) | ||
# Choptank River near Greensboro, MD | ||
siteNumber <- "01491000" | ||
ChoptankInfo <- readNWISsite(siteNumber) | ||
parameterCd <- "00060" | ||
# Raw daily data: | ||
rawDailyData <- readNWISdv( | ||
siteNumber, parameterCd, | ||
"1980-01-01", "2010-01-01" | ||
) | ||
pCode <- readNWISpCode(parameterCd) | ||
``` | ||
|
||
## Water Quality Portal | ||
|
||
```{r WQP, eval=FALSE} | ||
specificCond <- readWQPqw( | ||
siteNumbers = "WIDNR_WQX-10032762", | ||
parameterCd = "Specific conductance", | ||
startDate = "2011-05-01", | ||
endDate = "2011-09-30" | ||
) | ||
``` | ||
|
||
## Network Linked Data Index | ||
|
||
```{r NLDI, eval=FALSE} | ||
features <- findNLDI( | ||
nwis = "01491000", | ||
nav = "UT", | ||
find = c("basin", "wqp") | ||
) | ||
``` | ||
|
||
# Installation of dataRetrieval | ||
|
||
To install the `dataRetrieval` package, you must be using R 3.0 or greater and run the following command: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.