diff --git a/vignettes/dataRetrieval-concordance.tex b/vignettes/dataRetrieval-concordance.tex index a7ff1f2180c6f5c1817cd311b3d1af91dd01f43c..c30df2de1f939d12dfcc4addeed47cb367388f51 100644 --- a/vignettes/dataRetrieval-concordance.tex +++ b/vignettes/dataRetrieval-concordance.tex @@ -1,9 +1,9 @@ \Sconcordance{concordance:dataRetrieval.tex:dataRetrieval.Rnw:% -1 126 1 49 0 1 7 15 1 1 14 55 1 3 0 36 1 2 0 11 1 24 % +1 127 1 49 0 1 7 15 1 1 14 55 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 12 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 % +4 4 1 20 0 44 1 4 0 30 1 4 0 22 1 4 0 21 1 37 0 13 1 % 9 0 94 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 index 8ac527e5dae3d03e3e021d3ca84816bae57aa58a..603352223e668078ae445cfb60e567cf294ec38b 100644 --- a/vignettes/dataRetrieval.lof +++ b/vignettes/dataRetrieval.lof @@ -1,7 +1,7 @@ \select@language {american} -\contentsline {figure}{\numberline {1}{\ignorespaces Temperature and discharge plot of Choptank River in 2012}}{11}{figure.caption.4} -\contentsline {figure}{\numberline {2}{\ignorespaces Nitrate plot of Choptank River}}{14}{figure.caption.5} -\contentsline {figure}{\numberline {3}{\ignorespaces Default multiPlotDataOverview}}{26}{figure.caption.10} -\contentsline {figure}{\numberline {4}{\ignorespaces A simple R help file\relax }}{30}{figure.caption.14} -\contentsline {figure}{\numberline {5}{\ignorespaces A simple table produced in Microsoft\textregistered \ Excel. Additional formatting will be requried, for example converting u to $\mu $ \relax }}{33}{figure.caption.15} +\contentsline {figure}{\numberline {1}{\ignorespaces Temperature and discharge plot of Choptank River in 2012}}{10}{figure.caption.4} +\contentsline {figure}{\numberline {2}{\ignorespaces Nitrate plot of Choptank River}}{13}{figure.caption.5} +\contentsline {figure}{\numberline {3}{\ignorespaces Default multiPlotDataOverview}}{23}{figure.caption.10} +\contentsline {figure}{\numberline {4}{\ignorespaces A simple R help file\relax }}{27}{figure.caption.14} +\contentsline {figure}{\numberline {5}{\ignorespaces A simple table produced in Microsoft\textregistered \ Excel. Additional formatting will be requried, for example converting u to $\mu $ \relax }}{30}{figure.caption.15} \contentsfinish diff --git a/vignettes/dataRetrieval.log b/vignettes/dataRetrieval.log index 815c8cec36ef1f415c819d72ed43b8bfebb6dbdb..34e622c2d5d5fa501f5705896d6824243d1752b1 100644 --- a/vignettes/dataRetrieval.log +++ b/vignettes/dataRetrieval.log @@ -1,4 +1,4 @@ -This is pdfTeX, Version 3.1415926-2.5-1.40.14 (MiKTeX 2.9) (preloaded format=pdflatex 2014.8.7) 11 SEP 2014 16:26 +This is pdfTeX, Version 3.1415926-2.5-1.40.14 (MiKTeX 2.9) (preloaded format=pdflatex 2014.8.7) 17 SEP 2014 13:24 entering extended mode **dataRetrieval.tex (D:\LADData\RCode\dataRetrieval\vignettes\dataRetrieval.tex @@ -427,9 +427,6 @@ 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) ) @@ -540,29 +537,29 @@ 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. +LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 175. +LaTeX Font Info: ... okay on input line 175. +LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 175. +LaTeX Font Info: ... okay on input line 175. +LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 175. +LaTeX Font Info: ... okay on input line 175. +LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 175. +LaTeX Font Info: ... okay on input line 175. +LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 175. +LaTeX Font Info: ... okay on input line 175. +LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 175. +LaTeX Font Info: ... okay on input line 175. +LaTeX Font Info: Checking defaults for PD1/pdf/m/n on input line 175. +LaTeX Font Info: ... okay on input line 175. +LaTeX Font Info: Checking defaults for TS1/cmr/m/n on input line 175. +LaTeX Font Info: Try loading font information for TS1+cmr on input line 175. ("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. +LaTeX Font Info: ... okay on input line 175. +LaTeX Font Info: Try loading font information for OT1+ptm on input line 175. ("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\psnfss\ot1ptm.fd" @@ -583,7 +580,7 @@ File: ot1ptm.fd 2001/06/04 font definitions for OT1/ptm. \everyMPtoPDFconversion=\toks25 ) \AtBeginShipoutBox=\box32 -Package hyperref Info: Link coloring OFF on input line 174. +Package hyperref Info: Link coloring OFF on input line 175. ("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\hyperref\nameref.sty" Package: nameref 2012/10/27 v2.43 Cross-referencing by name of section @@ -592,9 +589,9 @@ 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. +LaTeX Info: Redefining \ref on input line 175. +LaTeX Info: Redefining \pageref on input line 175. +LaTeX Info: Redefining \nameref on input line 175. (D:\LADData\RCode\dataRetrieval\vignettes\dataRetrieval.out) (D:\LADData\RCode\dataRetrieval\vignettes\dataRetrieval.out) @@ -603,36 +600,30 @@ 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+phv on input line 194. +LaTeX Font Info: Try loading font information for OT1+phv on input line 195. ("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 18.66588pt on input line 194. +(Font) scaled to size 18.66588pt on input line 195. LaTeX Font Info: Font shape `OT1/phv/bx/n' in size <20.74> not available -(Font) Font shape `OT1/phv/b/n' tried instead on input line 194. +(Font) Font shape `OT1/phv/b/n' tried instead on input line 195. LaTeX Font Info: Font shape `OT1/phv/b/n' will be -(Font) scaled to size 18.66588pt on input line 194. +(Font) scaled to size 18.66588pt on input line 195. LaTeX Font Info: Font shape `OT1/phv/m/n' will be -(Font) scaled to size 9.85492pt on input line 196. +(Font) scaled to size 9.85492pt on input line 197. 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 204. +(Font) Font shape `OT1/phv/b/n' tried instead on input line 205. LaTeX Font Info: Font shape `OT1/phv/b/n' will be -(Font) scaled to size 9.85492pt on input line 204. +(Font) scaled to size 9.85492pt on input line 205. 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 204. +(Font) Font shape `OT1/phv/b/n' tried instead on input line 205. LaTeX Font Info: Font shape `OT1/phv/b/n' will be -(Font) scaled to size 15.55188pt on input line 204. +(Font) scaled to size 15.55188pt on input line 205. (D:\LADData\RCode\dataRetrieval\vignettes\dataRetrieval.toc -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 TS1+ptm on input line 27. ("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\psnfss\ts1ptm.fd" @@ -683,6 +674,12 @@ LaTeX Font Info: Font shape `OT1/ptm/bx/n' in size <6> not available \tf@lof=\write5 (D:\LADData\RCode\dataRetrieval\vignettes\dataRetrieval.lot +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}] Overfull \hbox (1.53842pt too wide) in paragraph at lines 4--4 []|\OT1/phv/b/n/10.95 Table| | [][]\OT1/phv/m/n/10.95 Daily mean data avail-ab ile at the Chop-tank River near Greens-boro, MD. [Some columns @@ -695,18 +692,18 @@ Overfull \vbox (21.68121pt too high) has occurred while \output is active [] [2] -Package color Info: Redefining color shadecolor on input line 223. -LaTeX Font Info: Try loading font information for OT1+pcr on input line 224. +Package color Info: Redefining color shadecolor on input line 224. +LaTeX Font Info: Try loading font information for OT1+pcr on input line 225. ("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 225. +(Font) Font shape `OT1/pcr/b/n' tried instead on input line 226. 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 226. +(Font) Font shape `OT1/pcr/m/sl' tried instead on input line 227. -Underfull \vbox (badness 10000) detected at line 249 +Overfull \vbox (0.53902pt too high) detected at line 250 [] @@ -714,127 +711,127 @@ Overfull \vbox (21.68121pt too high) has occurred while \output is active [] [3] -Overfull \vbox (21.68121pt too high) has occurred while \output is active [] - - -[4] 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 275. +(Font) Font shape `OT1/ptm/b/n' tried instead on input line 276. 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 275. +(Font) Font shape `OT1/ptm/b/n' tried instead on input line 276. 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 275. +(Font) Font shape `OT1/ptm/b/n' tried instead on input line 276. 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 277. +(Font) Font shape `OT1/phv/b/n' tried instead on input line 278. LaTeX Font Info: Font shape `OT1/phv/b/n' will be -(Font) scaled to size 8.09995pt on input line 277. -Package color Info: Redefining color shadecolor on input line 293. +(Font) scaled to size 8.09995pt on input line 278. +Package color Info: Redefining color shadecolor on input line 294. Overfull \vbox (21.68121pt too high) has occurred while \output is active [] -[5] +[4] 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 357. +(Font) Font shape `OT1/phv/b/n' tried instead on input line 358. LaTeX Font Info: Font shape `OT1/phv/b/n' will be -(Font) scaled to size 12.9599pt on input line 357. +(Font) scaled to size 12.9599pt on input line 358. LaTeX Font Info: Font shape `OT1/phv/m/n' will be -(Font) scaled to size 10.79993pt on input line 362. -Package color Info: Redefining color shadecolor on input line 369. -Package color Info: Redefining color shadecolor on input line 381. +(Font) scaled to size 10.79993pt on input line 363. +Package color Info: Redefining color shadecolor on input line 370. Overfull \vbox (21.68121pt too high) has occurred while \output is active [] -[6] -Package color Info: Redefining color shadecolor on input line 401. +[5] +Package color Info: Redefining color shadecolor on input line 382. +Package color Info: Redefining color shadecolor on input line 402. Overfull \vbox (21.68121pt too high) has occurred while \output is active [] -[7] -Overfull \hbox (36.60727pt too wide) in paragraph at lines 446--447 -[]\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 +[6] +Overfull \hbox (16.60727pt too wide) in paragraph at lines 447--448 +\OT1/ptm/m/n/10.95 To ob-tain all of the avail-able in-for-ma-tion con-cern-ing + 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 449. -Package color Info: Redefining color shadecolor on input line 467. +Package color Info: Redefining color shadecolor on input line 450. +Package color Info: Redefining color shadecolor on input line 468. Overfull \vbox (21.68121pt too high) has occurred while \output is active [] -[8] -Package color Info: Redefining color shadecolor on input line 487. -Package color Info: Redefining color shadecolor on input line 511. -Package color Info: Redefining color shadecolor on input line 529. +[7] +Package color Info: Redefining color shadecolor on input line 488. +Package color Info: Redefining color shadecolor on input line 512. +Package color Info: Redefining color shadecolor on input line 530. + +Underfull \vbox (badness 10000) detected at line 556 + [] + Overfull \vbox (21.68121pt too high) has occurred while \output is active [] -[9] -Package color Info: Redefining color shadecolor on input line 561. +[8] +Package color Info: Redefining color shadecolor on input line 562. LaTeX Warning: No positions in optional float specifier. - Default added (so using `tbp') on input line 580. + Default added (so using `tbp') on input line 581. -<figure/getNWIStemperaturePlot.pdf, id=270, 505.89pt x 505.89pt> +<figure/getNWIStemperaturePlot.pdf, id=266, 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 -82. +83. (pdftex.def) Requested size: 448.07928pt x 448.07928pt. Overfull \vbox (21.68121pt too high) has occurred while \output is active [] -[10] +[9] Overfull \vbox (21.68121pt too high) has occurred while \output is active [] -[11 <D:/LADData/RCode/dataRetrieval/vignettes/figure/getNWIStemperaturePlot.pdf +[10 <D:/LADData/RCode/dataRetrieval/vignettes/figure/getNWIStemperaturePlot.pdf >] -Package color Info: Redefining color shadecolor on input line 600. -Package color Info: Redefining color shadecolor on input line 614. +Package color Info: Redefining color shadecolor on input line 601. +Package color Info: Redefining color shadecolor on input line 615. Overfull \vbox (21.68121pt too high) has occurred while \output is active [] -[12] -Package color Info: Redefining color shadecolor on input line 649. -Package color Info: Redefining color shadecolor on input line 670. +[11] +Package color Info: Redefining color shadecolor on input line 650. +Package color Info: Redefining color shadecolor on input line 671. LaTeX Warning: No positions in optional float specifier. - Default added (so using `tbp') on input line 679. + Default added (so using `tbp') on input line 680. -<figure/getQWtemperaturePlot.pdf, id=291, 505.89pt x 505.89pt> +<figure/getQWtemperaturePlot.pdf, id=287, 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 681 +Package pdftex.def Info: figure/getQWtemperaturePlot.pdf used on input line 682 . (pdftex.def) Requested size: 448.07378pt x 448.07928pt. Overfull \vbox (21.68121pt too high) has occurred while \output is active [] -[13] +[12] Overfull \vbox (21.68121pt too high) has occurred while \output is active [] -[14 <D:/LADData/RCode/dataRetrieval/vignettes/figure/getQWtemperaturePlot.pdf>] -Package color Info: Redefining color shadecolor on input line 697. -LaTeX Font Info: Try loading font information for TS1+pcr on input line 699. +[13 <D:/LADData/RCode/dataRetrieval/vignettes/figure/getQWtemperaturePlot.pdf>] +Package color Info: Redefining color shadecolor on input line 698. +LaTeX Font Info: Try loading font information for TS1+pcr on input line 700. ("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\psnfss\ts1pcr.fd" File: ts1pcr.fd 2001/06/04 font definitions for TS1/pcr. ) -Package color Info: Redefining color shadecolor on input line 723. +Package color Info: Redefining color shadecolor on input line 724. -Overfull \hbox (5.25568pt too wide) in paragraph at lines 732--732 +Overfull \hbox (5.25568pt too wide) in paragraph at lines 733--733 [][]\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 )[][ @@ -845,61 +842,68 @@ 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 [] -[15] -Package color Info: Redefining color shadecolor on input line 754. - -Overfull \vbox (21.68121pt too high) has occurred while \output is active [] - +[14] +Overfull \hbox (14.57181pt too wide) in paragraph at lines 752--753 +\OT1/ptm/m/n/10.95 ters. This func-tion com-bines \OT1/pcr/m/n/10.95 getSiteFil +eData \OT1/ptm/m/n/10.95 and \OT1/pcr/m/n/10.95 getParameterInfo\OT1/ptm/m/n/10 +.95 , pro-duc-ing one dataframe + [] -[16] -Package color Info: Redefining color shadecolor on input line 772. +Package color Info: Redefining color shadecolor on input line 755. +Package color Info: Redefining color shadecolor on input line 773. Overfull \vbox (21.68121pt too high) has occurred while \output is active [] -[17] -Package color Info: Redefining color shadecolor on input line 830. -Package color Info: Redefining color shadecolor on input line 842. +[15] +Package color Info: Redefining color shadecolor on input line 831. +Package color Info: Redefining color shadecolor on input line 843. Overfull \vbox (21.68121pt too high) has occurred while \output is active [] -[18] +[16] 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 [] +[17] +Package color Info: Redefining color shadecolor on input line 943. +Underfull \vbox (badness 10000) detected at line 963 + [] -[20] -Package color Info: Redefining color shadecolor on input line 942. Overfull \vbox (21.68121pt too high) has occurred while \output is active [] -[21] -Package color Info: Redefining color shadecolor on input line 1003. - +[18] Overfull \vbox (21.68121pt too high) has occurred while \output is active [] -[22] -LaTeX Font Info: Try loading font information for OMS+pcr on input line 1008 +[19] +Package color Info: Redefining color shadecolor on input line 1004. +LaTeX Font Info: Try loading font information for OMS+pcr on input line 1009 . ("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 1008. +(Font) Font shape `OMS/cmsy/m/n' tried instead on input line 1009. -Package color Info: Redefining color shadecolor on input line 1039. +Package color Info: Redefining color shadecolor on input line 1038. Overfull \vbox (21.68121pt too high) has occurred while \output is active [] -[23] +[20] Package color Info: Redefining color shadecolor on input line 1064. + +Overfull \hbox (0.56488pt too wide) in paragraph at lines 1080--1081 +\OT1/ptm/m/n/10.95 Finally, there is a func-tion called \OT1/pcr/m/n/10.95 merg +eReport \OT1/ptm/m/n/10.95 that will look at both the Daily and Sam-ple datafra +me, + [] + Package color Info: Redefining color shadecolor on input line 1084. Overfull \hbox (44.67563pt too wide) in paragraph at lines 1109--1109 @@ -917,14 +921,14 @@ s from 2012-12-18[] Overfull \vbox (21.68121pt too high) has occurred while \output is active [] -[24] +[21] Package color Info: Redefining color shadecolor on input line 1140. LaTeX Warning: No positions in optional float specifier. Default added (so using `tbp') on input line 1146. -<figure/egretEx.pdf, id=368, 505.89pt x 505.89pt> +<figure/egretEx.pdf, id=356, 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 1148. @@ -933,24 +937,24 @@ Package pdftex.def Info: figure/egretEx.pdf used on input line 1148. Overfull \vbox (21.68121pt too high) has occurred while \output is active [] -[25] +[22] Overfull \vbox (21.68121pt too high) has occurred while \output is active [] -[26 <D:/LADData/RCode/dataRetrieval/vignettes/figure/egretEx.pdf>] +[23 <D:/LADData/RCode/dataRetrieval/vignettes/figure/egretEx.pdf>] Overfull \vbox (21.68121pt too high) has occurred while \output is active [] -[27 +[24 ] Overfull \vbox (21.68121pt too high) has occurred while \output is active [] -[28] +[25] Package color Info: Redefining color shadecolor on input line 1245. Package color Info: Redefining color shadecolor on input line 1258. - <Rhelp.png, id=398, 433.62pt x 395.22656pt> + <Rhelp.png, id=386, 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 1277. @@ -960,13 +964,13 @@ Package color Info: Redefining color shadecolor on input line 1284. Overfull \vbox (21.68121pt too high) has occurred while \output is active [] -[29 +[26 ] Overfull \vbox (21.68121pt too high) has occurred while \output is active [] -[30 <D:/LADData/RCode/dataRetrieval/vignettes/Rhelp.png>] +[27 <D:/LADData/RCode/dataRetrieval/vignettes/Rhelp.png>] Package color Info: Redefining color shadecolor on input line 1299. Package color Info: Redefining color shadecolor on input line 1311. LaTeX Font Info: Font shape `TS1/phv/bx/n' in size <17.28> not available @@ -978,7 +982,7 @@ Package color Info: Redefining color shadecolor on input line 1326. Overfull \vbox (21.68121pt too high) has occurred while \output is active [] -[31 +[28 ] Package color Info: Redefining color shadecolor on input line 1363. @@ -988,11 +992,7 @@ Overfull \hbox (11.82567pt too wide) in paragraph at lines 1380--1380 30 3651 mg/l[] [] - -Overfull \vbox (21.68121pt too high) has occurred while \output is active [] - - -[32] <table1.png, id=422, 554.07pt x 125.71968pt> +<table1.png, id=401, 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 1399. @@ -1001,7 +1001,11 @@ Package pdftex.def Info: table1.png used on input line 1399. Overfull \vbox (21.68121pt too high) has occurred while \output is active [] -[33 <D:/LADData/RCode/dataRetrieval/vignettes/table1.png>] +[29] +Overfull \vbox (21.68121pt too high) has occurred while \output is active [] + + +[30 <D:/LADData/RCode/dataRetrieval/vignettes/table1.png>] Package atveryend Info: Empty hook `BeforeClearDocument' on input line 1424. Package atveryend Info: Empty hook `AfterLastShipout' on input line 1424. @@ -1014,13 +1018,13 @@ Package rerunfilecheck Info: File `dataRetrieval.out' has not changed. Package atveryend Info: Empty hook `AtVeryVeryEnd' on input line 1424. ) Here is how much of TeX's memory you used: - 9967 strings out of 493921 - 149101 string characters out of 3144868 - 249602 words of memory out of 3000000 - 12963 multiletter control sequences out of 15000+200000 + 9958 strings out of 493921 + 148881 string characters out of 3144868 + 249537 words of memory out of 3000000 + 12960 multiletter control sequences out of 15000+200000 47347 words of font info for 96 fonts, out of 3000000 for 9000 841 hyphenation exceptions out of 8191 - 44i,15n,42p,957b,506s stack positions out of 5000i,500n,10000p,200000b,50000s + 44i,15n,42p,957b,504s 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 @@ -1032,9 +1036,9 @@ rw/helvetic/uhvr8a.pfb><C:/Users/ldecicco/AppData/Roaming/MiKTeX/2.9/fonts/type 1/urw/symbol/usyr.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.pfb > -Output written on dataRetrieval.pdf (33 pages, 339117 bytes). +Output written on dataRetrieval.pdf (30 pages, 336019 bytes). PDF statistics: - 486 PDF objects out of 1000 (max. 8388607) - 84 named destinations out of 1000 (max. 500000) + 473 PDF objects out of 1000 (max. 8388607) + 81 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 index d77d60e5b3acbacf827bf913c5de4f2eaba7ef2a..47ede036fecb200f86521bf8ffe04ef7bc918967 100644 --- a/vignettes/dataRetrieval.lot +++ b/vignettes/dataRetrieval.lot @@ -1,10 +1,10 @@ \select@language {american} -\contentsline {table}{\numberline {1}{\ignorespaces Common USGS Parameter Codes\relax }}{5}{table.caption.1} -\contentsline {table}{\numberline {2}{\ignorespaces Commonly used USGS Stat Codes\relax }}{6}{table.caption.2} +\contentsline {table}{\numberline {1}{\ignorespaces Common USGS Parameter Codes\relax }}{4}{table.caption.1} +\contentsline {table}{\numberline {2}{\ignorespaces Commonly used USGS Stat Codes\relax }}{5}{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 }}{7}{table.caption.3} -\contentsline {table}{\numberline {4}{\ignorespaces Daily dataframe\relax }}{17}{table.caption.6} -\contentsline {table}{\numberline {5}{\ignorespaces Sample dataframe\relax }}{19}{table.caption.8} -\contentsline {table}{\numberline {6}{\ignorespaces Example data\relax }}{20}{table.caption.9} -\contentsline {table}{\numberline {7}{\ignorespaces dataRetrieval functions\relax }}{28}{table.caption.12} -\contentsline {table}{\numberline {8}{\ignorespaces dataRetrieval miscellaneous functions\relax }}{28}{table.caption.13} +\contentsline {table}{\numberline {4}{\ignorespaces Daily dataframe\relax }}{16}{table.caption.6} +\contentsline {table}{\numberline {5}{\ignorespaces Sample dataframe\relax }}{17}{table.caption.8} +\contentsline {table}{\numberline {6}{\ignorespaces Example data\relax }}{18}{table.caption.9} +\contentsline {table}{\numberline {7}{\ignorespaces dataRetrieval functions\relax }}{25}{table.caption.12} +\contentsline {table}{\numberline {8}{\ignorespaces dataRetrieval miscellaneous functions\relax }}{25}{table.caption.13} \contentsfinish diff --git a/vignettes/dataRetrieval.pdf b/vignettes/dataRetrieval.pdf index 224629c85bd99569fe02ed9e0368084695e25e2e..3e2f6fe6727e496958a515722f8aa57a0d0b7604 100644 Binary files a/vignettes/dataRetrieval.pdf and b/vignettes/dataRetrieval.pdf differ diff --git a/vignettes/dataRetrieval.synctex.gz b/vignettes/dataRetrieval.synctex.gz index 31fdac390ca8e5e489ec463ee55b7e3470b27078..4c84db1325afc21abe57ec6f737aa062fd0c8ff0 100644 Binary files a/vignettes/dataRetrieval.synctex.gz and b/vignettes/dataRetrieval.synctex.gz differ diff --git a/vignettes/dataRetrieval.tex b/vignettes/dataRetrieval.tex index 4f84b9b192baed5048709f1d44f11d62c8223d8b..166bff7f3cca8a55095c31c97d833b8af129529d 100644 --- a/vignettes/dataRetrieval.tex +++ b/vignettes/dataRetrieval.tex @@ -72,7 +72,7 @@ \usepackage{csquotes} \usepackage{setspace} -\doublespacing +% \doublespacing \renewcommand{\topfraction}{0.85} \renewcommand{\textfraction}{0.1} @@ -82,7 +82,8 @@ \usepackage{mathptmx}% Times Roman font \usepackage[scaled=.90]{helvet}% Helvetica, served as a model for arial -\usepackage{indentfirst} +% \usepackage{indentfirst} +% \setlength\parindent{20pt} \setlength{\parskip}{0pt} \usepackage{courier} @@ -148,7 +149,7 @@ singlelinecheck=false } -\setlength\parindent{20pt} + \textwidth=6.2in \textheight=8.5in @@ -266,8 +267,8 @@ Once the site-ID (siteNumber) is known, the next required input for USGS data re 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.1 by xtable 1.7-3 package -% Thu Sep 11 16:26:30 2014 +% latex table generated in R 3.1.1 by xtable 1.7-4 package +% Wed Sep 17 13:24:06 2014 \begin{table}[ht] \caption{Common USGS Parameter Codes} \label{tab:params} @@ -329,8 +330,8 @@ For unit values data (sensor data measured at regular time intervals such as 15 Some common codes are shown in Table \ref{tab:stat}. -% latex table generated in R 3.1.1 by xtable 1.7-3 package -% Thu Sep 11 16:26:31 2014 +% latex table generated in R 3.1.1 by xtable 1.7-4 package +% Wed Sep 17 13:24:07 2014 \begin{table}[ht] \caption{Commonly used USGS Stat Codes} \label{tab:stat} @@ -410,8 +411,8 @@ To discover what data is available for a particular USGS site, including measure \end{knitrout} -% latex table generated in R 3.1.1 by xtable 1.7-3 package -% Thu Sep 11 16:26:32 2014 +% latex table generated in R 3.1.1 by xtable 1.7-4 package +% Wed Sep 17 13:24:07 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} @@ -423,7 +424,7 @@ To discover what data is available for a particular USGS site, including measure & 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-09-10 & 24360 & ft$^3$/s \\ + [5pt] & Stream flow, mean. daily & 1948-01-01 & 2014-09-16 & 24366 & 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 \\ @@ -785,8 +786,8 @@ There are 4750 data points, and 4750 days. -% latex table generated in R 3.1.1 by xtable 1.7-3 package -% Thu Sep 11 16:26:44 2014 +% latex table generated in R 3.1.1 by xtable 1.7-4 package +% Wed Sep 17 13:24:23 2014 \begin{table}[ht] \caption{Daily dataframe} \label{tab:DailyDF1} @@ -906,8 +907,8 @@ To illustrate how the dataRetrieval package handles a more complex censoring pro -% latex table generated in R 3.1.1 by xtable 1.7-3 package -% Thu Sep 11 16:26:45 2014 +% latex table generated in R 3.1.1 by xtable 1.7-4 package +% Wed Sep 17 13:24:25 2014 \begin{table}[ht] \caption{Example data} \label{tab:exampleComplexQW} @@ -985,7 +986,7 @@ Finally, qUnit is a numeric argument that defines the discharge units used in th So, if you have a file called \enquote{ChoptankRiverFlow.txt} located in a folder called \enquote{RData} on the C drive (this example is for the Windows\textregistered\ operating systems), and the file is structured as follows (tab-separated): -\singlespacing +% \singlespacing \begin{verbatim} date Qdaily 10/1/1999 107 @@ -996,7 +997,7 @@ date Qdaily 10/6/1999 98 ... \end{verbatim} -\doublespacing +% \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} @@ -1019,7 +1020,6 @@ Microsoft\textregistered\ Excel files can be a bit tricky to import into R direc \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 were \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 @@ -1032,7 +1032,6 @@ cdate;remarkCode;Nitrate 2/3/2000,,1.54 ... \end{verbatim} -\doublespacing The call to open this file, and populate the Sample dataframe is: \begin{knitrout} @@ -1059,7 +1058,8 @@ date rdp dp rpp pp rtp tp 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} @@ -1348,7 +1348,7 @@ There are a few steps that are required in order to create a table in Microsoft\ 5 Suspended sediment discharge 1980-10-01 End Count Units 1 2012-05-09 529 deg C -2 2014-09-10 24360 ft3/s +2 2014-09-16 24366 ft3/s 3 2012-05-09 527 uS/cm @25C 4 1991-09-30 3651 mg/l 5 1991-09-30 3652 tons/day diff --git a/vignettes/dataRetrieval.toc b/vignettes/dataRetrieval.toc index da70f97eb48c23c9ad26c21a0136d5440889e0e0..ba00912a81727dfab78c593237beb430f2856331 100644 --- a/vignettes/dataRetrieval.toc +++ b/vignettes/dataRetrieval.toc @@ -3,26 +3,26 @@ \contentsline {section}{\numberline {2}General USGS Web Retrievals}{4}{section.2} \contentsline {subsection}{\numberline {2.1}Site Information}{6}{subsection.2.1} \contentsline {subsubsection}{\numberline {2.1.1}getSiteFileData}{6}{subsubsection.2.1.1} -\contentsline {subsubsection}{\numberline {2.1.2}getDataAvailability}{7}{subsubsection.2.1.2} -\contentsline {subsection}{\numberline {2.2}Parameter Information}{8}{subsection.2.2} -\contentsline {subsection}{\numberline {2.3}Daily Values}{8}{subsection.2.3} -\contentsline {subsection}{\numberline {2.4}Unit Values}{12}{subsection.2.4} -\contentsline {subsection}{\numberline {2.5}Water Quality Values}{13}{subsection.2.5} -\contentsline {subsection}{\numberline {2.6}STORET Water Quality Retrievals}{15}{subsection.2.6} -\contentsline {subsection}{\numberline {2.7}URL Construction}{15}{subsection.2.7} -\contentsline {section}{\numberline {3}Data Retrievals Structured For Use In The EGRET Package}{16}{section.3} -\contentsline {subsection}{\numberline {3.1}INFO Data}{16}{subsection.3.1} -\contentsline {subsection}{\numberline {3.2}Daily Data}{17}{subsection.3.2} -\contentsline {subsection}{\numberline {3.3}Sample Data}{18}{subsection.3.3} -\contentsline {subsection}{\numberline {3.4}Censored Values: Summation Explanation}{19}{subsection.3.4} -\contentsline {subsection}{\numberline {3.5}User-Generated Data Files}{21}{subsection.3.5} -\contentsline {subsubsection}{\numberline {3.5.1}getDailyDataFromFile}{21}{subsubsection.3.5.1} -\contentsline {subsubsection}{\numberline {3.5.2}getSampleDataFromFile}{23}{subsubsection.3.5.2} -\contentsline {subsection}{\numberline {3.6}Merge Report}{24}{subsection.3.6} -\contentsline {subsection}{\numberline {3.7}EGRET Plots}{25}{subsection.3.7} -\contentsline {section}{\numberline {4}Summary}{27}{section.4} -\contentsline {section}{\numberline {5}Getting Started in R}{29}{section.5} -\contentsline {subsection}{\numberline {5.1}New to R?}{29}{subsection.5.1} -\contentsline {subsection}{\numberline {5.2}R User: Installing dataRetrieval}{31}{subsection.5.2} -\contentsline {section}{\numberline {6}Creating tables in Microsoft\textregistered \ software from R}{31}{section.6} +\contentsline {subsubsection}{\numberline {2.1.2}getDataAvailability}{6}{subsubsection.2.1.2} +\contentsline {subsection}{\numberline {2.2}Parameter Information}{7}{subsection.2.2} +\contentsline {subsection}{\numberline {2.3}Daily Values}{7}{subsection.2.3} +\contentsline {subsection}{\numberline {2.4}Unit Values}{11}{subsection.2.4} +\contentsline {subsection}{\numberline {2.5}Water Quality Values}{12}{subsection.2.5} +\contentsline {subsection}{\numberline {2.6}STORET Water Quality Retrievals}{14}{subsection.2.6} +\contentsline {subsection}{\numberline {2.7}URL Construction}{14}{subsection.2.7} +\contentsline {section}{\numberline {3}Data Retrievals Structured For Use In The EGRET Package}{14}{section.3} +\contentsline {subsection}{\numberline {3.1}INFO Data}{15}{subsection.3.1} +\contentsline {subsection}{\numberline {3.2}Daily Data}{15}{subsection.3.2} +\contentsline {subsection}{\numberline {3.3}Sample Data}{16}{subsection.3.3} +\contentsline {subsection}{\numberline {3.4}Censored Values: Summation Explanation}{17}{subsection.3.4} +\contentsline {subsection}{\numberline {3.5}User-Generated Data Files}{19}{subsection.3.5} +\contentsline {subsubsection}{\numberline {3.5.1}getDailyDataFromFile}{19}{subsubsection.3.5.1} +\contentsline {subsubsection}{\numberline {3.5.2}getSampleDataFromFile}{20}{subsubsection.3.5.2} +\contentsline {subsection}{\numberline {3.6}Merge Report}{21}{subsection.3.6} +\contentsline {subsection}{\numberline {3.7}EGRET Plots}{22}{subsection.3.7} +\contentsline {section}{\numberline {4}Summary}{24}{section.4} +\contentsline {section}{\numberline {5}Getting Started in R}{26}{section.5} +\contentsline {subsection}{\numberline {5.1}New to R?}{26}{subsection.5.1} +\contentsline {subsection}{\numberline {5.2}R User: Installing dataRetrieval}{28}{subsection.5.2} +\contentsline {section}{\numberline {6}Creating tables in Microsoft\textregistered \ software from R}{28}{section.6} \contentsfinish diff --git a/vignettes/figure/egretEx.pdf b/vignettes/figure/egretEx.pdf index 5e59040b2d1c145403793b103e16359c0676f2e7..f9e10dbe7322b8d1b3cd964958f97c12634b2f13 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 c1565924c0db4faaf6152dac05de61a2982fcf54..149cc770fe05638855b82d35caf2b2ccb591fd9c 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 0e723813845d5095beed2e7471c2975e3f631ec4..c64bce1537517b940d5cafa06673f38f5b7872e0 100644 Binary files a/vignettes/figure/getQWtemperaturePlot.pdf and b/vignettes/figure/getQWtemperaturePlot.pdf differ