diff --git a/man/getGeneralWQPData.Rd b/man/getGeneralWQPData.Rd
new file mode 100644
index 0000000000000000000000000000000000000000..6c9f32562544856b47b22eda04b99bef5e473cfd
--- /dev/null
+++ b/man/getGeneralWQPData.Rd
@@ -0,0 +1,29 @@
+% Generated by roxygen2 (4.0.1): do not edit by hand
+\name{getGeneralWQPData}
+\alias{getGeneralWQPData}
+\title{General Data Import from Water Quality Portal}
+\usage{
+getGeneralWQPData(...)
+}
+\arguments{
+\item{\dots}{see \url{www.waterqualitydata.us/webservices_documentation.jsp} for a complete list of options}
+}
+\value{
+retval dataframe with first column dateTime, and at least one qualifier and value columns
+(subsequent qualifier/value columns could follow depending on requested parameter codes)
+}
+\description{
+Imports data from Water Quality Portal web service. This function gets the data from here: \url{http://www.waterqualitydata.us}.
+because it allows for other agencies rather than the USGS.
+}
+\examples{
+setInternet2(use=NA)
+options(timeout=120)
+pHData <- getGeneralWQPData(siteid="USGS-04024315",characteristicName="pH")
+}
+\keyword{WQP}
+\keyword{data}
+\keyword{import}
+\keyword{service}
+\keyword{web}
+
diff --git a/man/getWQPSites.Rd b/man/getWQPSites.Rd
new file mode 100644
index 0000000000000000000000000000000000000000..8949272c182ccc1be70c8b5c42ce149aef1f9c56
--- /dev/null
+++ b/man/getWQPSites.Rd
@@ -0,0 +1,31 @@
+% Generated by roxygen2 (4.0.1): do not edit by hand
+\name{getWQPSites}
+\alias{getWQPSites}
+\title{Site DAta Import from Water Quality Portal}
+\usage{
+getWQPSites(...)
+}
+\arguments{
+\item{\dots}{see \url{www.waterqualitydata.us/webservices_documentation.jsp} for a complete list of options}
+}
+\value{
+retval dataframe with first column dateTime, and at least one qualifier and value columns
+(subsequent qualifier/value columns could follow depending on requested parameter codes)
+}
+\description{
+Imports site data from Water Quality Portal web service. This function gets the data from here: \url{http://www.waterqualitydata.us}. This function is more general than getQWData
+because it allows for other agencies rather than the USGS.  Therefore, the 5-digit parameter code cannot be used.
+Instead, this function uses characteristicName.  A complete list can be found here \url{http://www.waterqualitydata.us/Codes/Characteristicname}
+}
+\examples{
+setInternet2(use=NA)
+options(timeout=120)
+\dontrun{sitesList <- getWQPSites(within=10,lat=43.06932,long=-89.4444,characteristicName="pH")
+siteListPH <- getWQPSites(characteristicName="pH")}
+}
+\keyword{WQP}
+\keyword{data}
+\keyword{import}
+\keyword{service}
+\keyword{web}
+
diff --git a/vignettes/dataRetrieval-concordance.tex b/vignettes/dataRetrieval-concordance.tex
new file mode 100644
index 0000000000000000000000000000000000000000..19e8199efeefbbfcf32e9b38669b8ab97e04c80f
--- /dev/null
+++ b/vignettes/dataRetrieval-concordance.tex
@@ -0,0 +1,9 @@
+\Sconcordance{concordance:dataRetrieval.tex:dataRetrieval.Rnw:%
+1 126 1 49 0 1 7 15 1 1 9 51 1 3 0 36 1 2 0 11 1 24 0 %
+24 1 3 0 23 1 3 0 6 1 7 0 18 1 3 0 25 1 1 0 17 1 9 0 %
+6 1 7 0 21 1 8 0 16 1 2 0 11 1 23 0 21 1 9 0 20 1 3 0 %
+6 1 17 0 27 1 6 0 11 1 9 0 15 1 4 0 19 1 4 0 21 1 4 0 %
+17 1 7 0 22 1 8 0 19 1 4 0 9 1 4 0 78 1 1 2 9 1 1 4 4 %
+1 20 0 44 1 4 0 32 1 4 0 21 1 4 0 21 1 37 0 13 1 9 0 %
+95 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 55 1}
diff --git a/vignettes/dataRetrieval.lof b/vignettes/dataRetrieval.lof
new file mode 100644
index 0000000000000000000000000000000000000000..582b0ff3d40294bd7c1e46f08f8794fb108430d3
--- /dev/null
+++ b/vignettes/dataRetrieval.lof
@@ -0,0 +1,7 @@
+\select@language {american}
+\contentsline {figure}{\numberline {1}{\ignorespaces Temperature and discharge plot of Choptank River in 2012}}{12}{figure.caption.4}
+\contentsline {figure}{\numberline {2}{\ignorespaces Nitrate plot of Choptank River}}{15}{figure.caption.5}
+\contentsline {figure}{\numberline {3}{\ignorespaces Default multiPlotDataOverview}}{27}{figure.caption.10}
+\contentsline {figure}{\numberline {4}{\ignorespaces A simple R help file\relax }}{31}{figure.caption.14}
+\contentsline {figure}{\numberline {5}{\ignorespaces A simple table produced in Microsoft Excel\relax }}{34}{figure.caption.15}
+\contentsfinish 
diff --git a/vignettes/dataRetrieval.log b/vignettes/dataRetrieval.log
new file mode 100644
index 0000000000000000000000000000000000000000..543b8cc6256af806c9032f4dce7aa35e4f451a5e
--- /dev/null
+++ b/vignettes/dataRetrieval.log
@@ -0,0 +1,1015 @@
+This is pdfTeX, Version 3.1415926-2.3-1.40.12 (MiKTeX 2.9) (preloaded format=pdflatex 2012.1.6)  15 JUL 2014 09:39
+entering extended mode
+**dataRetrieval.tex
+(D:\LADData\RCode\dataRetrieval\vignettes\dataRetrieval.tex
+LaTeX2e <2011/06/27>
+Babel <v3.8m> and hyphenation patterns for english, afrikaans, ancientgreek, ar
+abic, armenian, assamese, basque, bengali, bokmal, bulgarian, catalan, coptic, 
+croatian, czech, danish, dutch, esperanto, estonian, farsi, finnish, french, ga
+lician, german, german-x-2009-06-19, greek, gujarati, hindi, hungarian, iceland
+ic, indonesian, interlingua, irish, italian, kannada, kurmanji, lao, latin, lat
+vian, lithuanian, malayalam, marathi, mongolian, mongolianlmc, monogreek, ngerm
+an, ngerman-x-2009-06-19, nynorsk, oriya, panjabi, pinyin, polish, portuguese, 
+romanian, russian, sanskrit, serbian, slovak, slovenian, spanish, swedish, swis
+sgerman, tamil, telugu, turkish, turkmen, ukenglish, ukrainian, uppersorbian, u
+senglishmax, welsh, loaded.
+("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\base\article.cls"
+Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
+("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\base\size11.clo"
+File: size11.clo 2007/10/19 v1.4h Standard LaTeX file (size option)
+)
+\c@part=\count79
+\c@section=\count80
+\c@subsection=\count81
+\c@subsubsection=\count82
+\c@paragraph=\count83
+\c@subparagraph=\count84
+\c@figure=\count85
+\c@table=\count86
+\abovecaptionskip=\skip41
+\belowcaptionskip=\skip42
+\bibindent=\dimen102
+)
+("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\graphics\graphicx.sty"
+Package: graphicx 1999/02/16 v1.0f Enhanced LaTeX Graphics (DPC,SPQR)
+
+("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\graphics\keyval.sty"
+Package: keyval 1999/03/16 v1.13 key=value parser (DPC)
+\KV@toks@=\toks14
+)
+("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\graphics\graphics.sty"
+Package: graphics 2009/02/05 v1.0o Standard LaTeX Graphics (DPC,SPQR)
+
+("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\graphics\trig.sty"
+Package: trig 1999/03/16 v1.09 sin cos tan (DPC)
+)
+("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\00miktex\graphics.cfg"
+File: graphics.cfg 2007/01/18 v1.5 graphics configuration of teTeX/TeXLive
+)
+Package graphics Info: Driver file: pdftex.def on input line 91.
+
+("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\pdftex-def\pdftex.def"
+File: pdftex.def 2011/05/27 v0.06d Graphics/color for pdfTeX
+
+("C:\Program Files (x86)\MiKTeX 2.9\tex\generic\oberdiek\infwarerr.sty"
+Package: infwarerr 2010/04/08 v1.3 Providing info/warning/message (HO)
+)
+("C:\Program Files (x86)\MiKTeX 2.9\tex\generic\oberdiek\ltxcmds.sty"
+Package: ltxcmds 2011/04/18 v1.20 LaTeX kernel commands for general use (HO)
+)
+\Gread@gobject=\count87
+))
+\Gin@req@height=\dimen103
+\Gin@req@width=\dimen104
+)
+("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\graphics\color.sty"
+Package: color 2005/11/14 v1.0j Standard LaTeX Color (DPC)
+
+("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\00miktex\color.cfg"
+File: color.cfg 2007/01/18 v1.5 color configuration of teTeX/TeXLive
+)
+Package color Info: Driver file: pdftex.def on input line 130.
+)
+(C:\Users\ldecicco\AppData\Roaming\MiKTeX\2.9\tex\latex\framed\framed.sty
+Package: framed 2011/10/22 v 0.96: framed or shaded text with page breaks
+\OuterFrameSep=\skip43
+\fb@frw=\dimen105
+\fb@frh=\dimen106
+\FrameRule=\dimen107
+\FrameSep=\dimen108
+)
+("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\base\alltt.sty"
+Package: alltt 1997/06/16 v2.0g defines alltt environment
+)
+(C:\Users\ldecicco\AppData\Roaming\MiKTeX\2.9\tex\latex\amsmath\amsmath.sty
+Package: amsmath 2013/01/14 v2.14 AMS math features
+\@mathmargin=\skip44
+
+For additional information on amsmath, use the `?' option.
+(C:\Users\ldecicco\AppData\Roaming\MiKTeX\2.9\tex\latex\amsmath\amstext.sty
+Package: amstext 2000/06/29 v2.01
+
+(C:\Users\ldecicco\AppData\Roaming\MiKTeX\2.9\tex\latex\amsmath\amsgen.sty
+File: amsgen.sty 1999/11/30 v2.0
+\@emptytoks=\toks15
+\ex@=\dimen109
+))
+(C:\Users\ldecicco\AppData\Roaming\MiKTeX\2.9\tex\latex\amsmath\amsbsy.sty
+Package: amsbsy 1999/11/29 v1.2d
+\pmbraise@=\dimen110
+)
+(C:\Users\ldecicco\AppData\Roaming\MiKTeX\2.9\tex\latex\amsmath\amsopn.sty
+Package: amsopn 1999/12/14 v2.01 operator names
+)
+\inf@bad=\count88
+LaTeX Info: Redefining \frac on input line 210.
+\uproot@=\count89
+\leftroot@=\count90
+LaTeX Info: Redefining \overline on input line 306.
+\classnum@=\count91
+\DOTSCASE@=\count92
+LaTeX Info: Redefining \ldots on input line 378.
+LaTeX Info: Redefining \dots on input line 381.
+LaTeX Info: Redefining \cdots on input line 466.
+\Mathstrutbox@=\box26
+\strutbox@=\box27
+\big@size=\dimen111
+LaTeX Font Info:    Redeclaring font encoding OML on input line 566.
+LaTeX Font Info:    Redeclaring font encoding OMS on input line 567.
+\macc@depth=\count93
+\c@MaxMatrixCols=\count94
+\dotsspace@=\muskip10
+\c@parentequation=\count95
+\dspbrk@lvl=\count96
+\tag@help=\toks16
+\row@=\count97
+\column@=\count98
+\maxfields@=\count99
+\andhelp@=\toks17
+\eqnshift@=\dimen112
+\alignsep@=\dimen113
+\tagshift@=\dimen114
+\tagwidth@=\dimen115
+\totwidth@=\dimen116
+\lineht@=\dimen117
+\@envbody=\toks18
+\multlinegap=\skip45
+\multlinetaggap=\skip46
+\mathdisplay@stack=\toks19
+LaTeX Info: Redefining \[ on input line 2665.
+LaTeX Info: Redefining \] on input line 2666.
+)
+("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\psnfss\times.sty"
+Package: times 2005/04/12 PSNFSS-v9.2a (SPQR) 
+)
+("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\hyperref\hyperref.sty"
+Package: hyperref 2011/08/19 v6.82h Hypertext links for LaTeX
+
+("C:\Program Files (x86)\MiKTeX 2.9\tex\generic\oberdiek\hobsub-hyperref.sty"
+Package: hobsub-hyperref 2011/04/23 v1.4 Bundle oberdiek, subset hyperref (HO)
+
+("C:\Program Files (x86)\MiKTeX 2.9\tex\generic\oberdiek\hobsub-generic.sty"
+Package: hobsub-generic 2011/04/23 v1.4 Bundle oberdiek, subset generic (HO)
+Package: hobsub 2011/04/23 v1.4 Subsetting bundle oberdiek (HO)
+Package hobsub Info: Skipping package `infwarerr' (already loaded).
+Package hobsub Info: Skipping package `ltxcmds' (already loaded).
+Package: ifluatex 2010/03/01 v1.3 Provides the ifluatex switch (HO)
+Package ifluatex Info: LuaTeX not detected.
+Package: ifvtex 2010/03/01 v1.5 Switches for detecting VTeX and its modes (HO)
+Package ifvtex Info: VTeX not detected.
+Package: intcalc 2007/09/27 v1.1 Expandable integer calculations (HO)
+Package: ifpdf 2011/01/30 v2.3 Provides the ifpdf switch (HO)
+Package ifpdf Info: pdfTeX in PDF mode is detected.
+Package: etexcmds 2011/02/16 v1.5 Prefix for e-TeX command names (HO)
+Package etexcmds Info: Could not find \expanded.
+(etexcmds)             That can mean that you are not using pdfTeX 1.50 or
+(etexcmds)             that some package has redefined \expanded.
+(etexcmds)             In the latter case, load this package earlier.
+Package: kvsetkeys 2011/04/07 v1.13 Key value parser (HO)
+Package: kvdefinekeys 2011/04/07 v1.3 Defining keys (HO)
+Package: pdftexcmds 2011/04/22 v0.16 Utilities of pdfTeX for LuaTeX (HO)
+Package pdftexcmds Info: LuaTeX not detected.
+Package pdftexcmds Info: \pdf@primitive is available.
+Package pdftexcmds Info: \pdf@ifprimitive is available.
+Package pdftexcmds Info: \pdfdraftmode found.
+Package: pdfescape 2011/04/04 v1.12 Provides string conversions (HO)
+Package: bigintcalc 2011/01/30 v1.2 Expandable big integer calculations (HO)
+Package: bitset 2011/01/30 v1.1 Data type bit set (HO)
+Package: uniquecounter 2011/01/30 v1.2 Provides unlimited unique counter (HO)
+)
+Package hobsub Info: Skipping package `hobsub' (already loaded).
+Package: letltxmacro 2010/09/02 v1.4 Let assignment for LaTeX macros (HO)
+Package: hopatch 2011/01/30 v1.0 Wrapper for package hooks (HO)
+Package: xcolor-patch 2011/01/30 xcolor patch
+Package: atveryend 2011/04/23 v1.7 Hooks at very end of document (HO)
+Package: atbegshi 2011/01/30 v1.15 At begin shipout hook (HO)
+Package: refcount 2010/12/01 v3.2 Data extraction from references (HO)
+Package: hycolor 2011/01/30 v1.7 Color options of hyperref/bookmark (HO)
+)
+("C:\Program Files (x86)\MiKTeX 2.9\tex\generic\ifxetex\ifxetex.sty"
+Package: ifxetex 2010/09/12 v0.6 Provides ifxetex conditional
+)
+("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\oberdiek\kvoptions.sty"
+Package: kvoptions 2010/12/23 v3.10 Keyval support for LaTeX options (HO)
+)
+\@linkdim=\dimen118
+\Hy@linkcounter=\count100
+\Hy@pagecounter=\count101
+
+("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\hyperref\pd1enc.def"
+File: pd1enc.def 2011/08/19 v6.82h Hyperref: PDFDocEncoding definition (HO)
+)
+\Hy@SavedSpaceFactor=\count102
+
+("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\00miktex\hyperref.cfg"
+File: hyperref.cfg 2002/06/06 v1.2 hyperref configuration of TeXLive
+)
+Package hyperref Info: Hyper figures OFF on input line 4053.
+Package hyperref Info: Link nesting OFF on input line 4058.
+Package hyperref Info: Hyper index ON on input line 4061.
+Package hyperref Info: Plain pages OFF on input line 4068.
+Package hyperref Info: Backreferencing OFF on input line 4073.
+Package hyperref Info: Implicit mode ON; LaTeX internals redefined.
+Package hyperref Info: Bookmarks ON on input line 4291.
+\c@Hy@tempcnt=\count103
+
+("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\ltxmisc\url.sty"
+\Urlmuskip=\muskip11
+Package: url 2006/04/12  ver 3.3  Verb mode for urls, etc.
+)
+LaTeX Info: Redefining \url on input line 4644.
+\Fld@menulength=\count104
+\Field@Width=\dimen119
+\Fld@charsize=\dimen120
+Package hyperref Info: Hyper figures OFF on input line 5730.
+Package hyperref Info: Link nesting OFF on input line 5735.
+Package hyperref Info: Hyper index ON on input line 5738.
+Package hyperref Info: backreferencing OFF on input line 5745.
+Package hyperref Info: Link coloring OFF on input line 5750.
+Package hyperref Info: Link coloring with OCG OFF on input line 5755.
+Package hyperref Info: PDF/A mode OFF on input line 5760.
+LaTeX Info: Redefining \ref on input line 5800.
+LaTeX Info: Redefining \pageref on input line 5804.
+\Hy@abspage=\count105
+\c@Item=\count106
+\c@Hfootnote=\count107
+)
+
+Package hyperref Message: Driver (autodetected): hpdftex.
+
+("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\hyperref\hpdftex.def"
+File: hpdftex.def 2011/08/19 v6.82h Hyperref driver for pdfTeX
+\Fld@listcount=\count108
+\c@bookmark@seq@number=\count109
+
+("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\oberdiek\rerunfilecheck.sty"
+Package: rerunfilecheck 2011/04/15 v1.7 Rerun checks for auxiliary files (HO)
+Package uniquecounter Info: New unique counter `rerunfilecheck' on input line 2
+82.
+)
+\Hy@SectionHShift=\skip47
+)
+(C:\Users\ldecicco\AppData\Roaming\MiKTeX\2.9\tex\latex\natbib\natbib.sty
+Package: natbib 2010/09/13 8.31b (PWD, AO)
+\bibhang=\skip48
+\bibsep=\skip49
+LaTeX Info: Redefining \cite on input line 694.
+\c@NAT@ctr=\count110
+)
+("C:\Program Files (x86)\MiKTeX 2.9\tex\generic\babel\babel.sty"
+Package: babel 2008/07/08 v3.8m The Babel package
+
+*************************************
+* Local config file bblopts.cfg used
+*
+("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\00miktex\bblopts.cfg"
+File: bblopts.cfg 2006/07/31 v1.0 MiKTeX 'babel' configuration
+)
+("C:\Program Files (x86)\MiKTeX 2.9\tex\generic\babel\english.ldf"
+Language: english 2005/03/30 v3.3o English support from the babel system
+
+("C:\Program Files (x86)\MiKTeX 2.9\tex\generic\babel\babel.def"
+File: babel.def 2008/07/08 v3.8m Babel common definitions
+\babel@savecnt=\count111
+\U@D=\dimen121
+)
+\l@canadian = a dialect from \language\l@american 
+\l@australian = a dialect from \language\l@british 
+\l@newzealand = a dialect from \language\l@british 
+))
+(C:\Users\ldecicco\AppData\Roaming\MiKTeX\2.9\tex\latex\preprint\authblk.sty
+Package: authblk 2009/11/18 1.3 (PWD)
+\affilsep=\skip50
+\@affilsep=\skip51
+\c@Maxaffil=\count112
+\c@authors=\count113
+\c@affil=\count114
+)
+(C:\Users\ldecicco\AppData\Roaming\MiKTeX\2.9\tex\latex\subfig\subfig.sty
+Package: subfig 2005/06/28 ver: 1.3 subfig package
+
+(C:\Users\ldecicco\AppData\Roaming\MiKTeX\2.9\tex\latex\caption\caption.sty
+Package: caption 2013/02/03 v3.3-65 Customizing captions (AR)
+
+(C:\Users\ldecicco\AppData\Roaming\MiKTeX\2.9\tex\latex\caption\caption3.sty
+Package: caption3 2013/02/03 v1.5-62 caption3 kernel (AR)
+\captionmargin=\dimen122
+\captionmargin@=\dimen123
+\captionwidth=\dimen124
+\caption@tempdima=\dimen125
+\caption@indent=\dimen126
+\caption@parindent=\dimen127
+\caption@hangindent=\dimen128
+)
+\c@ContinuedFloat=\count115
+Package caption Info: hyperref package is loaded.
+)
+\c@KVtest=\count116
+\sf@farskip=\skip52
+\sf@captopadj=\dimen129
+\sf@capskip=\skip53
+\sf@nearskip=\skip54
+\c@subfigure=\count117
+\c@subfigure@save=\count118
+\c@lofdepth=\count119
+\c@subtable=\count120
+\c@subtable@save=\count121
+\c@lotdepth=\count122
+\sf@top=\skip55
+\sf@bottom=\skip56
+) (C:\Users\ldecicco\AppData\Roaming\MiKTeX\2.9\tex\latex\placeins\placeins.sty
+Package: placeins 2005/04/18  v 2.2
+) (C:\Users\ldecicco\AppData\Roaming\MiKTeX\2.9\tex\latex\mdwtools\footnote.sty
+Package: footnote 1997/01/28 1.13 Save footnotes around boxes
+\fn@notes=\box28
+\fn@width=\dimen130
+) ("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\tools\tabularx.sty"
+Package: tabularx 1999/01/07 v2.07 `tabularx' package (DPC)
+
+("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\tools\array.sty"
+Package: array 2008/09/09 v2.4c Tabular extension package (FMi)
+\col@sep=\dimen131
+\extrarowheight=\dimen132
+\NC@list=\toks20
+\extratabsurround=\skip57
+\backup@length=\skip58
+)
+\TX@col@width=\dimen133
+\TX@old@table=\dimen134
+\TX@old@col=\dimen135
+\TX@target=\dimen136
+\TX@delta=\dimen137
+\TX@cols=\count123
+\TX@ftn=\toks21
+)
+(C:\Users\ldecicco\AppData\Roaming\MiKTeX\2.9\tex\latex\threeparttable\threepar
+ttable.sty
+Package: threeparttable 2003/06/13  v 3.0
+\@tempboxb=\box29
+) ("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\ltxmisc\parskip.sty"
+Package: parskip 2001/04/09 non-zero parskip adjustments
+) (C:\Users\ldecicco\AppData\Roaming\MiKTeX\2.9\tex\latex\csquotes\csquotes.sty
+Package: csquotes 2011/10/22 v5.1d context-sensitive quotations
+
+(C:\Users\ldecicco\AppData\Roaming\MiKTeX\2.9\tex\latex\etoolbox\etoolbox.sty
+Package: etoolbox 2011/01/03 v2.1 e-TeX tools for LaTeX
+
+(C:\Users\ldecicco\AppData\Roaming\MiKTeX\2.9\tex\latex\misc\etex.sty
+Package: etex 1998/03/26 v2.0 eTeX basic definition package (PEB)
+\et@xins=\count124
+)
+\etb@tempcnta=\count125
+)
+\csq@reset=\count126
+\csq@gtype=\count127
+\csq@glevel=\count128
+\csq@qlevel=\count129
+\csq@maxlvl=\count130
+\csq@tshold=\count131
+\csq@ltx@everypar=\toks22
+
+(C:\Users\ldecicco\AppData\Roaming\MiKTeX\2.9\tex\latex\csquotes\csquotes.def
+File: csquotes.def 2011/10/22 v5.1d csquotes generic definitions
+)
+Package csquotes Info: Trying to load configuration file 'csquotes.cfg'...
+Package csquotes Info: ... configuration file loaded successfully.
+
+(C:\Users\ldecicco\AppData\Roaming\MiKTeX\2.9\tex\latex\csquotes\csquotes.cfg
+File: csquotes.cfg 
+)) (C:\Users\ldecicco\AppData\Roaming\MiKTeX\2.9\tex\latex\setspace\setspace.st
+y
+Package: setspace 2011/12/19 v6.7a set line spacing
+) ("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\psnfss\mathptmx.sty"
+Package: mathptmx 2005/04/12 PSNFSS-v9.2a Times w/ Math, improved (SPQR, WaS) 
+LaTeX Font Info:    Redeclaring symbol font `operators' on input line 28.
+LaTeX Font Info:    Overwriting symbol font `operators' in version `normal'
+(Font)                  OT1/cmr/m/n --> OT1/ztmcm/m/n on input line 28.
+LaTeX Font Info:    Overwriting symbol font `operators' in version `bold'
+(Font)                  OT1/cmr/bx/n --> OT1/ztmcm/m/n on input line 28.
+LaTeX Font Info:    Redeclaring symbol font `letters' on input line 29.
+LaTeX Font Info:    Overwriting symbol font `letters' in version `normal'
+(Font)                  OML/cmm/m/it --> OML/ztmcm/m/it on input line 29.
+LaTeX Font Info:    Overwriting symbol font `letters' in version `bold'
+(Font)                  OML/cmm/b/it --> OML/ztmcm/m/it on input line 29.
+LaTeX Font Info:    Redeclaring symbol font `symbols' on input line 30.
+LaTeX Font Info:    Overwriting symbol font `symbols' in version `normal'
+(Font)                  OMS/cmsy/m/n --> OMS/ztmcm/m/n on input line 30.
+LaTeX Font Info:    Overwriting symbol font `symbols' in version `bold'
+(Font)                  OMS/cmsy/b/n --> OMS/ztmcm/m/n on input line 30.
+LaTeX Font Info:    Redeclaring symbol font `largesymbols' on input line 31.
+LaTeX Font Info:    Overwriting symbol font `largesymbols' in version `normal'
+(Font)                  OMX/cmex/m/n --> OMX/ztmcm/m/n on input line 31.
+LaTeX Font Info:    Overwriting symbol font `largesymbols' in version `bold'
+(Font)                  OMX/cmex/m/n --> OMX/ztmcm/m/n on input line 31.
+\symbold=\mathgroup4
+\symitalic=\mathgroup5
+LaTeX Font Info:    Redeclaring math alphabet \mathbf on input line 34.
+LaTeX Font Info:    Overwriting math alphabet `\mathbf' in version `normal'
+(Font)                  OT1/cmr/bx/n --> OT1/ptm/bx/n on input line 34.
+LaTeX Font Info:    Overwriting math alphabet `\mathbf' in version `bold'
+(Font)                  OT1/cmr/bx/n --> OT1/ptm/bx/n on input line 34.
+LaTeX Font Info:    Redeclaring math alphabet \mathit on input line 35.
+LaTeX Font Info:    Overwriting math alphabet `\mathit' in version `normal'
+(Font)                  OT1/cmr/m/it --> OT1/ptm/m/it on input line 35.
+LaTeX Font Info:    Overwriting math alphabet `\mathit' in version `bold'
+(Font)                  OT1/cmr/bx/it --> OT1/ptm/m/it on input line 35.
+LaTeX Info: Redefining \hbar on input line 50.
+)
+("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\psnfss\helvet.sty"
+Package: helvet 2005/04/12 PSNFSS-v9.2a (WaS) 
+)
+("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\tools\indentfirst.sty"
+Package: indentfirst 1995/11/23 v1.03 Indent first paragraph (DPC)
+)
+("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\psnfss\courier.sty"
+Package: courier 2005/04/12 PSNFSS-v9.2a (WaS) 
+)
+(C:\Users\ldecicco\AppData\Roaming\MiKTeX\2.9\tex\latex\titlesec\titlesec.sty
+Package: titlesec 2011/12/15 v2.10.0 Sectioning titles
+\ttl@box=\box30
+\beforetitleunit=\skip59
+\aftertitleunit=\skip60
+\ttl@plus=\dimen138
+\ttl@minus=\dimen139
+\ttl@toksa=\toks23
+\titlewidth=\dimen140
+\titlewidthlast=\dimen141
+\titlewidthfirst=\dimen142
+)
+(C:\Users\ldecicco\AppData\Roaming\MiKTeX\2.9\tex\latex\titlesec\titletoc.sty
+Package: titletoc 2011/12/15 v1.6 TOC entries
+\ttl@leftsep=\dimen143
+)
+(C:\Users\ldecicco\AppData\Roaming\MiKTeX\2.9\tex\latex\upquote\upquote.sty
+Package: upquote 2012/04/19 v1.3 upright-quote and grave-accent glyphs in verba
+tim
+
+("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\base\textcomp.sty"
+Package: textcomp 2005/09/27 v1.99g Standard LaTeX package
+Package textcomp Info: Sub-encoding information:
+(textcomp)               5 = only ISO-Adobe without \textcurrency
+(textcomp)               4 = 5 + \texteuro
+(textcomp)               3 = 4 + \textohm
+(textcomp)               2 = 3 + \textestimated + \textcurrency
+(textcomp)               1 = TS1 - \textcircled - \t
+(textcomp)               0 = TS1 (full)
+(textcomp)             Font families with sub-encoding setting implement
+(textcomp)             only a restricted character set as indicated.
+(textcomp)             Family '?' is the default used for unknown fonts.
+(textcomp)             See the documentation for details.
+Package textcomp Info: Setting ? sub-encoding to TS1/1 on input line 71.
+
+("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\base\ts1enc.def"
+File: ts1enc.def 2001/06/05 v3.0e (jk/car/fm) Standard LaTeX file
+)
+LaTeX Info: Redefining \oldstylenums on input line 266.
+Package textcomp Info: Setting cmr sub-encoding to TS1/0 on input line 281.
+Package textcomp Info: Setting cmss sub-encoding to TS1/0 on input line 282.
+Package textcomp Info: Setting cmtt sub-encoding to TS1/0 on input line 283.
+Package textcomp Info: Setting cmvtt sub-encoding to TS1/0 on input line 284.
+Package textcomp Info: Setting cmbr sub-encoding to TS1/0 on input line 285.
+Package textcomp Info: Setting cmtl sub-encoding to TS1/0 on input line 286.
+Package textcomp Info: Setting ccr sub-encoding to TS1/0 on input line 287.
+Package textcomp Info: Setting ptm sub-encoding to TS1/4 on input line 288.
+Package textcomp Info: Setting pcr sub-encoding to TS1/4 on input line 289.
+Package textcomp Info: Setting phv sub-encoding to TS1/4 on input line 290.
+Package textcomp Info: Setting ppl sub-encoding to TS1/3 on input line 291.
+Package textcomp Info: Setting pag sub-encoding to TS1/4 on input line 292.
+Package textcomp Info: Setting pbk sub-encoding to TS1/4 on input line 293.
+Package textcomp Info: Setting pnc sub-encoding to TS1/4 on input line 294.
+Package textcomp Info: Setting pzc sub-encoding to TS1/4 on input line 295.
+Package textcomp Info: Setting bch sub-encoding to TS1/4 on input line 296.
+Package textcomp Info: Setting put sub-encoding to TS1/5 on input line 297.
+Package textcomp Info: Setting uag sub-encoding to TS1/5 on input line 298.
+Package textcomp Info: Setting ugq sub-encoding to TS1/5 on input line 299.
+Package textcomp Info: Setting ul8 sub-encoding to TS1/4 on input line 300.
+Package textcomp Info: Setting ul9 sub-encoding to TS1/4 on input line 301.
+Package textcomp Info: Setting augie sub-encoding to TS1/5 on input line 302.
+Package textcomp Info: Setting dayrom sub-encoding to TS1/3 on input line 303.
+Package textcomp Info: Setting dayroms sub-encoding to TS1/3 on input line 304.
+
+Package textcomp Info: Setting pxr sub-encoding to TS1/0 on input line 305.
+Package textcomp Info: Setting pxss sub-encoding to TS1/0 on input line 306.
+Package textcomp Info: Setting pxtt sub-encoding to TS1/0 on input line 307.
+Package textcomp Info: Setting txr sub-encoding to TS1/0 on input line 308.
+Package textcomp Info: Setting txss sub-encoding to TS1/0 on input line 309.
+Package textcomp Info: Setting txtt sub-encoding to TS1/0 on input line 310.
+Package textcomp Info: Setting lmr sub-encoding to TS1/0 on input line 311.
+Package textcomp Info: Setting lmdh sub-encoding to TS1/0 on input line 312.
+Package textcomp Info: Setting lmss sub-encoding to TS1/0 on input line 313.
+Package textcomp Info: Setting lmssq sub-encoding to TS1/0 on input line 314.
+Package textcomp Info: Setting lmvtt sub-encoding to TS1/0 on input line 315.
+Package textcomp Info: Setting qhv sub-encoding to TS1/0 on input line 316.
+Package textcomp Info: Setting qag sub-encoding to TS1/0 on input line 317.
+Package textcomp Info: Setting qbk sub-encoding to TS1/0 on input line 318.
+Package textcomp Info: Setting qcr sub-encoding to TS1/0 on input line 319.
+Package textcomp Info: Setting qcs sub-encoding to TS1/0 on input line 320.
+Package textcomp Info: Setting qpl sub-encoding to TS1/0 on input line 321.
+Package textcomp Info: Setting qtm sub-encoding to TS1/0 on input line 322.
+Package textcomp Info: Setting qzc sub-encoding to TS1/0 on input line 323.
+Package textcomp Info: Setting qhvc sub-encoding to TS1/0 on input line 324.
+Package textcomp Info: Setting futs sub-encoding to TS1/4 on input line 325.
+Package textcomp Info: Setting futx sub-encoding to TS1/4 on input line 326.
+Package textcomp Info: Setting futj sub-encoding to TS1/4 on input line 327.
+Package textcomp Info: Setting hlh sub-encoding to TS1/3 on input line 328.
+Package textcomp Info: Setting hls sub-encoding to TS1/3 on input line 329.
+Package textcomp Info: Setting hlst sub-encoding to TS1/3 on input line 330.
+Package textcomp Info: Setting hlct sub-encoding to TS1/5 on input line 331.
+Package textcomp Info: Setting hlx sub-encoding to TS1/5 on input line 332.
+Package textcomp Info: Setting hlce sub-encoding to TS1/5 on input line 333.
+Package textcomp Info: Setting hlcn sub-encoding to TS1/5 on input line 334.
+Package textcomp Info: Setting hlcw sub-encoding to TS1/5 on input line 335.
+Package textcomp Info: Setting hlcf sub-encoding to TS1/5 on input line 336.
+Package textcomp Info: Setting pplx sub-encoding to TS1/3 on input line 337.
+Package textcomp Info: Setting pplj sub-encoding to TS1/3 on input line 338.
+Package textcomp Info: Setting ptmx sub-encoding to TS1/4 on input line 339.
+Package textcomp Info: Setting ptmj sub-encoding to TS1/4 on input line 340.
+))
+Package csquotes Info: Checking for multilingual support...
+Package csquotes Info: ... found 'babel' package.
+Package csquotes Info: Adjusting default style.
+Package csquotes Info: Redefining alias 'default' -> 'american'.
+
+(D:\LADData\RCode\dataRetrieval\vignettes\dataRetrieval.aux)
+LaTeX Font Info:    Checking defaults for OML/cmm/m/it on input line 174.
+LaTeX Font Info:    ... okay on input line 174.
+LaTeX Font Info:    Checking defaults for T1/cmr/m/n on input line 174.
+LaTeX Font Info:    ... okay on input line 174.
+LaTeX Font Info:    Checking defaults for OT1/cmr/m/n on input line 174.
+LaTeX Font Info:    ... okay on input line 174.
+LaTeX Font Info:    Checking defaults for OMS/cmsy/m/n on input line 174.
+LaTeX Font Info:    ... okay on input line 174.
+LaTeX Font Info:    Checking defaults for OMX/cmex/m/n on input line 174.
+LaTeX Font Info:    ... okay on input line 174.
+LaTeX Font Info:    Checking defaults for U/cmr/m/n on input line 174.
+LaTeX Font Info:    ... okay on input line 174.
+LaTeX Font Info:    Checking defaults for PD1/pdf/m/n on input line 174.
+LaTeX Font Info:    ... okay on input line 174.
+LaTeX Font Info:    Checking defaults for TS1/cmr/m/n on input line 174.
+LaTeX Font Info:    Try loading font information for TS1+cmr on input line 174.
+
+
+("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\base\ts1cmr.fd"
+File: ts1cmr.fd 1999/05/25 v2.5h Standard LaTeX font definitions
+)
+LaTeX Font Info:    ... okay on input line 174.
+LaTeX Font Info:    Try loading font information for OT1+ptm on input line 174.
+
+
+("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\psnfss\ot1ptm.fd"
+File: ot1ptm.fd 2001/06/04 font definitions for OT1/ptm.
+)
+(C:\Users\ldecicco\AppData\Roaming\MiKTeX\2.9\tex\context\base\supp-pdf.mkii
+[Loading MPS to PDF converter (version 2006.09.02).]
+\scratchcounter=\count132
+\scratchdimen=\dimen144
+\scratchbox=\box31
+\nofMPsegments=\count133
+\nofMParguments=\count134
+\everyMPshowfont=\toks24
+\MPscratchCnt=\count135
+\MPscratchDim=\dimen145
+\MPnumerator=\count136
+\makeMPintoPDFobject=\count137
+\everyMPtoPDFconversion=\toks25
+)
+\AtBeginShipoutBox=\box32
+Package hyperref Info: Link coloring OFF on input line 174.
+ ("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\hyperref\nameref.sty"
+Package: nameref 2010/04/30 v2.40 Cross-referencing by name of section
+
+("C:\Program Files (x86)\MiKTeX 2.9\tex\generic\oberdiek\gettitlestring.sty"
+Package: gettitlestring 2010/12/03 v1.4 Cleanup title references (HO)
+)
+\c@section@level=\count138
+)
+LaTeX Info: Redefining \ref on input line 174.
+LaTeX Info: Redefining \pageref on input line 174.
+LaTeX Info: Redefining \nameref on input line 174.
+
+(D:\LADData\RCode\dataRetrieval\vignettes\dataRetrieval.out)
+(D:\LADData\RCode\dataRetrieval\vignettes\dataRetrieval.out)
+\@outlinefile=\write3
+Package caption Info: Begin \AtBeginDocument code.
+Package caption Info: subfig package v1.3 is loaded.
+Package caption Info: threeparttable package is loaded.
+Package caption Info: End \AtBeginDocument code.
+LaTeX Font Info:    Try loading font information for OT1+ztmcm on input line 19
+6.
+
+("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\psnfss\ot1ztmcm.fd"
+File: ot1ztmcm.fd 2000/01/03 Fontinst v1.801 font definitions for OT1/ztmcm.
+)
+LaTeX Font Info:    Try loading font information for OML+ztmcm on input line 19
+6.
+
+("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\psnfss\omlztmcm.fd"
+File: omlztmcm.fd 2000/01/03 Fontinst v1.801 font definitions for OML/ztmcm.
+)
+LaTeX Font Info:    Try loading font information for OMS+ztmcm on input line 19
+6.
+
+("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\psnfss\omsztmcm.fd"
+File: omsztmcm.fd 2000/01/03 Fontinst v1.801 font definitions for OMS/ztmcm.
+)
+LaTeX Font Info:    Try loading font information for OMX+ztmcm on input line 19
+6.
+
+("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\psnfss\omxztmcm.fd"
+File: omxztmcm.fd 2000/01/03 Fontinst v1.801 font definitions for OMX/ztmcm.
+)
+LaTeX Font Info:    Font shape `OT1/ptm/bx/n' in size <12> not available
+(Font)              Font shape `OT1/ptm/b/n' tried instead on input line 196.
+LaTeX Font Info:    Font shape `OT1/ptm/bx/n' in size <9> not available
+(Font)              Font shape `OT1/ptm/b/n' tried instead on input line 196.
+LaTeX Font Info:    Font shape `OT1/ptm/bx/n' in size <7> not available
+(Font)              Font shape `OT1/ptm/b/n' tried instead on input line 196.
+
+Overfull \vbox (21.68121pt too high) has occurred while \output is active []
+
+
+[1
+
+{C:/Users/ldecicco/AppData/Local/MiKTeX/2.9/pdftex/config/pdftex.map}]
+LaTeX Font Info:    Try loading font information for OT1+phv on input line 200.
+
+
+("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\psnfss\ot1phv.fd"
+File: ot1phv.fd 2001/06/04 scalable font definitions for OT1/phv.
+)
+LaTeX Font Info:    Font shape `OT1/phv/m/n' will be
+(Font)              scaled to size 9.85492pt on input line 200.
+LaTeX Font Info:    Font shape `OT1/phv/bx/n' in size <10.95> not available
+(Font)              Font shape `OT1/phv/b/n' tried instead on input line 200.
+LaTeX Font Info:    Font shape `OT1/phv/b/n' will be
+(Font)              scaled to size 9.85492pt on input line 200.
+LaTeX Font Info:    Font shape `OT1/phv/bx/n' in size <17.28> not available
+(Font)              Font shape `OT1/phv/b/n' tried instead on input line 200.
+LaTeX Font Info:    Font shape `OT1/phv/b/n' will be
+(Font)              scaled to size 15.55188pt on input line 200.
+
+(D:\LADData\RCode\dataRetrieval\vignettes\dataRetrieval.toc)
+\tf@toc=\write4
+
+(D:\LADData\RCode\dataRetrieval\vignettes\dataRetrieval.lof
+Overfull \vbox (21.68121pt too high) has occurred while \output is active []
+
+
+[2])
+\tf@lof=\write5
+ (D:\LADData\RCode\dataRetrieval\vignettes\dataRetrieval.lot)
+\tf@lot=\write6
+
+Overfull \vbox (21.68121pt too high) has occurred while \output is active []
+
+
+[3]
+LaTeX Font Info:    Font shape `OT1/ptm/bx/n' in size <10.95> not available
+(Font)              Font shape `OT1/ptm/b/n' tried instead on input line 209.
+LaTeX Font Info:    Font shape `OT1/ptm/bx/n' in size <8> not available
+(Font)              Font shape `OT1/ptm/b/n' tried instead on input line 209.
+LaTeX Font Info:    Font shape `OT1/ptm/bx/n' in size <6> not available
+(Font)              Font shape `OT1/ptm/b/n' tried instead on input line 209.
+Package color Info: Redefining color shadecolor on input line 219.
+LaTeX Font Info:    Try loading font information for OT1+pcr on input line 220.
+
+ ("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\psnfss\ot1pcr.fd"
+File: ot1pcr.fd 2001/06/04 font definitions for OT1/pcr.
+)
+LaTeX Font Info:    Font shape `OT1/pcr/bx/n' in size <10.95> not available
+(Font)              Font shape `OT1/pcr/b/n' tried instead on input line 221.
+LaTeX Font Info:    Font shape `OT1/pcr/m/it' in size <10.95> not available
+(Font)              Font shape `OT1/pcr/m/sl' tried instead on input line 222.
+
+Underfull \vbox (badness 10000) detected at line 245
+ []
+
+
+Overfull \vbox (21.68121pt too high) has occurred while \output is active []
+
+
+[4]
+Overfull \vbox (21.68121pt too high) has occurred while \output is active []
+
+
+[5]
+LaTeX Font Info:    Font shape `OT1/ptm/bx/n' in size <5> not available
+(Font)              Font shape `OT1/ptm/b/n' tried instead on input line 271.
+LaTeX Font Info:    Font shape `OT1/phv/bx/n' in size <9> not available
+(Font)              Font shape `OT1/phv/b/n' tried instead on input line 273.
+LaTeX Font Info:    Font shape `OT1/phv/b/n' will be
+(Font)              scaled to size 8.09995pt on input line 273.
+Package color Info: Redefining color shadecolor on input line 289.
+
+Overfull \vbox (21.68121pt too high) has occurred while \output is active []
+
+
+[6]
+LaTeX Font Info:    Font shape `OT1/phv/bx/n' in size <14.4> not available
+(Font)              Font shape `OT1/phv/b/n' tried instead on input line 353.
+LaTeX Font Info:    Font shape `OT1/phv/b/n' will be
+(Font)              scaled to size 12.9599pt on input line 353.
+LaTeX Font Info:    Font shape `OT1/phv/m/n' will be
+(Font)              scaled to size 10.79993pt on input line 358.
+Package color Info: Redefining color shadecolor on input line 365.
+Package color Info: Redefining color shadecolor on input line 377.
+
+Overfull \vbox (21.68121pt too high) has occurred while \output is active []
+
+
+[7]
+Package color Info: Redefining color shadecolor on input line 397.
+
+Overfull \hbox (36.60727pt too wide) in paragraph at lines 442--443
+[]\OT1/ptm/m/n/10.95 To ob-tain all of the avail-able in-for-ma-tion con-cern-i
+ng a mea-sured pa-ram-e-ter, use the \OT1/pcr/m/n/10.95 getParameterInfo
+ []
+
+Package color Info: Redefining color shadecolor on input line 445.
+
+Overfull \vbox (21.68121pt too high) has occurred while \output is active []
+
+
+[8]
+Package color Info: Redefining color shadecolor on input line 463.
+Package color Info: Redefining color shadecolor on input line 483.
+
+Overfull \vbox (21.68121pt too high) has occurred while \output is active []
+
+
+[9]
+Package color Info: Redefining color shadecolor on input line 507.
+Package color Info: Redefining color shadecolor on input line 525.
+
+Underfull \vbox (badness 10000) detected at line 551
+ []
+
+
+Overfull \vbox (21.68121pt too high) has occurred while \output is active []
+
+
+[10]
+Package color Info: Redefining color shadecolor on input line 557.
+
+
+LaTeX Warning: No positions in optional float specifier.
+               Default added (so using `tbp') on input line 576.
+
+<figure/getNWIStemperaturePlot.pdf, id=275, 505.89pt x 505.89pt>
+File: figure/getNWIStemperaturePlot.pdf Graphic file (type pdf)
+
+<use figure/getNWIStemperaturePlot.pdf>
+Package pdftex.def Info: figure/getNWIStemperaturePlot.pdf used on input line 5
+78.
+(pdftex.def)             Requested size: 448.07928pt x 448.07928pt.
+
+Overfull \vbox (21.68121pt too high) has occurred while \output is active []
+
+
+[11]
+Overfull \vbox (21.68121pt too high) has occurred while \output is active []
+
+
+[12 <D:/LADData/RCode/dataRetrieval/vignettes/figure/getNWIStemperaturePlot.pdf
+>]
+Package color Info: Redefining color shadecolor on input line 596.
+Package color Info: Redefining color shadecolor on input line 610.
+
+Overfull \vbox (21.68121pt too high) has occurred while \output is active []
+
+
+[13]
+Package color Info: Redefining color shadecolor on input line 645.
+Package color Info: Redefining color shadecolor on input line 666.
+
+
+LaTeX Warning: No positions in optional float specifier.
+               Default added (so using `tbp') on input line 675.
+
+<figure/getQWtemperaturePlot.pdf, id=297, 505.89pt x 505.89pt>
+File: figure/getQWtemperaturePlot.pdf Graphic file (type pdf)
+
+<use figure/getQWtemperaturePlot.pdf>
+Package pdftex.def Info: figure/getQWtemperaturePlot.pdf used on input line 677
+.
+(pdftex.def)             Requested size: 448.07378pt x 448.07928pt.
+
+Overfull \vbox (21.68121pt too high) has occurred while \output is active []
+
+
+[14]
+Overfull \vbox (21.68121pt too high) has occurred while \output is active []
+
+
+[15 <D:/LADData/RCode/dataRetrieval/vignettes/figure/getQWtemperaturePlot.pdf>]
+Package color Info: Redefining color shadecolor on input line 693.
+LaTeX Font Info:    Try loading font information for TS1+pcr on input line 695.
+
+("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\psnfss\ts1pcr.fd"
+File: ts1pcr.fd 2001/06/04 font definitions for TS1/pcr.
+)
+LaTeX Font Info:    Font shape `TS1/pcr/m/it' in size <10.95> not available
+(Font)              Font shape `TS1/pcr/m/sl' tried instead on input line 695.
+Package color Info: Redefining color shadecolor on input line 711.
+
+Overfull \hbox (5.25568pt too wide) in paragraph at lines 720--720
+[][]\OT1/pcr/m/n/10.95 url_uv[] []<-[] []\OT1/pcr/b/n/10.95 constructNWISURL[][
+]\OT1/pcr/m/n/10.95 (siteNumber,[][]"00060"[][],startDate,endDate,[][]\TS1/pcr/
+m/n/10.95 '\OT1/pcr/m/n/10.95 uv\TS1/pcr/m/n/10.95 '[][]\OT1/pcr/m/n/10.95 )[][
+] 
+ []
+
+
+Overfull \vbox (21.68121pt too high) has occurred while \output is active []
+
+
+[16]
+Package color Info: Redefining color shadecolor on input line 742.
+
+Overfull \vbox (21.68121pt too high) has occurred while \output is active []
+
+
+[17]
+Package color Info: Redefining color shadecolor on input line 760.
+
+Overfull \vbox (21.68121pt too high) has occurred while \output is active []
+
+
+[18]
+Package color Info: Redefining color shadecolor on input line 818.
+Package color Info: Redefining color shadecolor on input line 830.
+
+Overfull \vbox (21.68121pt too high) has occurred while \output is active []
+
+
+[19]
+Overfull \vbox (21.68121pt too high) has occurred while \output is active []
+
+
+[20]
+Overfull \vbox (21.68121pt too high) has occurred while \output is active []
+
+
+[21]
+Package color Info: Redefining color shadecolor on input line 930.
+
+Overfull \vbox (21.68121pt too high) has occurred while \output is active []
+
+
+[22]
+Package color Info: Redefining color shadecolor on input line 991.
+LaTeX Font Info:    Try loading font information for OMS+pcr on input line 996.
+
+ ("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\psnfss\omspcr.fd"
+File: omspcr.fd 
+)
+LaTeX Font Info:    Font shape `OMS/pcr/m/n' in size <10.95> not available
+(Font)              Font shape `OMS/cmsy/m/n' tried instead on input line 996.
+
+Underfull \vbox (badness 10000) detected at line 998
+ []
+
+
+Overfull \vbox (21.68121pt too high) has occurred while \output is active []
+
+
+[23]
+Package color Info: Redefining color shadecolor on input line 1027.
+
+Overfull \vbox (21.68121pt too high) has occurred while \output is active []
+
+
+[24]
+Package color Info: Redefining color shadecolor on input line 1052.
+Package color Info: Redefining color shadecolor on input line 1072.
+
+Overfull \hbox (44.67563pt too wide) in paragraph at lines 1097--1097
+[] \OT1/pcr/m/n/10.95 First day of the discharge record is 2000-01-01 and last 
+day is 2013-01-01[] 
+ []
+
+
+Overfull \hbox (44.67563pt too wide) in paragraph at lines 1097--1097
+[] \OT1/pcr/m/n/10.95 The first sample is from 2000-01-04 and the last sample i
+s from 2012-12-18[] 
+ []
+
+
+Overfull \vbox (21.68121pt too high) has occurred while \output is active []
+
+
+[25]
+Package color Info: Redefining color shadecolor on input line 1128.
+
+
+LaTeX Warning: No positions in optional float specifier.
+               Default added (so using `tbp') on input line 1134.
+
+<figure/egretEx.pdf, id=374, 505.89pt x 505.89pt>
+File: figure/egretEx.pdf Graphic file (type pdf)
+ <use figure/egretEx.pdf>
+Package pdftex.def Info: figure/egretEx.pdf used on input line 1136.
+(pdftex.def)             Requested size: 448.07378pt x 448.07928pt.
+
+Overfull \vbox (21.68121pt too high) has occurred while \output is active []
+
+
+[26]
+Overfull \vbox (21.68121pt too high) has occurred while \output is active []
+
+
+[27 <D:/LADData/RCode/dataRetrieval/vignettes/figure/egretEx.pdf>]
+Overfull \vbox (21.68121pt too high) has occurred while \output is active []
+
+
+[28
+
+]
+Overfull \vbox (21.68121pt too high) has occurred while \output is active []
+
+
+[29]
+Package color Info: Redefining color shadecolor on input line 1234.
+Package color Info: Redefining color shadecolor on input line 1247.
+ <Rhelp.png, id=403, 433.62pt x 395.22656pt>
+File: Rhelp.png Graphic file (type png)
+ <use Rhelp.png>
+Package pdftex.def Info: Rhelp.png used on input line 1266.
+(pdftex.def)             Requested size: 433.61894pt x 395.22559pt.
+Package color Info: Redefining color shadecolor on input line 1273.
+
+Overfull \vbox (21.68121pt too high) has occurred while \output is active []
+
+
+[30
+
+]
+Overfull \vbox (21.68121pt too high) has occurred while \output is active []
+
+
+[31 <D:/LADData/RCode/dataRetrieval/vignettes/Rhelp.png>]
+Package color Info: Redefining color shadecolor on input line 1288.
+Package color Info: Redefining color shadecolor on input line 1300.
+Package color Info: Redefining color shadecolor on input line 1315.
+
+Overfull \vbox (21.68121pt too high) has occurred while \output is active []
+
+
+[32
+
+]
+Package color Info: Redefining color shadecolor on input line 1352.
+
+Overfull \hbox (11.82567pt too wide) in paragraph at lines 1369--1369
+[]\OT1/pcr/m/n/10.95 Suspended sediment concentration (SSC) 1980-10-01 1991-09-
+30 3651 mg/l[] 
+ []
+
+
+Overfull \vbox (21.68121pt too high) has occurred while \output is active []
+
+
+[33] <table1.png, id=427, 554.07pt x 125.71968pt>
+File: table1.png Graphic file (type png)
+ <use table1.png>
+Package pdftex.def Info: table1.png used on input line 1388.
+(pdftex.def)             Requested size: 554.06865pt x 125.71936pt.
+
+Overfull \vbox (21.68121pt too high) has occurred while \output is active []
+
+
+[34 <D:/LADData/RCode/dataRetrieval/vignettes/table1.png>]
+Package atveryend Info: Empty hook `BeforeClearDocument' on input line 1413.
+Package atveryend Info: Empty hook `AfterLastShipout' on input line 1413.
+
+(D:\LADData\RCode\dataRetrieval\vignettes\dataRetrieval.aux)
+Package atveryend Info: Executing hook `AtVeryEndDocument' on input line 1413.
+Package atveryend Info: Executing hook `AtEndAfterFileList' on input line 1413.
+
+Package rerunfilecheck Info: File `dataRetrieval.out' has not changed.
+(rerunfilecheck)             Checksum: 0A42302DA34F8DDBBBAD8A2EC505FAF3;1805.
+ ) 
+Here is how much of TeX's memory you used:
+ 9765 strings out of 494045
+ 145928 string characters out of 3145961
+ 248171 words of memory out of 3000000
+ 12772 multiletter control sequences out of 15000+200000
+ 49126 words of font info for 98 fonts, out of 3000000 for 9000
+ 715 hyphenation exceptions out of 8191
+ 44i,15n,42p,958b,502s stack positions out of 5000i,500n,10000p,200000b,50000s
+{C:/Program Files (x86)/MiKTeX 2.9/fonts/enc/dvips/fontname/8r.enc}<C:/Progra
+m Files (x86)/MiKTeX 2.9/fonts/type1/public/amsfonts/cm/cmmi10.pfb><C:/Program 
+Files (x86)/MiKTeX 2.9/fonts/type1/public/amsfonts/cm/cmsy10.pfb><C:/Program Fi
+les (x86)/MiKTeX 2.9/fonts/type1/urw/courier/ucrb8a.pfb><C:/Program Files (x86)
+/MiKTeX 2.9/fonts/type1/urw/courier/ucrr8a.pfb><C:/Program Files (x86)/MiKTeX 2
+.9/fonts/type1/urw/courier/ucrro8a.pfb><C:/Program Files (x86)/MiKTeX 2.9/fonts
+/type1/urw/helvetic/uhvb8a.pfb><C:/Program Files (x86)/MiKTeX 2.9/fonts/type1/u
+rw/helvetic/uhvr8a.pfb><C:/Program Files (x86)/MiKTeX 2.9/fonts/type1/urw/times
+/utmr8a.pfb><C:/Program Files (x86)/MiKTeX 2.9/fonts/type1/urw/times/utmri8a.pf
+b>
+Output written on dataRetrieval.pdf (34 pages, 337808 bytes).
+PDF statistics:
+ 489 PDF objects out of 1000 (max. 8388607)
+ 85 named destinations out of 1000 (max. 500000)
+ 234 words of extra memory for PDF output out of 10000 (max. 10000000)
+
diff --git a/vignettes/dataRetrieval.lot b/vignettes/dataRetrieval.lot
new file mode 100644
index 0000000000000000000000000000000000000000..cc647ff2674014ecbf2d5a37029198b27cfb40d1
--- /dev/null
+++ b/vignettes/dataRetrieval.lot
@@ -0,0 +1,10 @@
+\select@language {american}
+\contentsline {table}{\numberline {1}{\ignorespaces Common USGS Parameter Codes\relax }}{6}{table.caption.1}
+\contentsline {table}{\numberline {2}{\ignorespaces Commonly used USGS Stat Codes\relax }}{7}{table.caption.2}
+\contentsline {table}{\numberline {3}{\ignorespaces Daily mean data availabile at the Choptank River near Greensboro, MD. [Some columns deleted for space considerations]\relax }}{8}{table.caption.3}
+\contentsline {table}{\numberline {4}{\ignorespaces Daily dataframe\relax }}{18}{table.caption.6}
+\contentsline {table}{\numberline {5}{\ignorespaces Sample dataframe\relax }}{20}{table.caption.8}
+\contentsline {table}{\numberline {6}{\ignorespaces Example data\relax }}{21}{table.caption.9}
+\contentsline {table}{\numberline {7}{\ignorespaces dataRetrieval functions\relax }}{29}{table.caption.12}
+\contentsline {table}{\numberline {8}{\ignorespaces dataRetrieval miscellaneous functions\relax }}{29}{table.caption.13}
+\contentsfinish 
diff --git a/vignettes/dataRetrieval.pdf b/vignettes/dataRetrieval.pdf
new file mode 100644
index 0000000000000000000000000000000000000000..b655d7a645a9e5981325ec96fcf5d92a31e69238
Binary files /dev/null and b/vignettes/dataRetrieval.pdf differ
diff --git a/vignettes/dataRetrieval.synctex.gz b/vignettes/dataRetrieval.synctex.gz
new file mode 100644
index 0000000000000000000000000000000000000000..b440e6bb3a914c7306db0d056b8ecd1f44fa915e
Binary files /dev/null and b/vignettes/dataRetrieval.synctex.gz differ
diff --git a/vignettes/dataRetrieval.tex b/vignettes/dataRetrieval.tex
new file mode 100644
index 0000000000000000000000000000000000000000..161ba002a2f5b5a53224043b0761a770471d41ad
--- /dev/null
+++ b/vignettes/dataRetrieval.tex
@@ -0,0 +1,1413 @@
+%\VignetteIndexEntry{Introduction to the dataRetrieval package}
+%\VignetteEngine{knitr::knitr}
+%\VignetteDepends{}
+%\VignetteSuggests{xtable,EGRET}
+%\VignetteImports{zoo, XML, RCurl}
+%\VignettePackage{dataRetrieval}
+
+\documentclass[a4paper,11pt]{article}\usepackage[]{graphicx}\usepackage[]{color}
+%% maxwidth is the original width if it is less than linewidth
+%% otherwise use linewidth (to make sure the graphics do not exceed the margin)
+\makeatletter
+\def\maxwidth{ %
+  \ifdim\Gin@nat@width>\linewidth
+    \linewidth
+  \else
+    \Gin@nat@width
+  \fi
+}
+\makeatother
+
+\definecolor{fgcolor}{rgb}{0.345, 0.345, 0.345}
+\newcommand{\hlnum}[1]{\textcolor[rgb]{0.686,0.059,0.569}{#1}}%
+\newcommand{\hlstr}[1]{\textcolor[rgb]{0.192,0.494,0.8}{#1}}%
+\newcommand{\hlcom}[1]{\textcolor[rgb]{0.678,0.584,0.686}{\textit{#1}}}%
+\newcommand{\hlopt}[1]{\textcolor[rgb]{0,0,0}{#1}}%
+\newcommand{\hlstd}[1]{\textcolor[rgb]{0.345,0.345,0.345}{#1}}%
+\newcommand{\hlkwa}[1]{\textcolor[rgb]{0.161,0.373,0.58}{\textbf{#1}}}%
+\newcommand{\hlkwb}[1]{\textcolor[rgb]{0.69,0.353,0.396}{#1}}%
+\newcommand{\hlkwc}[1]{\textcolor[rgb]{0.333,0.667,0.333}{#1}}%
+\newcommand{\hlkwd}[1]{\textcolor[rgb]{0.737,0.353,0.396}{\textbf{#1}}}%
+
+\usepackage{framed}
+\makeatletter
+\newenvironment{kframe}{%
+ \def\at@end@of@kframe{}%
+ \ifinner\ifhmode%
+  \def\at@end@of@kframe{\end{minipage}}%
+  \begin{minipage}{\columnwidth}%
+ \fi\fi%
+ \def\FrameCommand##1{\hskip\@totalleftmargin \hskip-\fboxsep
+ \colorbox{shadecolor}{##1}\hskip-\fboxsep
+     % There is no \\@totalrightmargin, so:
+     \hskip-\linewidth \hskip-\@totalleftmargin \hskip\columnwidth}%
+ \MakeFramed {\advance\hsize-\width
+   \@totalleftmargin\z@ \linewidth\hsize
+   \@setminipage}}%
+ {\par\unskip\endMakeFramed%
+ \at@end@of@kframe}
+\makeatother
+
+\definecolor{shadecolor}{rgb}{.97, .97, .97}
+\definecolor{messagecolor}{rgb}{0, 0, 0}
+\definecolor{warningcolor}{rgb}{1, 0, 1}
+\definecolor{errorcolor}{rgb}{1, 0, 0}
+\newenvironment{knitrout}{}{} % an empty environment to be redefined in TeX
+
+\usepackage{alltt}
+
+\usepackage{amsmath}
+\usepackage{times}
+\usepackage{hyperref}
+\usepackage[numbers, round]{natbib}
+\usepackage[american]{babel}
+\usepackage{authblk}
+\usepackage{subfig}
+\usepackage{placeins}
+\usepackage{footnote}
+\usepackage{tabularx}
+\usepackage{threeparttable}
+\usepackage{parskip}
+
+\usepackage{csquotes}
+\usepackage{setspace}
+
+\doublespacing
+
+\renewcommand{\topfraction}{0.85}
+\renewcommand{\textfraction}{0.1}
+\usepackage{graphicx}
+
+
+\usepackage{mathptmx}% Times Roman font
+\usepackage[scaled=.90]{helvet}% Helvetica, served as a model for arial
+
+\usepackage{indentfirst}
+\setlength{\parskip}{0pt}
+
+\usepackage{courier}
+
+\usepackage{titlesec}
+\usepackage{titletoc}
+
+\titleformat{\section}
+  {\normalfont\sffamily\bfseries\LARGE}
+  {\thesection}{0.5em}{}
+\titleformat{\subsection}
+  {\normalfont\sffamily\bfseries\Large}
+  {\thesubsection}{0.5em}{}
+\titleformat{\subsubsection}
+  {\normalfont\sffamily\large}
+  {\thesubsubsection}{0.5em}{}
+  
+\titlecontents{section}
+[2.3em]                 % adjust left margin
+{\sffamily}             % font formatting
+{\contentslabel{2.3em}} % section label and offset
+{\hspace*{-2.3em}}
+{\titlerule*[0.25pc]{.}\contentspage}
+  
+\titlecontents{subsection}
+[4.6em]                 % adjust left margin
+{\sffamily}             % font formatting
+{\contentslabel{2.3em}} % section label and offset
+{\hspace*{-2.3em}}
+{\titlerule*[0.25pc]{.}\contentspage}
+  
+\titlecontents{subsubsection}
+[6.9em]                 % adjust left margin
+{\sffamily}             % font formatting
+{\contentslabel{2.3em}} % section label and offset
+{\hspace*{-2.3em}}
+{\titlerule*[0.25pc]{.}\contentspage}
+
+\titlecontents{table}
+[-2.3em]                 % adjust left margin
+{\sffamily}             % font formatting
+{\textbf{Table}\hspace*{2em} \contentslabel {2em}} % section label and offset
+{\hspace*{4em}}
+{\titlerule*[0.25pc]{.}\contentspage}
+
+\titlecontents{figure}
+[-2.3em]                 % adjust left margin
+{\sffamily}             % font formatting
+{\textbf{Figure}\hspace*{2em} \contentslabel {2em}} % section label and offset
+{\hspace*{4em}}
+{\titlerule*[0.25pc]{.}\contentspage}
+
+%Italisize and change font of urls:
+\urlstyle{sf}
+\renewcommand\UrlFont\itshape
+
+\usepackage{caption}
+\captionsetup{
+  font={sf},
+  labelfont={bf,sf},
+  labelsep=period,
+  justification=justified,
+  singlelinecheck=false
+}
+
+\setlength\parindent{20pt}
+
+\textwidth=6.2in
+\textheight=8.5in
+\parskip=.3cm
+\oddsidemargin=.1in
+\evensidemargin=.1in
+\headheight=-.3in
+
+
+%------------------------------------------------------------
+% newcommand
+%------------------------------------------------------------
+\newcommand{\scscst}{\scriptscriptstyle}
+\newcommand{\scst}{\scriptstyle}
+\newcommand{\Robject}[1]{{\texttt{#1}}}
+\newcommand{\Rfunction}[1]{{\texttt{#1}}}
+\newcommand{\Rclass}[1]{\textit{#1}}
+\newcommand{\Rpackage}[1]{\textit{#1}}
+\newcommand{\Rexpression}[1]{\texttt{#1}}
+\newcommand{\Rmethod}[1]{{\texttt{#1}}}
+\newcommand{\Rfunarg}[1]{{\texttt{#1}}}
+\IfFileExists{upquote.sty}{\usepackage{upquote}}{}
+\begin{document}
+
+
+
+\renewenvironment{knitrout}{\begin{singlespace}}{\end{singlespace}}
+\renewcommand*\listfigurename{Figures}
+
+\renewcommand*\listtablename{Tables}
+
+
+%------------------------------------------------------------
+\title{The dataRetrieval R package}
+%------------------------------------------------------------
+\author[1]{Laura De Cicco}
+\author[1]{Robert Hirsch}
+\affil[1]{United States Geological Survey}
+
+
+
+
+
+
+\maketitle
+
+\newpage 
+
+\tableofcontents
+\listoffigures
+\listoftables
+
+\newpage
+
+%------------------------------------------------------------
+\section{Introduction to dataRetrieval}
+%------------------------------------------------------------ 
+The dataRetrieval package was created to simplify the process of loading hydrologic data into the R environment. It has been specifically designed to work seamlessly with the EGRET R package: Exploration and Graphics for RivEr Trends. See: \url{https://github.com/USGS-R/EGRET/wiki} for information on EGRET. EGRET is designed to provide analysis of water quality data sets using the Weighted Regressions on Time, Discharge and Season (WRTDS) method as well as analysis of discharge trends using robust time-series smoothing techniques.  Both of these capabilities provide both tabular and graphical analyses of long-term data sets.
+
+
+The dataRetrieval package is designed to retrieve many of the major data types of United States Geological Survey (USGS) hydrologic data that are available on the web. Users may also load data from other sources (text files, spreadsheets) using dataRetrieval.  Section \ref{sec:genRetrievals} provides examples of how one can obtain raw data from USGS sources on the Web and load them into data frames within the R environment.  The functionality described in section \ref{sec:genRetrievals} is for general use and is not tailored for the specific uses of the EGRET package.  The functionality described in section \ref{sec:EGRETdfs} is tailored specifically to obtaining input from the Web and structuring it for use in the EGRET package.  The functionality described in section \ref{sec:summary} is for converting hydrologic data from user-supplied files and structuring it specifically for use in the EGRET package.
+
+For information on getting started in R and installing the package, see (\ref{sec:appendix1}): Getting Started.
+
+A quick workflow for major dataRetrieval functions:
+
+\begin{knitrout}
+\definecolor{shadecolor}{rgb}{0.969, 0.969, 0.969}\color{fgcolor}\begin{kframe}
+\begin{alltt}
+\hlkwd{library}\hlstd{(dataRetrieval)}
+\hlcom{# Site ID for Choptank River near Greensboro, MD}
+\hlstd{siteNumber} \hlkwb{<-} \hlstr{"01491000"}
+\hlstd{ChoptankInfo} \hlkwb{<-} \hlkwd{getSiteFileData}\hlstd{(siteNumber)}
+\hlstd{parameterCd} \hlkwb{<-} \hlstr{"00060"}
+
+\hlcom{#Raw daily data:}
+\hlstd{rawDailyData} \hlkwb{<-} \hlkwd{retrieveNWISData}\hlstd{(siteNumber,parameterCd,}
+                      \hlstr{"1980-01-01"}\hlstd{,}\hlstr{"2010-01-01"}\hlstd{)}
+\hlcom{# Data compiled for EGRET analysis}
+\hlstd{Daily} \hlkwb{<-} \hlkwd{getDVData}\hlstd{(siteNumber,parameterCd,}
+                      \hlstr{"1980-01-01"}\hlstd{,}\hlstr{"2010-01-01"}\hlstd{)}
+
+\hlcom{# Sample data Nitrate:}
+\hlstd{parameterCd} \hlkwb{<-} \hlstr{"00618"}
+\hlstd{Sample} \hlkwb{<-} \hlkwd{getSampleData}\hlstd{(siteNumber,parameterCd,}
+                      \hlstr{"1980-01-01"}\hlstd{,}\hlstr{"2010-01-01"}\hlstd{)}
+
+\hlcom{# Metadata on site and nitrate:}
+\hlstd{INFO} \hlkwb{<-} \hlkwd{getMetaData}\hlstd{(siteNumber,parameterCd)}
+
+\hlcom{# Merge discharge and nitrate data to one dataframe:}
+\hlstd{Sample} \hlkwb{<-} \hlkwd{mergeReport}\hlstd{()}
+\end{alltt}
+\end{kframe}
+\end{knitrout}
+
+
+%------------------------------------------------------------
+\section{General USGS Web Retrievals}
+\label{sec:genRetrievals}
+%------------------------------------------------------------ 
+In this section, five examples of Web retrievals document how to get raw data. This data includes site information (\ref{sec:usgsSite}), measured parameter information (\ref{sec:usgsParams}), historical daily values(\ref{sec:usgsDaily}), unit values (which include real-time data but can also include other sensor data stored at regular time intervals) (\ref{sec:usgsRT}), and water quality data (\ref{sec:usgsWQP}) or (\ref{sec:usgsSTORET}). We will use the Choptank River near Greensboro, MD as an example.  The site-ID for this streamgage is 01491000. Daily discharge measurements are available as far back as 1948.  Additionally, nitrate has been measured since 1964. 
+
+% %------------------------------------------------------------
+% \subsection{Introduction}
+% %------------------------------------------------------------
+The USGS organizes hydrologic data in a standard structure.  Streamgages are located throughout the United States, and each streamgage has a unique ID.  Often (but not always), these ID's are 8 digits.  The first step to finding data is discovering this 8-digit ID. There are many ways to do this, one is the National Water Information System: Mapper \url{http://maps.waterdata.usgs.gov/mapper/index.html}.
+
+Once the site-ID is known, the next required input for USGS data retrievals is the \enquote{parameter code}.  This is a 5-digit code that specifies the measured parameter being requested.  For example, parameter code 00631 represents \enquote{Nitrate plus nitrite, water, filtered, milligrams per liter as nitrogen}, with units of \enquote{mg/l as N}. A complete list of possible USGS parameter codes can be found at \url{http://nwis.waterdata.usgs.gov/usa/nwis/pmcodes?help}.
+
+Not every station will measure all parameters. A short list of commonly measured parameters is shown in Table \ref{tab:params}.
+
+
+% latex table generated in R 3.1.0 by xtable 1.7-3 package
+% Tue Jul 15 09:39:32 2014
+\begin{table}[ht]
+\caption{Common USGS Parameter Codes} 
+\label{tab:params}
+{\footnotesize
+\begin{tabular}{rll}
+  \hline
+ & \multicolumn{1}{c}{\textbf{\textsf{pCode}}} & \multicolumn{1}{c}{\textbf{\textsf{shortName}}} \\ 
+  \hline
+ & 00060 & Discharge [ft$^3$/s] \\ 
+  [5pt] & 00065 & Gage height [ft] \\ 
+  [5pt] & 00010 & Temperature [C] \\ 
+  [5pt] & 00045 & Precipitation [in] \\ 
+  [5pt] & 00400 & pH \\ 
+   \hline
+\end{tabular}
+}
+\end{table}
+
+
+A complete list (as of September 25, 2013) is available as data attached to the package. It is accessed by the following:
+
+\begin{knitrout}
+\definecolor{shadecolor}{rgb}{0.969, 0.969, 0.969}\color{fgcolor}\begin{kframe}
+\begin{alltt}
+\hlkwd{library}\hlstd{(dataRetrieval)}
+\hlstd{parameterCdFile} \hlkwb{<-}  \hlstd{parameterCdFile}
+\hlkwd{names}\hlstd{(parameterCdFile)}
+\end{alltt}
+\begin{verbatim}
+[1] "parameter_cd"       "parameter_group_nm"
+[3] "parameter_nm"       "casrn"             
+[5] "srsname"            "parameter_units"   
+\end{verbatim}
+\begin{alltt}
+\hlcom{# Sorting out some common values:}
+\hlkwd{subset}\hlstd{(parameterCdFile,parameter_cd} \hlopt{%in%} \hlkwd{c}\hlstd{(}\hlstr{"00060"}\hlstd{,}\hlstr{"00010"}\hlstd{,}\hlstr{"00400"}\hlstd{))}
+\end{alltt}
+\begin{verbatim}
+     parameter_cd parameter_group_nm
+1179        00010           Physical
+1206        00060           Physical
+1266        00400           Physical
+                                     parameter_nm casrn
+1179          Temperature, water, degrees Celsius      
+1206             Discharge, cubic feet per second      
+1266 pH, water, unfiltered, field, standard units      
+                      srsname parameter_units
+1179       Temperature, water           deg C
+1206 Stream flow, mean. daily           ft3/s
+1266                       pH       std units
+\end{verbatim}
+\end{kframe}
+\end{knitrout}
+
+
+For unit values data (sensor data measured at regular time intervals such as 15 minutes or hourly), knowing the parameter code and site ID is enough to make a request for data.  For most variables that are measured on a continuous basis, the USGS also stores the historical data as daily values.  These daily values are statistical summaries of the continuous data, e.g. maximum, minimum, mean, or median. The different statistics are specified by a 5-digit statistics code.  A complete list of statistic codes can be found here:
+
+\url{http://nwis.waterdata.usgs.gov/nwis/help/?read_file=stat&format=table}
+
+Some common codes are shown in Table \ref{tab:stat}.
+
+% latex table generated in R 3.1.0 by xtable 1.7-3 package
+% Tue Jul 15 09:39:33 2014
+\begin{table}[ht]
+\caption{Commonly used USGS Stat Codes} 
+\label{tab:stat}
+{\footnotesize
+\begin{tabular}{rll}
+  \hline
+ & \multicolumn{1}{c}{\textbf{\textsf{StatCode}}} & \multicolumn{1}{c}{\textbf{\textsf{shortName}}} \\ 
+  \hline
+ & 00001 & Maximum \\ 
+  [5pt] & 00002 & Minimum \\ 
+  [5pt] & 00003 & Mean \\ 
+  [5pt] & 00008 & Median \\ 
+   \hline
+\end{tabular}
+}
+\end{table}
+
+
+Examples for using these site ID's, parameter codes, and stat codes will be presented in subsequent sections.
+
+\FloatBarrier
+
+%------------------------------------------------------------
+\subsection{Site Information}
+\label{sec:usgsSite}
+%------------------------------------------------------------
+
+%------------------------------------------------------------
+\subsubsection{getSiteFileData}
+\label{sec:usgsSiteFileData}
+%------------------------------------------------------------
+Use the \texttt{getSiteFileData} function to obtain all of the information available for a particular USGS site such as full station name, drainage area, latitude, and longitude:
+
+
+\begin{knitrout}
+\definecolor{shadecolor}{rgb}{0.969, 0.969, 0.969}\color{fgcolor}\begin{kframe}
+\begin{alltt}
+\hlcom{# Site ID for Choptank River near Greensboro, MD}
+\hlstd{siteNumber} \hlkwb{<-} \hlstr{"01491000"}
+\hlstd{ChoptankInfo} \hlkwb{<-} \hlkwd{getSiteFileData}\hlstd{(siteNumber)}
+\end{alltt}
+\end{kframe}
+\end{knitrout}
+
+A specific example piece of information can be retrieved, in this case a station name, as follows:
+
+\begin{knitrout}
+\definecolor{shadecolor}{rgb}{0.969, 0.969, 0.969}\color{fgcolor}\begin{kframe}
+\begin{alltt}
+\hlstd{ChoptankInfo}\hlopt{$}\hlstd{station.nm}
+\end{alltt}
+\begin{verbatim}
+[1] "CHOPTANK RIVER NEAR GREENSBORO, MD"
+\end{verbatim}
+\end{kframe}
+\end{knitrout}
+Site information is obtained from \url{http://waterservices.usgs.gov/rest/Site-Test-Tool.html}
+\FloatBarrier
+
+%------------------------------------------------------------
+\subsubsection{getDataAvailability}
+\label{sec:usgsDataAvailability}
+%------------------------------------------------------------
+To discover what data is available for a particular USGS site, including measured parameters, period of record, and number of samples (count), use the \texttt{getDataAvailability} function. It is possible to limit the retrieval information to a subset of types (\texttt{"}dv\texttt{"}, \texttt{"}uv\texttt{"}, or \texttt{"}qw\texttt{"}). In the following example, we limit the retrieved Choptank data to only daily data. Leaving the \texttt{"}type\texttt{"} argument blank returns all of the available data for that site.
+
+
+\begin{knitrout}
+\definecolor{shadecolor}{rgb}{0.969, 0.969, 0.969}\color{fgcolor}\begin{kframe}
+\begin{alltt}
+\hlcom{# Continuing from the previous example:}
+\hlcom{# This pulls out just the daily data:}
+
+\hlstd{ChoptankDailyData} \hlkwb{<-} \hlkwd{getDataAvailability}\hlstd{(siteNumber,}
+                    \hlkwc{type}\hlstd{=}\hlstr{"dv"}\hlstd{)}
+\end{alltt}
+\end{kframe}
+\end{knitrout}
+
+
+% latex table generated in R 3.1.0 by xtable 1.7-3 package
+% Tue Jul 15 09:39:34 2014
+\begin{table}[ht]
+\caption{Daily mean data availabile at the Choptank River near Greensboro, MD. [Some columns deleted for space considerations]} 
+\label{tab:gda}
+{\footnotesize
+\begin{tabular}{rlllll}
+  \hline
+ & \multicolumn{1}{c}{\textbf{\textsf{srsname}}} & \multicolumn{1}{c}{\textbf{\textsf{startDate}}} & \multicolumn{1}{c}{\textbf{\textsf{endDate}}} & \multicolumn{1}{c}{\textbf{\textsf{count}}} & \multicolumn{1}{c}{\textbf{\textsf{units}}} \\ 
+  \hline
+ & Temperature, water & 1988-10-01 & 2012-05-09 & 894 & deg C \\ 
+  [5pt] & Temperature, water & 2010-10-01 & 2012-05-09 & 529 & deg C \\ 
+  [5pt] & Temperature, water & 2010-10-01 & 2012-05-09 & 529 & deg C \\ 
+  [5pt] & Stream flow, mean. daily & 1948-01-01 & 2014-07-14 & 24302 & ft$^3$/s \\ 
+  [5pt] & Specific conductance & 2010-10-01 & 2012-05-09 & 527 & uS/cm @25C \\ 
+  [5pt] & Specific conductance & 2010-10-01 & 2012-05-09 & 527 & uS/cm @25C \\ 
+  [5pt] & Specific conductance & 2010-10-01 & 2012-05-09 & 527 & uS/cm @25C \\ 
+  [5pt] & Suspended sediment concentration (SSC) & 1980-10-01 & 1991-09-30 & 3651 & mg/l \\ 
+  [5pt] & Suspended sediment discharge & 1980-10-01 & 1991-09-30 & 3652 & tons/day \\ 
+   \hline
+\end{tabular}
+}
+\end{table}
+
+
+See Section \ref{app:createWordTable} for instructions on converting an R dataframe to a table in Microsoft Excel or Word to display a data availability table similar to Table \ref{tab:gda}.
+
+\FloatBarrier
+
+%------------------------------------------------------------
+\subsection{Parameter Information}
+\label{sec:usgsParams}
+%------------------------------------------------------------
+To obtain all of the available information concerning a measured parameter, use the \texttt{getParameterInfo} function:
+
+\begin{knitrout}
+\definecolor{shadecolor}{rgb}{0.969, 0.969, 0.969}\color{fgcolor}\begin{kframe}
+\begin{alltt}
+\hlcom{# Using defaults:}
+\hlstd{parameterCd} \hlkwb{<-} \hlstr{"00618"}
+\hlstd{parameterINFO} \hlkwb{<-} \hlkwd{getParameterInfo}\hlstd{(parameterCd)}
+\hlkwd{colnames}\hlstd{(parameterINFO)}
+\end{alltt}
+\begin{verbatim}
+[1] "parameter_cd"       "parameter_group_nm"
+[3] "parameter_nm"       "casrn"             
+[5] "srsname"            "parameter_units"   
+\end{verbatim}
+\end{kframe}
+\end{knitrout}
+
+A specific example piece of information, in this case parameter name, can be obtained as follows:
+
+\begin{knitrout}
+\definecolor{shadecolor}{rgb}{0.969, 0.969, 0.969}\color{fgcolor}\begin{kframe}
+\begin{alltt}
+\hlstd{parameterINFO}\hlopt{$}\hlstd{parameter_nm}
+\end{alltt}
+\begin{verbatim}
+[1] "Nitrate, water, filtered, milligrams per liter as nitrogen"
+\end{verbatim}
+\end{kframe}
+\end{knitrout}
+Parameter information is obtained from \url{http://nwis.waterdata.usgs.gov/nwis/pmcodes/}
+\FloatBarrier
+%------------------------------------------------------------
+\subsection{Daily Values}
+\label{sec:usgsDaily}
+%------------------------------------------------------------
+To obtain daily records of USGS data, use the \texttt{retrieveNWISData} function. The arguments for this function are siteNumber, parameterCd, startDate, endDate, statCd, and a logical (TRUE/FALSE) interactive. There are 2 default arguments: statCd (defaults to \texttt{"}00003\texttt{"}), and interactive (defaults to TRUE).  If you want to use the default values, you do not need to list them in the function call. By setting the \texttt{"}interactive\texttt{"} option to FALSE, the operation of the function will advance automatically. It might make more sense to run large batch collections with the interactive option set to FALSE. 
+
+The dates (start and end) must be in the format \texttt{"}YYYY-MM-DD\texttt{"} (note: the user must include the quotes).  Setting the start date to \texttt{"}\texttt{"} (no space) will prompt the program to ask for the earliest date, and setting the end date to \texttt{"}\texttt{"} (no space) will prompt for the latest available date.
+
+\begin{knitrout}
+\definecolor{shadecolor}{rgb}{0.969, 0.969, 0.969}\color{fgcolor}\begin{kframe}
+\begin{alltt}
+\hlcom{# Continuing with our Choptank River example}
+\hlstd{parameterCd} \hlkwb{<-} \hlstr{"00060"}  \hlcom{# Discharge (ft3/s)}
+\hlstd{startDate} \hlkwb{<-} \hlstr{""}  \hlcom{# Will request earliest date}
+\hlstd{endDate} \hlkwb{<-} \hlstr{""} \hlcom{# Will request latest date}
+
+\hlstd{discharge} \hlkwb{<-} \hlkwd{retrieveNWISData}\hlstd{(siteNumber,}
+                    \hlstd{parameterCd, startDate, endDate)}
+\hlkwd{names}\hlstd{(discharge)}
+\end{alltt}
+\begin{verbatim}
+[1] "agency_cd"          "site_no"           
+[3] "datetime"           "X02_00060_00003"   
+[5] "X02_00060_00003_cd"
+\end{verbatim}
+\end{kframe}
+\end{knitrout}
+
+The column \texttt{"}datetime\texttt{"} in the returned dataframe is automatically imported as a variable of class \texttt{"}Date\texttt{"} in R. Each requested parameter has a value and remark code column.  The names of these columns depend on the requested parameter and stat code combinations. USGS remark codes are often \texttt{"}A\texttt{"} (approved for publication) or \texttt{"}P\texttt{"} (provisional data subject to revision). A more complete list of remark codes can be found here:
+\url{http://waterdata.usgs.gov/usa/nwis/help?codes_help}
+
+Another example that doesn't use the defaults would be a request for mean and maximum daily temperature and discharge in early 2012:
+\begin{knitrout}
+\definecolor{shadecolor}{rgb}{0.969, 0.969, 0.969}\color{fgcolor}\begin{kframe}
+\begin{alltt}
+\hlstd{parameterCd} \hlkwb{<-} \hlkwd{c}\hlstd{(}\hlstr{"00010"}\hlstd{,}\hlstr{"00060"}\hlstd{)}  \hlcom{# Temperature and discharge}
+\hlstd{statCd} \hlkwb{<-} \hlkwd{c}\hlstd{(}\hlstr{"00001"}\hlstd{,}\hlstr{"00003"}\hlstd{)}  \hlcom{# Mean and maximum}
+\hlstd{startDate} \hlkwb{<-} \hlstr{"2012-01-01"}
+\hlstd{endDate} \hlkwb{<-} \hlstr{"2012-05-01"}
+
+\hlstd{temperatureAndFlow} \hlkwb{<-} \hlkwd{retrieveNWISData}\hlstd{(siteNumber, parameterCd,}
+        \hlstd{startDate, endDate,} \hlkwc{StatCd}\hlstd{=statCd)}
+\end{alltt}
+\end{kframe}
+\end{knitrout}
+
+Daily data is pulled from \url{http://waterservices.usgs.gov/rest/DV-Test-Tool.html}.
+
+The column names can be automatically adjusted based on the parameter and statistic codes using the \texttt{renameColumns} function. This is not necessary, but may be useful when analyzing the data. 
+
+\begin{knitrout}
+\definecolor{shadecolor}{rgb}{0.969, 0.969, 0.969}\color{fgcolor}\begin{kframe}
+\begin{alltt}
+\hlkwd{names}\hlstd{(temperatureAndFlow)}
+\end{alltt}
+\begin{verbatim}
+[1] "agency_cd"          "site_no"           
+[3] "datetime"           "X01_00010_00001"   
+[5] "X01_00010_00001_cd" "X01_00010_00003"   
+[7] "X01_00010_00003_cd" "X02_00060_00003"   
+[9] "X02_00060_00003_cd"
+\end{verbatim}
+\begin{alltt}
+\hlstd{temperatureAndFlow} \hlkwb{<-} \hlkwd{renameColumns}\hlstd{(temperatureAndFlow)}
+\hlkwd{names}\hlstd{(temperatureAndFlow)}
+\end{alltt}
+\begin{verbatim}
+[1] "agency_cd"                                  
+[2] "site_no"                                    
+[3] "datetime"                                   
+[4] "Temperature_water_degrees_Celsius_Max_01"   
+[5] "Temperature_water_degrees_Celsius_Max_01_cd"
+[6] "Temperature_water_degrees_Celsius_01"       
+[7] "Temperature_water_degrees_Celsius_01_cd"    
+[8] "Discharge_cubic_feet_per_second"            
+[9] "Discharge_cubic_feet_per_second_cd"         
+\end{verbatim}
+\end{kframe}
+\end{knitrout}
+
+An example of plotting the above data (Figure \ref{fig:getNWIStemperaturePlot}):
+
+\begin{knitrout}
+\definecolor{shadecolor}{rgb}{0.969, 0.969, 0.969}\color{fgcolor}\begin{kframe}
+\begin{alltt}
+\hlkwd{par}\hlstd{(}\hlkwc{mar}\hlstd{=}\hlkwd{c}\hlstd{(}\hlnum{5}\hlstd{,}\hlnum{5}\hlstd{,}\hlnum{5}\hlstd{,}\hlnum{5}\hlstd{))} \hlcom{#sets the size of the plot window}
+
+\hlkwd{with}\hlstd{(temperatureAndFlow,} \hlkwd{plot}\hlstd{(}
+  \hlstd{datetime, Temperature_water_degrees_Celsius_Max_01,}
+  \hlkwc{xlab}\hlstd{=}\hlstr{"Date"}\hlstd{,}\hlkwc{ylab}\hlstd{=}\hlstr{"Max Temperature [C]"}
+  \hlstd{))}
+\hlkwd{par}\hlstd{(}\hlkwc{new}\hlstd{=}\hlnum{TRUE}\hlstd{)}
+\hlkwd{with}\hlstd{(temperatureAndFlow,} \hlkwd{plot}\hlstd{(}
+  \hlstd{datetime, Discharge_cubic_feet_per_second,}
+  \hlkwc{col}\hlstd{=}\hlstr{"red"}\hlstd{,}\hlkwc{type}\hlstd{=}\hlstr{"l"}\hlstd{,}\hlkwc{xaxt}\hlstd{=}\hlstr{"n"}\hlstd{,}\hlkwc{yaxt}\hlstd{=}\hlstr{"n"}\hlstd{,}\hlkwc{xlab}\hlstd{=}\hlstr{""}\hlstd{,}\hlkwc{ylab}\hlstd{=}\hlstr{""}\hlstd{,}\hlkwc{axes}\hlstd{=}\hlnum{FALSE}
+  \hlstd{))}
+\hlkwd{axis}\hlstd{(}\hlnum{4}\hlstd{,}\hlkwc{col}\hlstd{=}\hlstr{"red"}\hlstd{,}\hlkwc{col.axis}\hlstd{=}\hlstr{"red"}\hlstd{)}
+\hlkwd{mtext}\hlstd{(}\hlstr{"Mean Discharge [ft3/s]"}\hlstd{,}\hlkwc{side}\hlstd{=}\hlnum{4}\hlstd{,}\hlkwc{line}\hlstd{=}\hlnum{3}\hlstd{,}\hlkwc{col}\hlstd{=}\hlstr{"red"}\hlstd{)}
+\hlkwd{title}\hlstd{(}\hlkwd{paste}\hlstd{(ChoptankInfo}\hlopt{$}\hlstd{station.nm,}\hlstr{"2012"}\hlstd{,}\hlkwc{sep}\hlstd{=}\hlstr{" "}\hlstd{))}
+\hlkwd{legend}\hlstd{(}\hlstr{"topleft"}\hlstd{,} \hlkwd{c}\hlstd{(}\hlstr{"Max Temperature"}\hlstd{,} \hlstr{"Mean Discharge"}\hlstd{),}
+       \hlkwc{col}\hlstd{=}\hlkwd{c}\hlstd{(}\hlstr{"black"}\hlstd{,}\hlstr{"red"}\hlstd{),}\hlkwc{lty}\hlstd{=}\hlkwd{c}\hlstd{(}\hlnum{NA}\hlstd{,}\hlnum{1}\hlstd{),}\hlkwc{pch}\hlstd{=}\hlkwd{c}\hlstd{(}\hlnum{1}\hlstd{,}\hlnum{NA}\hlstd{))}
+\end{alltt}
+\end{kframe}\begin{figure}[]
+
+\includegraphics[width=1\linewidth,height=1\linewidth]{figure/getNWIStemperaturePlot} \caption[Temperature and discharge plot of Choptank River in 2012]{Temperature and discharge plot of Choptank River in 2012.\label{fig:getNWIStemperaturePlot}}
+\end{figure}
+
+
+\end{knitrout}
+
+
+There are occasions where NWIS values are not reported as numbers, instead there might be text describing a certain event such as \enquote{Ice}.  Any value that cannot be converted to a number will be reported as NA in this package (not including remark code columns).
+
+\FloatBarrier
+
+%------------------------------------------------------------
+\subsection{Unit Values}
+\label{sec:usgsRT}
+%------------------------------------------------------------
+Any data collected at regular time intervals (such as 15-minute or hourly) are known as \enquote{unit values}. Many of these are delivered on a real time basis and very recent data (even less than an hour old in many cases) are available through the function \texttt{retrieveUnitNWISData}.  Some of these unit values are available for many years, and some are only available for a recent time period such as 120 days.  Here is an example of a retrieval of such data.  
+
+\begin{knitrout}
+\definecolor{shadecolor}{rgb}{0.969, 0.969, 0.969}\color{fgcolor}\begin{kframe}
+\begin{alltt}
+\hlstd{parameterCd} \hlkwb{<-} \hlstr{"00060"}  \hlcom{# Discharge (ft3/s)}
+\hlstd{startDate} \hlkwb{<-} \hlstr{"2012-05-12"}
+\hlstd{endDate} \hlkwb{<-} \hlstr{"2012-05-13"}
+\hlstd{dischargeToday} \hlkwb{<-} \hlkwd{retrieveUnitNWISData}\hlstd{(siteNumber, parameterCd,}
+        \hlstd{startDate, endDate)}
+\end{alltt}
+\end{kframe}
+\end{knitrout}
+
+The retrieval produces the following dataframe:
+
+\begin{knitrout}
+\definecolor{shadecolor}{rgb}{0.969, 0.969, 0.969}\color{fgcolor}\begin{kframe}
+\begin{verbatim}
+  agency     site            dateTime tz_cd X02_00060_00011
+1   USGS 01491000 2012-05-12 00:00:00   EST              83
+2   USGS 01491000 2012-05-12 00:15:00   EST              83
+3   USGS 01491000 2012-05-12 00:30:00   EST              83
+4   USGS 01491000 2012-05-12 00:45:00   EST              83
+5   USGS 01491000 2012-05-12 01:00:00   EST              85
+6   USGS 01491000 2012-05-12 01:15:00   EST              83
+  X02_00060_00011_cd
+1                  A
+2                  A
+3                  A
+4                  A
+5                  A
+6                  A
+\end{verbatim}
+\end{kframe}
+\end{knitrout}
+
+Note that time now becomes important, so the variable datetime is a POSIXct, and the time zone is included in a separate column. Data is retrieved from \url{http://waterservices.usgs.gov/rest/IV-Test-Tool.html}. There are occasions where NWIS values are not reported as numbers, instead a common example is \enquote{Ice}.  Any value that cannot be converted to a number will be reported as NA in this package.
+
+\newpage
+
+
+\FloatBarrier
+
+%------------------------------------------------------------
+\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{retrieveNWISqwData}, with the input arguments: siteNumber, parameterCd, startDate, endDate, and interactive (similar to \texttt{retrieveUnitNWISData} and \texttt{retrieveNWISData}).
+
+
+\begin{knitrout}
+\definecolor{shadecolor}{rgb}{0.969, 0.969, 0.969}\color{fgcolor}\begin{kframe}
+\begin{alltt}
+\hlcom{# Dissolved Nitrate parameter codes:}
+\hlstd{parameterCd} \hlkwb{<-} \hlkwd{c}\hlstd{(}\hlstr{"00618"}\hlstd{,}\hlstr{"71851"}\hlstd{)}
+\hlstd{startDate} \hlkwb{<-} \hlstr{"1979-10-11"}
+\hlstd{endDate} \hlkwb{<-} \hlstr{"2012-12-18"}
+
+\hlstd{dissolvedNitrate} \hlkwb{<-} \hlkwd{retrieveNWISqwData}\hlstd{(siteNumber, parameterCd,}
+      \hlstd{startDate, endDate)}
+\hlkwd{names}\hlstd{(dissolvedNitrate)}
+\end{alltt}
+\begin{verbatim}
+[1] "dateTime"        "site"            "qualifier_00618"
+[4] "value_00618"     "qualifier_71851" "value_71851"    
+\end{verbatim}
+\end{kframe}
+\end{knitrout}
+
+% Note that in this \enquote{simple} dataframe, datetime is imported as Dates (no times are included), and the qualifier is either blank or \verb@"<"@ signifying a censored value. A plotting example is shown in Figure \ref{fig:getQWtemperaturePlot}.
+
+\begin{knitrout}
+\definecolor{shadecolor}{rgb}{0.969, 0.969, 0.969}\color{fgcolor}\begin{kframe}
+\begin{alltt}
+\hlkwd{with}\hlstd{(dissolvedNitrate,} \hlkwd{plot}\hlstd{(}
+  \hlstd{dateTime, value_00618,}
+  \hlkwc{xlab}\hlstd{=}\hlstr{"Date"}\hlstd{,}\hlkwc{ylab} \hlstd{=} \hlkwd{paste}\hlstd{(parameterINFO}\hlopt{$}\hlstd{srsname,}
+      \hlstr{"["}\hlstd{,parameterINFO}\hlopt{$}\hlstd{parameter_units,}\hlstr{"]"}\hlstd{)}
+  \hlstd{))}
+\hlkwd{title}\hlstd{(ChoptankInfo}\hlopt{$}\hlstd{station.nm)}
+\end{alltt}
+\end{kframe}\begin{figure}[]
+
+\includegraphics[width=\maxwidth]{figure/getQWtemperaturePlot} \caption[Nitrate plot of Choptank River]{Nitrate plot of Choptank River.\label{fig:getQWtemperaturePlot}}
+\end{figure}
+
+
+\end{knitrout}
+
+\FloatBarrier
+
+%------------------------------------------------------------
+\subsection{STORET Water Quality Retrievals}
+\label{sec:usgsSTORET}
+%------------------------------------------------------------
+There are additional water quality data sets available from the Water Quality Data Portal (\url{http://www.waterqualitydata.us/}).  These data sets can be housed in either the STORET (data from EPA) or NWIS database.  Since STORET does not use USGS parameter codes, a \texttt{"}characteristic name\texttt{"} must be supplied.  The \texttt{getWQPData} function can retrieve either STORET or NWIS, but requires a characteristic name rather than parameter code. The Water Quality Data Portal includes data discovery tools, and information on characteristic names. The following example retrieves specific conductance from a DNR site in Wisconsin. 
+
+
+\begin{knitrout}
+\definecolor{shadecolor}{rgb}{0.969, 0.969, 0.969}\color{fgcolor}\begin{kframe}
+\begin{alltt}
+\hlcom{# specificCond <- getWQPData('WIDNR_WQX-10032762',}
+\hlcom{#                 'Specific conductance','','')}
+\hlcom{# head(specificCond)}
+\end{alltt}
+\end{kframe}
+\end{knitrout}
+
+\FloatBarrier
+%------------------------------------------------------------
+\subsection{URL Construction}
+\label{sec:usgsURL}
+%------------------------------------------------------------
+There may be times when you might be interested in seeing the URL (web address) that was used to obtain the raw data. The \texttt{constructNWISURL} function returns the URL.  In addition to input variables that have been described, there is a new argument \texttt{"}service\texttt{"}. The service argument can be \texttt{"}dv\texttt{"} (daily values), \texttt{"}uv\texttt{"} (unit values), \texttt{"}qw\texttt{"} (NWIS water quality values), or \texttt{"}wqp\texttt{"} (general Water Quality Portal values).
+ 
+
+\begin{knitrout}
+\definecolor{shadecolor}{rgb}{0.969, 0.969, 0.969}\color{fgcolor}\begin{kframe}
+\begin{alltt}
+\hlcom{# Dissolved Nitrate parameter codes:}
+\hlstd{pCode} \hlkwb{<-} \hlkwd{c}\hlstd{(}\hlstr{"00618"}\hlstd{,}\hlstr{"71851"}\hlstd{)}
+\hlstd{startDate} \hlkwb{<-} \hlstr{"1964-06-11"}
+\hlstd{endDate} \hlkwb{<-} \hlstr{"2012-12-18"}
+\hlstd{url_qw} \hlkwb{<-} \hlkwd{constructNWISURL}\hlstd{(siteNumber,pCode,startDate,endDate,}\hlstr{'qw'}\hlstd{)}
+\hlstd{url_dv} \hlkwb{<-} \hlkwd{constructNWISURL}\hlstd{(siteNumber,}\hlstr{"00060"}\hlstd{,startDate,endDate,}
+                           \hlstr{'dv'}\hlstd{,}\hlkwc{statCd}\hlstd{=}\hlstr{"00003"}\hlstd{)}
+\hlstd{url_uv} \hlkwb{<-} \hlkwd{constructNWISURL}\hlstd{(siteNumber,}\hlstr{"00060"}\hlstd{,startDate,endDate,}\hlstr{'uv'}\hlstd{)}
+\end{alltt}
+\end{kframe}
+\end{knitrout}
+
+\FloatBarrier
+
+%------------------------------------------------------------
+\section{Data Retrievals Structured For Use In The EGRET Package}
+\label{sec:EGRETdfs}
+%------------------------------------------------------------ 
+Rather than using the raw data as retrieved by the web, the dataRetrieval package also includes functions that return the data in a structure that has been designed to work with the EGRET R package (\url{https://github.com/USGS-R/EGRET/wiki}). In general, these dataframes may be much more 'R-friendly' than the raw data, and will contain additional date information that allows for efficient data analysis.
+
+In this section, we use 3 dataRetrieval functions to get sufficient data to perform an EGRET analysis.  We will continue analyzing the Choptank River. We will be retrieving essentially the same data that were retrieved in section \ref{sec:genRetrievals}, but in this case it will be structured into three EGRET-specific dataframes.  The daily discharge data will be placed in a dataframe called Daily.  The nitrate sample data will be placed in a dataframe called Sample.  The data about the site and the parameter will be placed in a dataframe called INFO.  Although these dataframes were designed to work with the EGRET R package, they can be very useful for a wide range of hydrology studies that don't use EGRET.
+
+%------------------------------------------------------------
+\subsection{INFO Data}
+\label{INFOsubsection}
+%------------------------------------------------------------
+The \texttt{getMetaData} function obtains metadata, or data about the streamgage and measured parameters. This function combines \texttt{getSiteFileData} and \texttt{getParameterInfo}, producing one dataframe called INFO.
+
+\begin{knitrout}
+\definecolor{shadecolor}{rgb}{0.969, 0.969, 0.969}\color{fgcolor}\begin{kframe}
+\begin{alltt}
+\hlstd{parameterCd} \hlkwb{<-} \hlstr{"00618"}
+\hlstd{INFO} \hlkwb{<-}\hlkwd{getMetaData}\hlstd{(siteNumber,parameterCd,} \hlkwc{interactive}\hlstd{=}\hlnum{FALSE}\hlstd{)}
+\end{alltt}
+\end{kframe}
+\end{knitrout}
+
+
+\FloatBarrier
+
+%------------------------------------------------------------
+\subsection{Daily Data}
+\label{Dailysubsection}
+%------------------------------------------------------------
+The \texttt{getDVData} function retrieves the daily values (discharge in this case).  It requires the inputs siteNumber, ParameterCd, StartDate, EndDate, interactive, and convert. Most of these arguments are described in section \ref{sec:genRetrievals}, however \texttt{"}convert\texttt{"} is a new argument (that defaults to TRUE). The convert argument tells the program to convert the values from cubic feet per second (ft\textsuperscript{3}/s) to cubic meters per second (m\textsuperscript{3}/s) as shown in the example Daily data frame in Table \ref{tab:DailyDF1}. For EGRET applications with NWIS web retrieval, do not use this argument (the default is TRUE), EGRET assumes that discharge is always stored in units of cubic meters per second. If you don't want this conversion and are not using EGRET, set convert=FALSE in the function call. 
+
+\begin{knitrout}
+\definecolor{shadecolor}{rgb}{0.969, 0.969, 0.969}\color{fgcolor}\begin{kframe}
+\begin{alltt}
+\hlstd{siteNumber} \hlkwb{<-} \hlstr{"01491000"}
+\hlstd{startDate} \hlkwb{<-} \hlstr{"2000-01-01"}
+\hlstd{endDate} \hlkwb{<-} \hlstr{"2013-01-01"}
+\hlcom{# This call will get NWIS (ft3/s) data , and convert it to m3/s:}
+\hlstd{Daily} \hlkwb{<-} \hlkwd{getDVData}\hlstd{(siteNumber,} \hlstr{"00060"}\hlstd{, startDate, endDate)}
+\end{alltt}
+\begin{verbatim}
+There are 4750 data points, and 4750 days.
+\end{verbatim}
+\end{kframe}
+\end{knitrout}
+
+
+
+% latex table generated in R 3.1.0 by xtable 1.7-3 package
+% Tue Jul 15 09:39:42 2014
+\begin{table}[ht]
+\caption{Daily dataframe} 
+\label{tab:DailyDF1}
+{\footnotesize
+\begin{tabular}{rllll}
+  \hline
+ & \multicolumn{1}{c}{\textbf{\textsf{ColumnName}}} & \multicolumn{1}{c}{\textbf{\textsf{Type}}} & \multicolumn{1}{c}{\textbf{\textsf{Description}}} & \multicolumn{1}{c}{\textbf{\textsf{Units}}} \\ 
+  \hline
+ & Date & Date & Date & date \\ 
+  [5pt] & Q & number & Discharge in m3/s & m$^3$/s \\ 
+  [5pt] & Julian & number & Number of days since January 1, 1850 & days \\ 
+  [5pt] & Month & integer & Month of the year [1-12] & months \\ 
+  [5pt] & Day & integer & Day of the year [1-366] & days \\ 
+  [5pt] & DecYear & number & Decimal year & years \\ 
+  [5pt] & MonthSeq & integer & Number of months since January 1, 1850 & months \\ 
+  [5pt] & Qualifier & string & Qualifing code & character \\ 
+  [5pt] & i & integer & Index of days, starting with 1 & days \\ 
+  [5pt] & LogQ & number & Natural logarithm of Q & numeric \\ 
+  [5pt] & Q7 & number & 7 day running average of Q & m$^3$/s \\ 
+  [5pt] & Q30 & number & 30 day running average of Q & m$^3$/s \\ 
+   \hline
+\end{tabular}
+}
+\end{table}
+
+
+
+If discharge values are negative or zero, the code will set all of these values to zero and then add a small constant to all of the daily discharge values.  This constant is 0.001 times the mean discharge.  The code will also report on the number of zero and negative values and the size of the constant.  Use EGRET analysis only if the number of zero values is a very small fraction of the total days in the record (say less than 0.1\% of the days), and there are no negative discharge values.  Columns Q7 and Q30 are the 7 and 30 day running averages for the 7 or 30 days ending on this specific date. Table \ref{tab:DailyDF1} lists details of the Daily data frame.
+
+Notice that the \enquote{Day of the year} column can span from 1 to 366. The 366 accounts for leap years. Every day has a consistent day of the year. This means, February 28\textsuperscript{th} is always the 59\textsuperscript{th} day of the year, Feb. 29\textsuperscript{th} is always the 60\textsuperscript{th} day of the year, and March 1\textsuperscript{st} is always the 61\textsuperscript{st} day of the year whether or not it is a leap year.
+
+\FloatBarrier
+
+%------------------------------------------------------------
+\subsection{Sample Data}
+\label{Samplesubsection}
+%------------------------------------------------------------
+The \texttt{getSampleData} function retrieves USGS sample data from NWIS. The arguments for this function are also siteNumber, ParameterCd, StartDate, EndDate, interactive. These are the same inputs as \texttt{getRawQWData} or \texttt{getQWData} as described in the previous section.
+
+\begin{knitrout}
+\definecolor{shadecolor}{rgb}{0.969, 0.969, 0.969}\color{fgcolor}\begin{kframe}
+\begin{alltt}
+\hlstd{parameterCd} \hlkwb{<-} \hlstr{"00618"}
+\hlstd{Sample} \hlkwb{<-}\hlkwd{getSampleData}\hlstd{(siteNumber,parameterCd,}
+      \hlstd{startDate, endDate)}
+\end{alltt}
+\end{kframe}
+\end{knitrout}
+
+The \texttt{getSTORETSampleData} function retrieves STORET sample data (or other non-NWIS data) from the water quality portal. The arguments for this function are siteNumber, characteristicName, StartDate, EndDate, interactive. Table \ref{tab:SampleDataframe} lists details of the Sample data frame. 
+
+\begin{knitrout}
+\definecolor{shadecolor}{rgb}{0.969, 0.969, 0.969}\color{fgcolor}\begin{kframe}
+\begin{alltt}
+\hlstd{site} \hlkwb{<-} \hlstr{'WIDNR_WQX-10032762'}
+\hlstd{characteristicName} \hlkwb{<-} \hlstr{'Specific conductance'}
+\hlstd{Sample} \hlkwb{<-}\hlkwd{getSTORETSampleData}\hlstd{(site,characteristicName,}
+      \hlstd{startDate, endDate)}
+\end{alltt}
+\end{kframe}
+\end{knitrout}
+
+
+\pagebreak
+
+
+\begin{table}
+{\footnotesize
+  \begin{threeparttable}[b]
+  \caption{Sample dataframe}
+  \label{tab:SampleDataframe}
+  \begin{tabular}{llll}
+  \hline
+\multicolumn{1}{c}{\textbf{\textsf{ColumnName}}} & 
+\multicolumn{1}{c}{\textbf{\textsf{Type}}} & 
+\multicolumn{1}{c}{\textbf{\textsf{Description}}} & 
+\multicolumn{1}{c}{\textbf{\textsf{Units}}} \\ 
+  \hline
+  Date & Date & Date & date \\ 
+  [5pt]ConcLow & number & Lower limit of concentration & mg/L \\ 
+  [5pt]ConcHigh & number & Upper limit of concentration & mg/L \\ 
+  [5pt]Uncen & integer & Uncensored data (1=true, 0=false) & integer \\ 
+  [5pt]ConcAve & number & Average of ConcLow and ConcHigh & mg/L \\ 
+  [5pt]Julian & number & Number of days since January 1, 1850 & days \\ 
+  [5pt]Month & integer & Month of the year [1-12] & months \\ 
+  [5pt]Day & integer & Day of the year [1-366] & days \\ 
+  [5pt]DecYear & number & Decimal year & years \\ 
+  [5pt]MonthSeq & integer & Number of months since January 1, 1850 & months \\ 
+  [5pt]SinDY & number & Sine of DecYear & numeric \\ 
+  [5pt]CosDY & number & Cosine of DecYear & numeric \\ 
+  [5pt]Q \tnote{1} & number & Discharge & m\textsuperscript{3}/s \\ 
+  [5pt]LogQ \tnote{1} & number & Natural logarithm of discharge & numeric \\ 
+   \hline
+\end{tabular}
+
+  \begin{tablenotes}
+    \item[1] Discharge columns are populated from data in the Daily dataframe after calling the \texttt{mergeReport} function.
+  \end{tablenotes}
+ \end{threeparttable}
+}
+\end{table}
+
+Notice that the \enquote{Day of the year} column can span from 1 to 366. The 366 accounts for leap years. Every day has a consistent day of the year. This means, February 28\textsuperscript{th} is always the 59\textsuperscript{th} day of the year, Feb. 29\textsuperscript{th} is always the 60\textsuperscript{th} day of the year, and March 1\textsuperscript{st} is always the 61\textsuperscript{st} day of the year whether or not it is a leap year.
+
+Section \ref{sec:cenValues} will talk about summing multiple constituents, including how interval censoring is used. Since the Sample data frame is structured to only contain one constituent, when more than one parameter codes are requested, the \texttt{getSampleData} function will sum the values of each constituent as described below.
+
+\FloatBarrier
+
+
+%------------------------------------------------------------
+\subsection{Censored Values: Summation Explanation}
+\label{sec:cenValues}
+%------------------------------------------------------------
+In the typical case where none of the data are censored (that is, no values are reported as \enquote{less-than} values) the ConcLow = ConcHigh = ConcAve and Uncen = 1 are equal to the reported value.  For the most common type of censoring, where a value is reported as less than the reporting limit, then ConcLow = NA, ConcHigh = reporting limit, ConcAve = 0.5 * reporting limit, and Uncen = 0.
+
+To illustrate how the dataRetrieval package handles a more complex censoring problem, let us say that in 2004 and earlier, we computed total phosphorus (tp) as the sum of dissolved phosphorus (dp) and particulate phosphorus (pp). From 2005 and onward, we have direct measurements of total phosphorus (tp). A small subset of this fictional data looks like Table \ref{tab:exampleComplexQW}.
+
+
+
+% latex table generated in R 3.1.0 by xtable 1.7-3 package
+% Tue Jul 15 09:39:43 2014
+\begin{table}[ht]
+\caption{Example data} 
+\label{tab:exampleComplexQW}
+{\footnotesize
+\begin{tabular}{rllrlrlr}
+  \hline
+ & \multicolumn{1}{c}{\textbf{\textsf{cdate}}} & \multicolumn{1}{c}{\textbf{\textsf{rdp}}} & \multicolumn{1}{c}{\textbf{\textsf{dp}}} & \multicolumn{1}{c}{\textbf{\textsf{rpp}}} & \multicolumn{1}{c}{\textbf{\textsf{pp}}} & \multicolumn{1}{c}{\textbf{\textsf{rtp}}} & \multicolumn{1}{c}{\textbf{\textsf{tp}}} \\ 
+  \hline
+ & 2003-02-15 &  & 0.020 &  & 0.500 &  &  \\ 
+  [5pt] & 2003-06-30 & $<$ & 0.010 &  & 0.300 &  &  \\ 
+  [5pt] & 2004-09-15 & $<$ & 0.005 & $<$ & 0.200 &  &  \\ 
+  [5pt] & 2005-01-30 &  &  &  &  &  & 0.430 \\ 
+  [5pt] & 2005-05-30 &  &  &  &  & $<$ & 0.050 \\ 
+  [5pt] & 2005-10-30 &  &  &  &  & $<$ & 0.020 \\ 
+   \hline
+\end{tabular}
+}
+\end{table}
+
+
+The dataRetrieval package will \enquote{add up} all the values in a given row to form the total for that sample when using the Sample dataframe. Thus, you only want to enter data that should be added together. If you want a dataframe with multiple constituents that are not summed, do not use getSampleData, getSTORETSampleData, or getSampleDataFromFile. The raw data functions: \texttt{getWQPData}, \texttt{retrieveNWISqwData}, \texttt{getRawQWData}, \texttt{getQWData} will not sum constituents, but leave them in their individual columns. 
+
+For example, we might know the value for dp on 5/30/2005, but we don't want to put it in the table because under the rules of this data set, we are not supposed to add it in to the values in 2005.
+
+For every sample, the EGRET package requires a pair of numbers to define an interval in which the true value lies (ConcLow and ConcHigh). In a simple uncensored case (the reported value is above the detection limit), ConcLow equals ConcHigh and the interval collapses down to a single point. In a simple censored case, the value might be reported as \verb@<@0.2, then ConcLow=NA and ConcHigh=0.2. We use NA instead of 0 as a way to elegantly handle future logarithm calculations.
+
+For the more complex example case, let us say dp is reported as \verb@<@0.01 and pp is reported as 0.3. We know that the total must be at least 0.3 and could be as much as 0.31. Therefore, ConcLow=0.3 and ConcHigh=0.31. Another case would be if dp is reported as \verb@<@0.005 and pp is reported \verb@<@0.2. We know in this case that the true value could be as low as zero, but could be as high as 0.205. Therefore, in this case, ConcLow=NA and ConcHigh=0.205. The Sample dataframe for the example data would be:
+
+
+
+\begin{knitrout}
+\definecolor{shadecolor}{rgb}{0.969, 0.969, 0.969}\color{fgcolor}\begin{kframe}
+\begin{alltt}
+  \hlstd{Sample}
+\end{alltt}
+\begin{verbatim}
+        Date ConcLow ConcHigh Uncen ConcAve Julian Month
+1 2003-02-15    0.52    0.520     1  0.5200  55927     2
+2 2003-06-30    0.30    0.310     0  0.3050  56062     6
+3 2004-09-15      NA    0.205     0  0.1025  56505     9
+4 2005-01-30    0.43    0.430     1  0.4300  56642     1
+5 2005-05-30      NA    0.050     0  0.0250  56762     5
+6 2005-10-30      NA    0.020     0  0.0100  56915    10
+  Day DecYear MonthSeq    SinDY   CosDY
+1  46    2003     1838  0.70407  0.7101
+2 182    2003     1842  0.02575 -0.9997
+3 259    2005     1857 -0.96251 -0.2712
+4  30    2005     1861  0.48506  0.8745
+5 151    2005     1865  0.52943 -0.8484
+6 304    2006     1870 -0.87861  0.4775
+\end{verbatim}
+\end{kframe}
+\end{knitrout}
+
+Section \ref{sec:userFiles} discusses inputting user-generated files. The functions \texttt{getSampleDataFromFile} and \texttt{getSampleData} assume summation with interval censoring inputs, and are discussed in sections \ref{sec:DailyFile} and \ref{sec:SampleFile}.
+
+\FloatBarrier
+
+%------------------------------------------------------------ 
+\subsection{User-Generated Data Files}
+\label{sec:userFiles}
+%------------------------------------------------------------ 
+In addition to retrieving data from the USGS web services, the dataRetrieval package also includes functions to generate the Daily and Sample data frame from local files.
+
+%------------------------------------------------------------ 
+\subsubsection{getDailyDataFromFile}
+\label{sec:DailyFile}
+%------------------------------------------------------------ 
+The \texttt{getDailyDataFromFile} function will load a user-supplied text file and convert it to the Daily dataframe. The file should have two columns, the first dates, the second values.  The dates are formatted either mm/dd/yyyy or yyyy-mm-dd. Using a 4-digit year is required. This function has the following inputs: filePath, fileName,hasHeader (TRUE/FALSE), separator, qUnit, and interactive (TRUE/FALSE). filePath is a string that defines the path to your file, and the string can either be a full path, or path relative to your R working directory. The input fileName is a string that defines the file name (including the extension).
+
+Text files that contain this sort of data require some sort of a separator, for example, a \enquote{csv} file (comma-separated value) file uses a comma to separate the date and value column. A tab delimited file would use a tab (\verb@"\t"@) rather than the comma (\texttt{"},\texttt{"}). Define the type of separator you choose to use in the function call in the \texttt{"}separator\texttt{"} argument, the default is \texttt{"},\texttt{"}. Another function input is a logical variable: hasHeader.  The default is TRUE. If your data does not have column names, set this variable to FALSE.
+
+Finally, qUnit is a numeric argument that defines the discharge units used in the input file.  The default is qUnit = 1 which assumes discharge is in cubic feet per second.  If the discharge in the file is already in cubic meters per second then set qUnit = 2.  If it is in some other units (like liters per second or acre-feet per day), the user must pre-process the data with a unit conversion that changes it to either cubic feet per second or cubic meters per second.
+
+So, if you have a file called \enquote{ChoptankRiverFlow.txt} located in a folder called \enquote{RData} on the C drive (this is a Windows example), and the file is structured as follows (tab-separated):
+
+
+\singlespacing
+\begin{verbatim}
+date  Qdaily
+10/1/1999  107
+10/2/1999  85
+10/3/1999	76
+10/4/1999	76
+10/5/1999	113
+10/6/1999	98
+...
+\end{verbatim}
+\doublespacing
+
+The call to open this file, convert the discharge to cubic meters per second, and populate the Daily data frame would be:
+\begin{knitrout}
+\definecolor{shadecolor}{rgb}{0.969, 0.969, 0.969}\color{fgcolor}\begin{kframe}
+\begin{alltt}
+\hlstd{fileName} \hlkwb{<-} \hlstr{"ChoptankRiverFlow.txt"}
+\hlstd{filePath} \hlkwb{<-}  \hlstr{"C:/RData/"}
+\hlstd{Daily} \hlkwb{<-} \hlkwd{getDailyDataFromFile}\hlstd{(filePath,fileName,}
+                    \hlkwc{separator}\hlstd{=}\hlstr{"\textbackslash{}t"}\hlstd{)}
+\end{alltt}
+\end{kframe}
+\end{knitrout}
+
+Microsoft Excel files can be a bit tricky to import into R directly. The simplest way to get Excel data into R is to open the Excel file in Excel, then save it as a .csv file (comma-separated values). 
+
+\FloatBarrier
+
+%------------------------------------------------------------ 
+\subsubsection{getSampleDataFromFile}
+\label{sec:SampleFile}
+%------------------------------------------------------------ 
+
+\doublespacing
+The \texttt{getSampleDataFromFile} function will import a user-generated file and populate the Sample dataframe. The difference between sample data and discharge data is that the code requires a third column that contains a remark code, either blank or \verb@"<"@, which will tell the program that the data was \enquote{left-censored} (or, below the detection limit of the sensor). Therefore, the data must be in the form: date, remark, value.   An example of a comma-delimited file is:
+
+\singlespacing
+\begin{verbatim}
+cdate;remarkCode;Nitrate
+10/7/1999,,1.4
+11/4/1999,<,0.99
+12/3/1999,,1.42
+1/4/2000,,1.59
+2/3/2000,,1.54
+...
+\end{verbatim}
+\doublespacing
+
+The call to open this file, and populate the Sample dataframe is:
+\begin{knitrout}
+\definecolor{shadecolor}{rgb}{0.969, 0.969, 0.969}\color{fgcolor}\begin{kframe}
+\begin{alltt}
+\hlstd{fileName} \hlkwb{<-} \hlstr{"ChoptankRiverNitrate.csv"}
+\hlstd{filePath} \hlkwb{<-}  \hlstr{"C:/RData/"}
+\hlstd{Sample} \hlkwb{<-} \hlkwd{getSampleDataFromFile}\hlstd{(filePath,fileName,}
+                                \hlkwc{separator}\hlstd{=}\hlstr{","}\hlstd{)}
+\end{alltt}
+\end{kframe}
+\end{knitrout}
+
+When multiple constituents are to be summed, the format can be date, remark\_A, value\_A, remark\_b, value\_b, etc... A tab-separated example might look like the file below, where the columns are date, remark dissolved phosphate (rdp), dissolved phosphate (dp), remark particulate phosphorus (rpp), particulate phosphorus (pp), remark total phosphate (rtp), and total phosphate (tp):
+
+\singlespacing
+\begin{verbatim}
+date  rdp	dp	rpp	pp	rtp	tp
+2003-02-15		0.020		0.500		
+2003-06-30	<	0.010		0.300		
+2004-09-15	<	0.005	<	0.200		
+2005-01-30						0.430
+2005-05-30					<	0.050
+2005-10-30					<	0.020
+...
+\end{verbatim}
+\doublespacing
+\begin{knitrout}
+\definecolor{shadecolor}{rgb}{0.969, 0.969, 0.969}\color{fgcolor}\begin{kframe}
+\begin{alltt}
+\hlstd{fileName} \hlkwb{<-} \hlstr{"ChoptankPhosphorus.txt"}
+\hlstd{filePath} \hlkwb{<-}  \hlstr{"C:/RData/"}
+\hlstd{Sample} \hlkwb{<-} \hlkwd{getSampleDataFromFile}\hlstd{(filePath,fileName,}
+                                \hlkwc{separator}\hlstd{=}\hlstr{"\textbackslash{}t"}\hlstd{)}
+\end{alltt}
+\end{kframe}
+\end{knitrout}
+
+
+\FloatBarrier
+
+%------------------------------------------------------------
+\subsection{Merge Report}
+%------------------------------------------------------------
+Finally, there is a function called \texttt{mergeReport} that will look at both the Daily and Sample dataframe, and populate Q and LogQ columns into the Sample dataframe. The default arguments are Daily and Sample, however if you want to use other similarly structured dataframes, you can specify localDaily or localSample. Once \texttt{mergeReport} has been run, the Sample dataframe will be augmented with the daily discharges for all the days with samples.  None of the water quality functions in EGRET will work without first having run the \texttt{mergeReport} function.
+
+
+\begin{knitrout}
+\definecolor{shadecolor}{rgb}{0.969, 0.969, 0.969}\color{fgcolor}\begin{kframe}
+\begin{alltt}
+\hlstd{siteNumber} \hlkwb{<-} \hlstr{"01491000"}
+\hlstd{parameterCd} \hlkwb{<-} \hlstr{"00631"}  \hlcom{# Nitrate}
+\hlstd{startDate} \hlkwb{<-} \hlstr{"2000-01-01"}
+\hlstd{endDate} \hlkwb{<-} \hlstr{"2013-01-01"}
+
+\hlstd{Daily} \hlkwb{<-} \hlkwd{getDVData}\hlstd{(siteNumber,} \hlstr{"00060"}\hlstd{, startDate, endDate)}
+\end{alltt}
+\begin{verbatim}
+There are 4750 data points, and 4750 days.
+\end{verbatim}
+\begin{alltt}
+\hlstd{Sample} \hlkwb{<-} \hlkwd{getSampleData}\hlstd{(siteNumber,parameterCd, startDate, endDate)}
+\hlstd{Sample} \hlkwb{<-} \hlkwd{mergeReport}\hlstd{()}
+\end{alltt}
+\begin{verbatim}
+
+ Discharge Record is 4750 days long, which is 13 years
+ First day of the discharge record is 2000-01-01 and last day is 2013-01-01
+ The water quality record has 222 samples
+ The first sample is from 2000-01-04 and the last sample is from 2012-12-18
+ Discharge: Minimum, mean and maximum 0.00991 4.55 246
+ Concentration: Minimum, mean and maximum 0.2 1.2 2.4
+ Percentage of the sample values that are censored is 0 %
+\end{verbatim}
+\begin{alltt}
+\hlkwd{head}\hlstd{(Sample)}
+\end{alltt}
+\begin{verbatim}
+        Date ConcLow ConcHigh Uncen ConcAve Julian Month
+1 2000-01-04    1.59     1.59     1    1.59  54789     1
+2 2000-02-03    1.54     1.54     1    1.54  54819     2
+3 2000-02-15    1.37     1.37     1    1.37  54831     2
+4 2000-02-19    1.24     1.24     1    1.24  54835     2
+5 2000-03-23    0.52     0.52     1    0.52  54868     3
+6 2000-06-05    1.11     1.11     1    1.11  54942     6
+  Day DecYear MonthSeq   SinDY   CosDY      Q   LogQ
+1   4    2000     1801 0.06005  0.9982  2.747 1.0104
+2  34    2000     1802 0.54392  0.8391  3.936 1.3702
+3  46    2000     1802 0.70407  0.7101 10.845 2.3837
+4  50    2000     1802 0.75113  0.6602 15.518 2.7420
+5  83    2000     1803 0.98809  0.1539 56.917 4.0416
+6 157    2000     1806 0.43940 -0.8983  1.812 0.5946
+\end{verbatim}
+\end{kframe}
+\end{knitrout}
+
+\FloatBarrier
+
+%------------------------------------------------------------
+\subsection{EGRET Plots}
+%------------------------------------------------------------
+The Daily, Sample, and INFO data frames (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.
+
+\begin{knitrout}
+\definecolor{shadecolor}{rgb}{0.969, 0.969, 0.969}\color{fgcolor}\begin{kframe}
+\begin{alltt}
+\hlcom{# Continuing Choptank example from the previous sections}
+\hlkwd{library}\hlstd{(EGRET)}
+\hlkwd{multiPlotDataOverview}\hlstd{()}
+\end{alltt}
+\end{kframe}\begin{figure}[]
+
+\includegraphics[width=\maxwidth]{figure/egretEx} \caption[Default multiPlotDataOverview]{Default multiPlotDataOverview\label{fig:egretEx}}
+\end{figure}
+
+
+\end{knitrout}
+
+\FloatBarrier
+\clearpage
+
+
+%------------------------------------------------------------
+\section{Summary}
+\label{sec:summary}
+%------------------------------------------------------------
+
+Tables \ref{tab:dataRetrievalFunctions1} and \ref{tab:dataRetrievalMisc} summarize the data retrieval functions:
+
+\begin{table}
+{\footnotesize
+  \begin{threeparttable}[b]
+  \caption{dataRetrieval functions}
+  \label{tab:dataRetrievalFunctions1}
+%   \doublespacing
+\begin{tabular}{lll}
+  \hline
+\multicolumn{1}{c}{\textbf{\textsf{Data Type}}} &
+\multicolumn{1}{c}{\textbf{\textsf{Function Name}}} &
+\multicolumn{1}{c}{\textbf{\textsf{Description}}} \\ [0pt]
+  \hline
+  Daily & \texttt{retrieveNWISData} & Raw USGS daily data \\ 
+  [5pt]Daily\tnote{1} & \texttt{getDVData} & USGS daily values \\ 
+  [5pt]Daily\tnote{1} & \texttt{getDailyDataFromFile} & User generated daily data \\ 
+  [5pt]Sample & \texttt{retrieveNWISqwData} & Raw USGS water quality data \\
+  [5pt]Sample & \texttt{getRawQWData} & Raw Water Quality Data Portal data \\ 
+  [5pt]Sample & \texttt{getQWDataFromFile} & Raw user generated water quality data \\ 
+  [5pt]Sample & \texttt{getQWData} & USGS Water Quality Portal data \\
+  [5pt]Sample & \texttt{getWQPData} & General Water Quality Portal\\
+  [5pt]Sample\tnote{1} & \texttt{getSampleData} & USGS water quality data\\
+  [5pt]Sample\tnote{1} & \texttt{getSTORETSampleData} & STORET Water Quality Data Portal data \\
+  [5pt]Sample\tnote{1} & \texttt{getSampleDataFromFile} & User generated sample data \\ 
+  [5pt]Unit & \texttt{retrieveUnitNWISData} & Raw USGS instantaneous data \\
+  [5pt]Information\tnote{1} & \texttt{getMetaData} & USGS station and parameter code information \\ 
+  [5pt]Information & \texttt{getParameterInfo} & USGS parameter code information \\ 
+  [5pt]Information & \texttt{getSiteFileData} & USGS station information \\ 
+  [5pt]Information & \texttt{getDataAvailability} & Data available at USGS stations \\ 
+   \hline
+\end{tabular}
+
+  \begin{tablenotes}
+    \item[1] Indicates that the function creates a data frame suitable for use in EGRET software
+  \end{tablenotes}
+ \end{threeparttable}
+}
+\end{table}
+
+
+\begin{table}[!ht]
+\begin{minipage}{\linewidth}
+{\footnotesize
+\caption{dataRetrieval miscellaneous functions} 
+\label{tab:dataRetrievalMisc}
+\begin{tabular}{ll}
+  \hline
+\multicolumn{1}{c}{\textbf{\textsf{Function Name}}} &
+\multicolumn{1}{c}{\textbf{\textsf{Description}}} \\  [0pt]
+  \hline
+  \texttt{compressData} &  Converts value/qualifier into ConcLow, ConcHigh, Uncen\\
+  [5pt]\texttt{getRDB1Data} & Retrieves and converts RDB data to dataframe\\
+  [5pt]\texttt{getWaterML1Data} & Retrieves and converts WaterML1 data to dataframe\\
+  [5pt]\texttt{getWaterML2Data} & Retrieves and converts WaterML2 data to dataframe\\
+  [5pt]\texttt{mergeReport} & Merges flow data from the daily record into the sample record\\
+  [5pt]\texttt{populateDateColumns} & Generates Julian, Month, Day, DecYear, and MonthSeq columns\\
+  [5pt]\texttt{removeDuplicates} & Removes duplicated rows\\
+  [5pt]\texttt{renameColumns} & Renames columns from raw data retrievals\\
+   \hline
+\end{tabular}
+}
+\end{minipage}
+\end{table}
+
+\FloatBarrier
+\clearpage
+
+
+%------------------------------------------------------------ 
+\section{Getting Started in R}
+\label{sec:appendix1}
+%------------------------------------------------------------ 
+This section describes the options for downloading and installing the dataRetrieval package.
+
+%------------------------------------------------------------
+\subsection{New to R?}
+%------------------------------------------------------------ 
+If you are new to R, you will need to first install the latest version of R, which can be found here: \url{http://www.r-project.org/}.
+
+At any time, you can get information about any function in R by typing a question mark before the functions name.  This will open a file (in RStudio, in the Help window) that describes the function, the required arguments, and provides working examples.
+
+\begin{knitrout}
+\definecolor{shadecolor}{rgb}{0.969, 0.969, 0.969}\color{fgcolor}\begin{kframe}
+\begin{alltt}
+\hlopt{?}\hlstd{removeDuplicates}
+\end{alltt}
+\end{kframe}
+\end{knitrout}
+
+This will open a help file similar to Figure \ref{fig:help}.
+
+\FloatBarrier
+
+To see the raw code for a particular code, type the name of the function, without parentheses.:
+\begin{knitrout}
+\definecolor{shadecolor}{rgb}{0.969, 0.969, 0.969}\color{fgcolor}\begin{kframe}
+\begin{alltt}
+\hlstd{removeDuplicates}
+\end{alltt}
+\begin{verbatim}
+function (localSample = Sample) 
+{
+    Sample1 <- localSample[!duplicated(localSample[c("DecYear", 
+        "ConcHigh")]), ]
+    return(Sample1)
+}
+<environment: namespace:dataRetrieval>
+\end{verbatim}
+\end{kframe}
+\end{knitrout}
+
+
+\begin{figure}[ht!]
+\centering
+ \resizebox{0.95\textwidth}{!}{\includegraphics{Rhelp.png}} 
+\caption{A simple R help file}
+\label{fig:help}
+\end{figure}
+
+Additionally, many R packages have vignette files attached (such as this paper). To view the vignette:
+\begin{knitrout}
+\definecolor{shadecolor}{rgb}{0.969, 0.969, 0.969}\color{fgcolor}\begin{kframe}
+\begin{alltt}
+\hlkwd{vignette}\hlstd{(dataRetrieval)}
+\end{alltt}
+\end{kframe}
+\end{knitrout}
+
+\FloatBarrier
+\clearpage
+%------------------------------------------------------------
+\subsection{R User: Installing dataRetrieval}
+%------------------------------------------------------------ 
+The following command installs dataRetrieval and subsequent required packages:
+
+\begin{knitrout}
+\definecolor{shadecolor}{rgb}{0.969, 0.969, 0.969}\color{fgcolor}\begin{kframe}
+\begin{alltt}
+\hlkwd{install.packages}\hlstd{(}\hlstr{"dataRetrieval"}\hlstd{,}
+\hlkwc{repos}\hlstd{=}\hlkwd{c}\hlstd{(}\hlstr{"http://usgs-r.github.com"}\hlstd{,}\hlstr{"http://cran.us.r-project.org"}\hlstd{),}
+\hlkwc{dependencies}\hlstd{=}\hlnum{TRUE}\hlstd{,}
+\hlkwc{type}\hlstd{=}\hlstr{"both"}\hlstd{)}
+\end{alltt}
+\end{kframe}
+\end{knitrout}
+
+After installing the package, you need to open the library each time you re-start R.  This is done with the simple command:
+\begin{knitrout}
+\definecolor{shadecolor}{rgb}{0.969, 0.969, 0.969}\color{fgcolor}\begin{kframe}
+\begin{alltt}
+\hlkwd{library}\hlstd{(dataRetrieval)}
+\end{alltt}
+\end{kframe}
+\end{knitrout}
+
+
+%------------------------------------------------------------ 
+\section{Creating tables in Microsoft from R}
+\label{app:createWordTable}
+%------------------------------------------------------------
+There are a few steps that are required in order to create a table in a Microsoft product (Excel, Word, Powerpoint, etc.) from an R dataframe. There are certainly a variety of good methods, one of which is detailed here. The example we will step through here will be to create a table in Microsoft Excel based on the dataframe tableData:
+
+\begin{knitrout}
+\definecolor{shadecolor}{rgb}{0.969, 0.969, 0.969}\color{fgcolor}\begin{kframe}
+\begin{alltt}
+\hlstd{availableData} \hlkwb{<-} \hlkwd{getDataAvailability}\hlstd{(siteNumber)}
+\hlstd{dailyData} \hlkwb{<-} \hlstd{availableData[}\hlstr{"dv"} \hlopt{==} \hlstd{availableData}\hlopt{$}\hlstd{service,]}
+\hlstd{dailyData} \hlkwb{<-} \hlstd{dailyData[}\hlstr{"00003"} \hlopt{==} \hlstd{dailyData}\hlopt{$}\hlstd{statCd,]}
+
+\hlstd{tableData} \hlkwb{<-} \hlkwd{with}\hlstd{(dailyData,}
+      \hlkwd{data.frame}\hlstd{(}
+        \hlkwc{shortName}\hlstd{=srsname,}
+        \hlkwc{Start}\hlstd{=startDate,}
+        \hlkwc{End}\hlstd{=endDate,}
+        \hlkwc{Count}\hlstd{=count,}
+        \hlkwc{Units}\hlstd{=parameter_units)}
+      \hlstd{)}
+\hlstd{tableData}
+\end{alltt}
+\begin{verbatim}
+                               shortName      Start
+1                     Temperature, water 2010-10-01
+2               Stream flow, mean. daily 1948-01-01
+3                   Specific conductance 2010-10-01
+4 Suspended sediment concentration (SSC) 1980-10-01
+5           Suspended sediment discharge 1980-10-01
+         End Count      Units
+1 2012-05-09   529      deg C
+2 2014-07-14 24302      ft3/s
+3 2012-05-09   527 uS/cm @25C
+4 1991-09-30  3651       mg/l
+5 1991-09-30  3652   tons/day
+\end{verbatim}
+\end{kframe}
+\end{knitrout}
+
+First, save the dataframe as a tab delimited file (you don't want to use comma delimited because there are commas in some of the data elements):
+
+
+\begin{knitrout}
+\definecolor{shadecolor}{rgb}{0.969, 0.969, 0.969}\color{fgcolor}\begin{kframe}
+\begin{alltt}
+\hlkwd{write.table}\hlstd{(tableData,} \hlkwc{file}\hlstd{=}\hlstr{"tableData.tsv"}\hlstd{,}\hlkwc{sep}\hlstd{=}\hlstr{"\textbackslash{}t"}\hlstd{,}
+            \hlkwc{row.names} \hlstd{=} \hlnum{FALSE}\hlstd{,}\hlkwc{quote}\hlstd{=}\hlnum{FALSE}\hlstd{)}
+\end{alltt}
+\end{kframe}
+\end{knitrout}
+
+This will save a file in your working directory called tableData.tsv.  You can see your working directory by typing getwd() in the R console. Opening the file in a general-purpose text editor, you should see the following:
+
+\begin{verbatim}
+shortName  Start  End	Count	Units
+Temperature, water	2010-10-01	2012-06-24	575	deg C
+Stream flow, mean. daily	1948-01-01	2013-03-13	23814	ft3/s
+Specific conductance	2010-10-01	2012-06-24	551	uS/cm @25C
+Suspended sediment concentration (SSC)	1980-10-01	1991-09-30	3651	mg/l
+Suspended sediment discharge	1980-10-01	1991-09-30	3652	tons/day
+\end{verbatim}
+
+Next, follow the steps below to open this file in Excel:
+\begin{enumerate}
+\item Open Excel
+\item Click on the File tab
+\item Click on the Open option
+\item Navigate to the working directory (as shown in the results of getwd())
+\item Next to the File name text box, change the dropdown type to All Files (*.*)
+\item Double click tableData.tsv
+\item A text import wizard will open up, in the first window, choose the Delimited radio button if it is not automatically picked, then click on Next.
+\item In the second window, click on the Tab delimiter if it is not automatically checked, then click Finished.
+\item Use the many formatting tools within Excel to customize the table
+\end{enumerate}
+
+From Excel, it is simple to copy and paste the tables in other Microsoft products. An example using one of the default Excel table formats is here.
+
+\begin{figure}[ht!]
+\centering
+ \resizebox{0.9\textwidth}{!}{\includegraphics{table1.png}} 
+\caption{A simple table produced in Microsoft Excel}
+\label{overflow}
+\end{figure}
+
+\clearpage
+
+% %------------------------------------------------------------
+% % BIBLIO
+% %------------------------------------------------------------
+% \begin{thebibliography}{10}
+% 
+% \bibitem{HirschI}
+% Helsel, D.R. and R. M. Hirsch, 2002. Statistical Methods in Water Resources Techniques of Water Resources Investigations, Book 4, chapter A3. U.S. Geological Survey. 522 pages. \url{http://pubs.usgs.gov/twri/twri4a3/}
+% 
+% \bibitem{HirschII}
+% Hirsch, R. M., Moyer, D. L. and Archfield, S. A. (2010), Weighted Regressions on Time, Discharge, and Season (WRTDS), with an Application to Chesapeake Bay River Inputs. JAWRA Journal of the American Water Resources Association, 46: 857-880. doi: 10.1111/j.1752-1688.2010.00482.x \url{http://onlinelibrary.wiley.com/doi/10.1111/j.1752-1688.2010.00482.x/full}
+% 
+% \bibitem{HirschIII}
+% Sprague, L. A., Hirsch, R. M., and Aulenbach, B. T. (2011), Nitrate in the Mississippi River and Its Tributaries, 1980 to 2008: Are We Making Progress? Environmental Science \& Technology, 45 (17): 7209-7216. doi: 10.1021/es201221s \url{http://pubs.acs.org/doi/abs/10.1021/es201221s}
+% 
+% \end{thebibliography}
+
+% \end{document}
+
+\end{document}
diff --git a/vignettes/dataRetrieval.toc b/vignettes/dataRetrieval.toc
new file mode 100644
index 0000000000000000000000000000000000000000..7109b28de4d8a7d2e2565bfdb7812c404d83f893
--- /dev/null
+++ b/vignettes/dataRetrieval.toc
@@ -0,0 +1,28 @@
+\select@language {american}
+\contentsline {section}{\numberline {1}Introduction to dataRetrieval}{4}{section.1}
+\contentsline {section}{\numberline {2}General USGS Web Retrievals}{5}{section.2}
+\contentsline {subsection}{\numberline {2.1}Site Information}{7}{subsection.2.1}
+\contentsline {subsubsection}{\numberline {2.1.1}getSiteFileData}{7}{subsubsection.2.1.1}
+\contentsline {subsubsection}{\numberline {2.1.2}getDataAvailability}{8}{subsubsection.2.1.2}
+\contentsline {subsection}{\numberline {2.2}Parameter Information}{9}{subsection.2.2}
+\contentsline {subsection}{\numberline {2.3}Daily Values}{9}{subsection.2.3}
+\contentsline {subsection}{\numberline {2.4}Unit Values}{13}{subsection.2.4}
+\contentsline {subsection}{\numberline {2.5}Water Quality Values}{14}{subsection.2.5}
+\contentsline {subsection}{\numberline {2.6}STORET Water Quality Retrievals}{16}{subsection.2.6}
+\contentsline {subsection}{\numberline {2.7}URL Construction}{16}{subsection.2.7}
+\contentsline {section}{\numberline {3}Data Retrievals Structured For Use In The EGRET Package}{17}{section.3}
+\contentsline {subsection}{\numberline {3.1}INFO Data}{17}{subsection.3.1}
+\contentsline {subsection}{\numberline {3.2}Daily Data}{17}{subsection.3.2}
+\contentsline {subsection}{\numberline {3.3}Sample Data}{19}{subsection.3.3}
+\contentsline {subsection}{\numberline {3.4}Censored Values: Summation Explanation}{20}{subsection.3.4}
+\contentsline {subsection}{\numberline {3.5}User-Generated Data Files}{22}{subsection.3.5}
+\contentsline {subsubsection}{\numberline {3.5.1}getDailyDataFromFile}{22}{subsubsection.3.5.1}
+\contentsline {subsubsection}{\numberline {3.5.2}getSampleDataFromFile}{24}{subsubsection.3.5.2}
+\contentsline {subsection}{\numberline {3.6}Merge Report}{25}{subsection.3.6}
+\contentsline {subsection}{\numberline {3.7}EGRET Plots}{26}{subsection.3.7}
+\contentsline {section}{\numberline {4}Summary}{28}{section.4}
+\contentsline {section}{\numberline {5}Getting Started in R}{30}{section.5}
+\contentsline {subsection}{\numberline {5.1}New to R?}{30}{subsection.5.1}
+\contentsline {subsection}{\numberline {5.2}R User: Installing dataRetrieval}{32}{subsection.5.2}
+\contentsline {section}{\numberline {6}Creating tables in Microsoft from R}{32}{section.6}
+\contentsfinish 
diff --git a/vignettes/figure/egretEx.pdf b/vignettes/figure/egretEx.pdf
index 39a81b07735532d3dc3a561c44638dd08d882d3c..902e26ebf2d7681c1e9ffbbd00e2f9e6c9d7764c 100644
Binary files a/vignettes/figure/egretEx.pdf and b/vignettes/figure/egretEx.pdf differ
diff --git a/vignettes/figure/getNWIStemperaturePlot.pdf b/vignettes/figure/getNWIStemperaturePlot.pdf
index 5df737791ebf8df9ed4d04f4795cceb0a66dcc40..195b377ef223943cc6cc2f12086c850e17e92b09 100644
Binary files a/vignettes/figure/getNWIStemperaturePlot.pdf and b/vignettes/figure/getNWIStemperaturePlot.pdf differ
diff --git a/vignettes/figure/getQWtemperaturePlot.pdf b/vignettes/figure/getQWtemperaturePlot.pdf
index ba0d024902a7ef2551697b105048df3541e6bd7c..a61cf799470a0b907fa21b3ad5a4273a04b53a7e 100644
Binary files a/vignettes/figure/getQWtemperaturePlot.pdf and b/vignettes/figure/getQWtemperaturePlot.pdf differ