knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "images/" )
The goal of nlaR is to provide an R interface to the National Lakes Assessment data. At this point it serves either the 2007 or 2012 data (see examples below).
You can install nlaR from Github with:
# install.packages("devtools") devtools::install_github("jsta/nlaR")
library(nlaR)
Turn on automated data storage at the location returned by
rappdirs::user_data_dir()
nla_get(2012, use_rappdirs = TRUE)
dt <- nla_load(2012)
names(dt) head(dt$phytocnt)
See vignettes.
Water quality metadata
Stoddard, J.L., Van Sickle, J., Herlihy, A.T., Brahney, J., Paulsen, S., Peck, D.V., Mitchell, R. and Pollard, A.I., 2016. Continental-scale increase in lake and stream phosphorus: Are oligotrophic systems disappearing in the United States?. Environmental Science & Technology, 50(7), pp.3409-3415. 10.1021/acs.est.5b05950
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.