{"id":22413746,"url":"https://github.com/jsta/nlar","last_synced_at":"2026-01-06T22:31:01.010Z","repository":{"id":56936998,"uuid":"75324775","full_name":"jsta/nlaR","owner":"jsta","description":"R interface to the National Lakes Assessment","archived":false,"fork":false,"pushed_at":"2023-03-16T14:40:24.000Z","size":2488,"stargazers_count":3,"open_issues_count":0,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-01T08:49:03.285Z","etag":null,"topics":["cran","limnology","rstats"],"latest_commit_sha":null,"homepage":"https://jsta.github.io/nlaR","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jsta.png","metadata":{"files":{"readme":"README.Rmd","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2016-12-01T19:20:48.000Z","updated_at":"2023-03-10T18:40:50.000Z","dependencies_parsed_at":"2022-08-21T05:50:56.772Z","dependency_job_id":null,"html_url":"https://github.com/jsta/nlaR","commit_stats":{"total_commits":90,"total_committers":4,"mean_commits":22.5,"dds":"0.15555555555555556","last_synced_commit":"913a44fac6acb590e78336329497bdd66b3436b2"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsta%2FnlaR","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsta%2FnlaR/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsta%2FnlaR/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsta%2FnlaR/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jsta","download_url":"https://codeload.github.com/jsta/nlaR/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245777476,"owners_count":20670548,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cran","limnology","rstats"],"created_at":"2024-12-05T14:14:28.625Z","updated_at":"2026-01-06T22:31:00.946Z","avatar_url":"https://github.com/jsta.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"---\noutput: github_document\n---\n\n\u003c!-- README.md is generated from README.Rmd. Please edit that file --\u003e\n\n```{r, echo = FALSE}\nknitr::opts_chunk$set(\n  collapse = TRUE,\n  comment = \"#\u003e\",\n  fig.path = \"images/\"\n)\n```\n\n# nlaR\n\n[![lifecycle](https://img.shields.io/badge/lifecycle-stable-brightgreen.svg)](https://lifecycle.r-lib.org/articles/stages.html#stable)\n[![CRAN status](http://www.r-pkg.org/badges/version/nlaR)](https://cran.r-project.org/package=nlaR)\n[![R-CMD-check](https://github.com/jsta/nlaR/actions/workflows/check.yml/badge.svg)](https://github.com/jsta/nlaR/actions/workflows/check.yml)\n\nThe 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).\n\n## Installation\n\nYou can install nlaR from Github with:\n\n```{r gh-installation, eval = FALSE}\n# install.packages(\"devtools\")\ndevtools::install_github(\"jsta/nlaR\")\n```\n\n## Usage\n\n### Load package\n\n```{r }\nlibrary(nlaR)\n```\n\n### Retrieve data from EPA Website\n\n\u003e Turn on automated data storage at the location returned by `rappdirs::user_data_dir()`\n\n```{r eval=FALSE}\nnla_get(2012, use_rappdirs = TRUE)\n```\n\n### Load data from local machine\n\n```{r }\ndt \u003c- nla_load(2012)\n```\n\n### View NLA tables\n\n```{r }\nnames(dt)\nhead(dt$phytocnt)\n```\n\n## More Examples\n\nSee [vignettes](https://jsta.github.io/nlaR/articles/).\n\n## References\n\n* [National Lakes Assessment EPA page](https://www.epa.gov/national-aquatic-resource-surveys/nla)\n\n * Water quality metadata\n    * [2012](https://www.epa.gov/sites/production/files/2016-12/nla2012_waterchem_meta.txt)\n\n * 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 \u0026 Technology, 50(7), pp.3409-3415. [10.1021/acs.est.5b05950](https://doi.org/10.1021/acs.est.5b05950)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjsta%2Fnlar","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjsta%2Fnlar","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjsta%2Fnlar/lists"}