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

National Eutrophication Survey Data Package

Project Status: Active – The project has reached a stable, usable state and is being actively developed. CRAN_Status_Badge

Installation

# install stable version from CRAN
install.packages("nesRdata")

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

Usage

library(nesRdata)

View static compilation of all lakes

data(nes)
head(nes)

Download dynamic external data and cache in file system

nes_get(version_id = "5", dest_folder = cache_path())

List cached (non-temporary) versions

nes_versions()

Load data

dt <- nes_load(version_id = "5", folder = cache_path())
names(dt)
lapply(dt, head)

Metadata

help.search("^nes$", package = "nesRdata")

Contributing

We’ve tried to fix any transciption errors from the original data files but it’s difficult to catch them all. If you find any errors please open an issue or submit a pull request against the files at https://github.com/ReproducibleQM/NES

References

Stachelek, J., Ford, C., Kincaid, D., King, K., Miller, H. and Nagelkirk, R., 2018. The National Eutrophication Survey: lake characteristics and historical nutrient concentrations. Earth System Science Data, 10(1), pp.81-86.



jsta/nesRdata documentation built on Oct. 16, 2023, 4:40 a.m.