Skip to content
Snippets Groups Projects
Commit ad1a1927 authored by Laura A DeCicco's avatar Laura A DeCicco
Browse files

Fixed a spelling mistake.

parent 378f8dda
No related branches found
No related tags found
1 merge request!34Fixed User sample function.
......@@ -364,14 +364,9 @@ endDate <- "2013-01-01"
Daily <- getNWISDaily(siteNumber, "00060", startDate, endDate)
Sample <- getNWISSample(siteNumber,parameterCd, startDate, endDate)
Sample <- mergeReport()
Sample <- mergeReport(Daily,Sample)
names(Sample)
## ----egretEx, echo=TRUE, eval=TRUE, fig.cap="Default \\texttt{multiPlotDataOverview}"----
# Continuing Choptank example from the previous sections
library(EGRET)
multiPlotDataOverview()
## ----helpFunc,eval = FALSE--------------------------------
# ?removeDuplicates
......
......@@ -2,7 +2,7 @@
%\VignetteEngine{knitr::knitr}
%\VignetteDepends{}
%\VignetteSuggests{xtable,EGRET}
%\VignetteImports{zoo, XML, RCurl}
%\VignetteImports{zoo, XML, RCurl, reshape2,lubridate}
%\VignettePackage{dataRetrieval}
\documentclass[a4paper,11pt]{article}
......@@ -492,7 +492,7 @@ Note that time now becomes important, so the variable datetime is a POSIXct, and
\subsection{Water Quality Values}
\label{sec:usgsWQP}
%------------------------------------------------------------
To get USGS water quality data from water samples collected at the streamgage or other monitoring site (as distinct from unit values collected through some type of automatic monitor) we can use the function \texttt{getNWISqwData}, with the input arguments: siteNumber, parameterCd, startDate, endDate, and interactive (similar to \texttt{getNWISunitData} and \texttt{getNWISdvData}). Additionally, the argument \texttt{"}expanded\texttt{"} is a logical input that allows the user to choose between a simple return of datetimes/qualifier/values (expanded=FALSE), or a more complete and verbose output (expanded=TRUE). Expaned = TRUE includes such columns as remark codes, value qualifying text, and detection level.
To get USGS water quality data from water samples collected at the streamgage or other monitoring site (as distinct from unit values collected through some type of automatic monitor) we can use the function \texttt{getNWISqwData}, with the input arguments: siteNumber, parameterCd, startDate, endDate, and interactive (similar to \texttt{getNWISunitData} and \texttt{getNWISdvData}). Additionally, the argument \texttt{"}expanded\texttt{"} is a logical input that allows the user to choose between a simple return of datetimes/qualifier/values (expanded=FALSE), or a more complete and verbose output (expanded=TRUE). Expanded = TRUE includes such columns as remark codes, value qualifying text, and detection level.
<<label=getQW, echo=TRUE>>=
......@@ -687,7 +687,7 @@ The \texttt{getNWISInfo}, \texttt{getWQPInfo}, and \texttt{getUserInfo} function
\multicolumn{1}{c}{\textbf{\textsf{Type}}} &
\multicolumn{1}{c}{\textbf{\textsf{Description}}} \\ [0pt]
\hline
constitAbbrev & string & Constituent abbrieviation, used for saving the workspace in EGRET\\
constitAbbrev & string & Constituent abbreviation, used for saving the workspace in EGRET\\
[5pt] drainSqKm & numeric & Drainage area in square kilometers \\
[5pt] paramShortName & string & Parameter name to use on graphs \\
[5pt] param.units & string & Parameter units \\
......@@ -1004,25 +1004,25 @@ endDate <- "2013-01-01"
Daily <- getNWISDaily(siteNumber, "00060", startDate, endDate)
Sample <- getNWISSample(siteNumber,parameterCd, startDate, endDate)
Sample <- mergeReport()
Sample <- mergeReport(Daily,Sample)
names(Sample)
@
\FloatBarrier
%------------------------------------------------------------
\subsection{EGRET Plots}
%------------------------------------------------------------
The Daily, Sample, and INFO dataframes (described in Secs. \ref{INFOsubsection} - \ref{Samplesubsection}) are specifically formatted to be used with the EGRET package. The EGRET package has powerful modeling capabilities that use WRTDS, but EGRET also has graphing and tabular tools for exploring the data without using the WRTDS algorithm. See the EGRET vignette, user guide, and/or wiki (\url{https://github.com/USGS-R/EGRET/wiki}) for detailed information. Figure \ref{fig:egretEx} shows one of the plotting functions that can be used directly from the dataRetrieval dataframes.
<<egretEx, echo=TRUE, eval=TRUE, fig.cap="Default \\texttt{multiPlotDataOverview}">>=
# Continuing Choptank example from the previous sections
library(EGRET)
multiPlotDataOverview()
@
\FloatBarrier
\clearpage
% %------------------------------------------------------------
% \subsection{EGRET Plots}
% %------------------------------------------------------------
% The Daily, Sample, and INFO dataframes (described in Secs. \ref{INFOsubsection} - \ref{Samplesubsection}) are specifically formatted to be used with the EGRET package. The EGRET package has powerful modeling capabilities that use WRTDS, but EGRET also has graphing and tabular tools for exploring the data without using the WRTDS algorithm. See the EGRET vignette, user guide, and/or wiki (\url{https://github.com/USGS-R/EGRET/wiki}) for detailed information. Figure \ref{fig:egretEx} shows one of the plotting functions that can be used directly from the dataRetrieval dataframes.
%
% <<egretEx, echo=TRUE, eval=TRUE, fig.cap="Default \\texttt{multiPlotDataOverview}">>=
% # Continuing Choptank example from the previous sections
% library(EGRET)
% multiPlotDataOverview()
% @
%
% \FloatBarrier
% \clearpage
%------------------------------------------------------------
......
No preview for this file type
......@@ -5,6 +5,6 @@
6 1 17 0 28 1 39 0 10 1 9 0 20 1 4 0 14 1 4 0 33 1 13 %
0 39 1 14 0 18 1 2 0 14 1 2 0 49 1 4 0 7 1 4 0 11 1 2 %
0 17 1 7 0 22 1 8 0 21 1 4 0 9 1 4 0 79 1 1 2 9 1 1 4 %
4 1 20 0 44 1 4 0 30 1 4 0 22 1 4 0 21 1 26 0 13 1 9 %
0 139 1 4 0 9 1 13 0 13 1 4 0 14 1 4 0 5 1 4 0 23 1 %
18 0 8 1 4 0 43 1}
4 1 20 0 44 1 4 0 30 1 4 0 22 1 4 0 21 1 26 0 152 1 4 %
0 9 1 13 0 13 1 4 0 14 1 4 0 5 1 4 0 23 1 18 0 8 1 4 %
0 43 1}
......@@ -2,7 +2,7 @@
%\VignetteEngine{knitr::knitr}
%\VignetteDepends{}
%\VignetteSuggests{xtable,EGRET}
%\VignetteImports{zoo, XML, RCurl, dplyr, reshape2,lubridate}
%\VignetteImports{zoo, XML, RCurl, reshape2,lubridate}
%\VignettePackage{dataRetrieval}
\documentclass[a4paper,11pt]{article}
......@@ -492,7 +492,7 @@ Note that time now becomes important, so the variable datetime is a POSIXct, and
\subsection{Water Quality Values}
\label{sec:usgsWQP}
%------------------------------------------------------------
To get USGS water quality data from water samples collected at the streamgage or other monitoring site (as distinct from unit values collected through some type of automatic monitor) we can use the function \texttt{getNWISqwData}, with the input arguments: siteNumber, parameterCd, startDate, endDate, and interactive (similar to \texttt{getNWISunitData} and \texttt{getNWISdvData}). Additionally, the argument \texttt{"}expanded\texttt{"} is a logical input that allows the user to choose between a simple return of datetimes/qualifier/values (expanded=FALSE), or a more complete and verbose output (expanded=TRUE). Expaned = TRUE includes such columns as remark codes, value qualifying text, and detection level.
To get USGS water quality data from water samples collected at the streamgage or other monitoring site (as distinct from unit values collected through some type of automatic monitor) we can use the function \texttt{getNWISqwData}, with the input arguments: siteNumber, parameterCd, startDate, endDate, and interactive (similar to \texttt{getNWISunitData} and \texttt{getNWISdvData}). Additionally, the argument \texttt{"}expanded\texttt{"} is a logical input that allows the user to choose between a simple return of datetimes/qualifier/values (expanded=FALSE), or a more complete and verbose output (expanded=TRUE). Expanded = TRUE includes such columns as remark codes, value qualifying text, and detection level.
<<label=getQW, echo=TRUE>>=
......@@ -687,7 +687,7 @@ The \texttt{getNWISInfo}, \texttt{getWQPInfo}, and \texttt{getUserInfo} function
\multicolumn{1}{c}{\textbf{\textsf{Type}}} &
\multicolumn{1}{c}{\textbf{\textsf{Description}}} \\ [0pt]
\hline
constitAbbrev & string & Constituent abbrieviation, used for saving the workspace in EGRET\\
constitAbbrev & string & Constituent abbreviation, used for saving the workspace in EGRET\\
[5pt] drainSqKm & numeric & Drainage area in square kilometers \\
[5pt] paramShortName & string & Parameter name to use on graphs \\
[5pt] param.units & string & Parameter units \\
......@@ -1010,19 +1010,19 @@ names(Sample)
\FloatBarrier
%------------------------------------------------------------
\subsection{EGRET Plots}
%------------------------------------------------------------
The Daily, Sample, and INFO dataframes (described in Secs. \ref{INFOsubsection} - \ref{Samplesubsection}) are specifically formatted to be used with the EGRET package. The EGRET package has powerful modeling capabilities that use WRTDS, but EGRET also has graphing and tabular tools for exploring the data without using the WRTDS algorithm. See the EGRET vignette, user guide, and/or wiki (\url{https://github.com/USGS-R/EGRET/wiki}) for detailed information. Figure \ref{fig:egretEx} shows one of the plotting functions that can be used directly from the dataRetrieval dataframes.
<<egretEx, echo=TRUE, eval=TRUE, fig.cap="Default \\texttt{multiPlotDataOverview}">>=
# Continuing Choptank example from the previous sections
library(EGRET)
multiPlotDataOverview()
@
\FloatBarrier
\clearpage
% %------------------------------------------------------------
% \subsection{EGRET Plots}
% %------------------------------------------------------------
% The Daily, Sample, and INFO dataframes (described in Secs. \ref{INFOsubsection} - \ref{Samplesubsection}) are specifically formatted to be used with the EGRET package. The EGRET package has powerful modeling capabilities that use WRTDS, but EGRET also has graphing and tabular tools for exploring the data without using the WRTDS algorithm. See the EGRET vignette, user guide, and/or wiki (\url{https://github.com/USGS-R/EGRET/wiki}) for detailed information. Figure \ref{fig:egretEx} shows one of the plotting functions that can be used directly from the dataRetrieval dataframes.
%
% <<egretEx, echo=TRUE, eval=TRUE, fig.cap="Default \\texttt{multiPlotDataOverview}">>=
% # Continuing Choptank example from the previous sections
% library(EGRET)
% multiPlotDataOverview()
% @
%
% \FloatBarrier
% \clearpage
%------------------------------------------------------------
......
No preview for this file type
No preview for this file type
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment