Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
NWIS: R interface
R HTML
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
R
inst
man
templates
.Rbuildignore
.Rprofile
.gitignore
DESCRIPTION
NAMESPACE
NEWS
README.md

README.md

RNWIS

This R package provides access to water-resources data stored on the National Water Information System (NWIS). A graphical user interface (GUI) is provided and requires R operate as an SDI application, using multiple top-level windows for the console, graphics, and pager.

The set of standards used for coding RNWIS is documented in Google's R Style Guide.

Install

If R is not already installed on your computer, download and install the latest binary distribution from CRAN. Windows users should set R to operate as an SDI application during installation by choosing to customize the startup options and specifying the SDI interface (not the default).

Open an R session and install the required packages from CRAN:

> install.packages(c("sp", "RODBC", "rgeos", "rgdal", "brew", "Rook"))

Install the RNWIS package:

> install.packages("devtools")
> library(devtools)
> install_github("RNWIS", username = "jfisher-usgs", ref = "v0.1.7")

Contact your IT specialist for help with setting up the Oracle ODBC drivers.

Run

Load RNWIS in the current 32-bit R session:

> library(RNWIS)

Activate the main GUI:

> OpenRNWIS()
Something went wrong with that request. Please try again.