{"id":22413743,"url":"https://github.com/jsta/nsws","last_synced_at":"2025-10-13T19:15:41.085Z","repository":{"id":88675641,"uuid":"114264836","full_name":"jsta/nsws","owner":"jsta","description":"National Surface Water Survey Package","archived":false,"fork":false,"pushed_at":"2018-04-04T21:17:21.000Z","size":752,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-27T03:31:47.713Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://archive.epa.gov/emap/archive-emap/web/html/els.html","language":"R","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":"2017-12-14T15:13:38.000Z","updated_at":"2025-03-23T18:55:52.000Z","dependencies_parsed_at":"2023-03-13T18:19:31.264Z","dependency_job_id":null,"html_url":"https://github.com/jsta/nsws","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/jsta/nsws","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsta%2Fnsws","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsta%2Fnsws/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsta%2Fnsws/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsta%2Fnsws/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jsta","download_url":"https://codeload.github.com/jsta/nsws/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsta%2Fnsws/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279016887,"owners_count":26085884,"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","status":"online","status_checked_at":"2025-10-13T02:00:06.723Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2024-12-05T14:14:28.094Z","updated_at":"2025-10-13T19:15:41.069Z","avatar_url":"https://github.com/jsta.png","language":"R","funding_links":[],"categories":[],"sub_categories":[],"readme":"---\noutput:\n  md_document:\n    variant: markdown_github\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 = \"README-\"\n)\n```\n\n# National Surface Water Survey Package\n\n[![lifecycle](https://img.shields.io/badge/lifecycle-stable-brightgreen.svg)](https://img.shields.io/badge/lifecycle-stable-brightgreen.svg)\n[![CRAN status](http://www.r-pkg.org/badges/version/nsws)](https://cran.r-project.org/package=nsws)\n[![DOI](https://zenodo.org/badge/114264836.svg)](https://zenodo.org/badge/latestdoi/114264836)\n\n## Metadata\n\nSee the [eastern](https://archive.epa.gov/emap/archive-emap/web/html/els.html) and [western](https://archive.epa.gov/emap/archive-emap/web/html/wls.html) survey pages.\n\nSee also:\n\n\u003e Landers, D.H., Overton, W.S., Linthurst, R.A. and Brakke, D.F., 1988. Eastern Lake Survey, regional estimates of lake chemistry. Environmental science \u0026 technology, 22(2), pp.128-135.\n\n## Installation\n\n```{r eval=FALSE}\n# install development version from Github\n# install devtools if not found - install.packages(\"devtools\")\ndevtools::install_github(\"jsta/nsws\", update_dependencies = TRUE)\n```\n\n## Usage\n\n```{r eval=TRUE}\nlibrary(nsws)\n```\n\n### Load archived package data\n```{r }\ndata(nsws)\nnames(nsws) # the entire western lake survey is in the wlsds4 table\n```\n\n### Build package data\n```{r eval=FALSE}\n# Download raw data\n\nnsws_east_get(version = \"1\")\nnsws_west_get(version = \"1\") # Data from both surveys are \"compiled\" here\n```\n\n```{r eval=TRUE}\n# Load data from cache\ndt \u003c- nsws_load(\"1\")\n\n# View tables\nnames(dt)\ntibble::as.tibble(dt$bathym)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjsta%2Fnsws","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjsta%2Fnsws","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjsta%2Fnsws/lists"}