|
|
dataRetrieval
|
|
|
=============
|
|
|
|
|
|
R package source for data retrieval specifically for the EGRET R package: TEST@
|
|
|
R package source for data retrieval specifically for the EGRET R package:
|
|
|
|
|
|
Exploration and Graphics for RivEr Time-series (EGRET)
|
|
|
=============
|
... | ... | @@ -36,28 +36,12 @@ egret_comments@usgs.gov |
|
|
|
|
|
Additionally, to subscribe to an email list concerning updates to these R packages, please send a request to egret_comments@usgs.gov.
|
|
|
|
|
|
Download and Package Installation
|
|
|
Package Installation
|
|
|
---------------------------------
|
|
|
While the dataRetreival package is in development (and not on CRAN), the zoo package must first be manually installed. To install the dataRetrieval package:
|
|
|
|
|
|
* The latest version of dataRetrieval can be downloaded with this link:
|
|
|
[dataRetrieval_1.2.1](https://github.com/USGS-R/dataRetrieval/blob/master/dataRetrieval_1.2.1.tar.gz?raw=true)
|
|
|
|
|
|
* [EGRET User Guide](https://github.com/USGS-CIDA/WRTDS/raw/master/EGRET manual_4.doc) (Word Document)
|
|
|
|
|
|
### Installation:
|
|
|
While the dataRetreival package is in development (and not on CRAN), the following packages must first be manually installed:
|
|
|
* zoo
|
|
|
|
|
|
To install the EGRET package:
|
|
|
|
|
|
Include the full path to EGRET_1.2.3.tar.gz to install the package (here is a Windows example, note the direction of the slashes -> /, this is backwards from how Windows typically defines a path ):
|
|
|
|
|
|
install.packages("zoo")
|
|
|
install.packages("C:/RPackages/Statistics/dataRetrieval_1.2.1.tar.gz", repos=NULL, type="source")
|
|
|
|
|
|
A Mac example:
|
|
|
|
|
|
install.packages("/Users/userA/RPackages/Statistic/dataRetrieval_1.2.1.tar.gz", repos=NULL, type="source")
|
|
|
install.packages("zoo")
|
|
|
install.packages("dataRetrieval", repos="http://usgs-r.github.com/EGRET/", type="source")
|
|
|
|
|
|
### Note on updating versions:
|
|
|
Some users have found it necessary to delete the package folders before installing newer versions of either dataRetrieval or EGRET. If you are experiencing an issue after updating a package, trying deleting the package folder, the default location for Windows is something like this:
|
... | ... | @@ -66,6 +50,12 @@ the default for a Mac: |
|
|
/Users/ldecicco/Library/R/2.15/library/dataRetrieval
|
|
|
Then, re-install the package using the directions above. Moving to CRAN should solve this problem.
|
|
|
|
|
|
Stable releases are archived on the packageBuild branch of this repository: [https://github.com/USGS-R/dataRetrieval/tree/packageBuilds](https://github.com/USGS-R/dataRetrieval/tree/packageBuilds)
|
|
|
|
|
|
* The latest stable version of dataRetrieval can be downloaded directly with this link:
|
|
|
[dataRetrieval_1.2.1](https://github.com/USGS-R/dataRetrieval/blob/packageBuilds/dataRetrieval_1.2.1.tar.gz?raw=true)
|
|
|
|
|
|
|
|
|
Background Information
|
|
|
----------------------
|
|
|
|
... | ... | @@ -81,17 +71,22 @@ The second is an application to nitrate data for 8 monitoring sites on the Missi |
|
|
|
|
|
The manual available here assumes that the user understands the concepts underlying WRTDS. Thus, reading at least the first of these papers is necessary to understanding the manual.
|
|
|
|
|
|
[EGRET User Guide](https://github.com/USGS-R/dataRetrieval/raw/Documentation/EGRET%20manual_4.doc) (Word Document)
|
|
|
|
|
|
Version updates
|
|
|
---------------
|
|
|
* Version 1.2.1: Feburary 20, 2013
|
|
|
|
|
|
* Improved documentation, especially example functions.
|
|
|
* Improved vignette for a more complete walk-through.
|
|
|
* Expanded the capabilities to retrieve raw data from the web services.
|
|
|
* Added Storet data retrievals in getWQPData function
|
|
|
|
|
|
* Version 1.2.0: October 13, 2012
|
|
|
|
|
|
* Fixed a bug that caused problems if not explicitly defining Daily and Sample in mergeReport().
|
|
|
* Updating documentation (in progress)
|
|
|
|
|
|
|
|
|
|
|
|
Sample Workflow
|
|
|
---------------
|
|
|
|
... | ... | |