knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.path = "README-"
)

National Surface Water Survey Package

lifecycle CRAN status DOI

Metadata

See the eastern and western survey pages.

See also:

Landers, D.H., Overton, W.S., Linthurst, R.A. and Brakke, D.F., 1988. Eastern Lake Survey, regional estimates of lake chemistry. Environmental science & technology, 22(2), pp.128-135.

Installation

# install development version from Github
# install devtools if not found - install.packages("devtools")
devtools::install_github("jsta/nsws", update_dependencies = TRUE)

Usage

library(nsws)

Load archived package data

data(nsws)
names(nsws) # the entire western lake survey is in the wlsds4 table

Build package data

# Download raw data

nsws_east_get(version = "1")
nsws_west_get(version = "1") # Data from both surveys are "compiled" here
# Load data from cache
dt <- nsws_load("1")

# View tables
names(dt)
tibble::as.tibble(dt$bathym)


jsta/nsws documentation built on May 3, 2019, 7:06 p.m.