A curated list of open technology projects to sustain a stable climate, energy supply, biodiversity and natural resources.

gwavr

Allows the user to point and click on areas within the United States and get back hydrological data, e.g. flowlines, catchments, basin boundaries, comids, etc.
https://github.com/joshualerickson/gwavr

Category: Hydrosphere
Sub Category: Ocean and Hydrology Data Access

Last synced: about 20 hours ago
JSON representation

Repository metadata

Get Water Attributes Visually in R (gwavr)

README.Rmd

          ---
output: github_document
---



```{r, include = FALSE}
knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.path = "man/figures/README-",
  out.width = "100%"
)
```

# gwavr


[![R-CMD-check](https://github.com/joshualerickson/gwavr/workflows/R-CMD-check/badge.svg)](https://github.com/joshualerickson/gwavr/actions)
[![CRAN status](https://www.r-pkg.org/badges/version/gwavr)](https://CRAN.R-project.org/package=gwavr)
[![Lifecycle: stable](https://img.shields.io/badge/lifecycle-stable-brightgreen.svg)](https://lifecycle.r-lib.org/articles/stages.html#stable)


The goal of gwavr (Gee-waver) is to Get Water Attributes Visually in R (gwavr). This allows the user to point and click on areas within the United States and get back hydrological data, e.g. flowlines, catchments, basin boundaries, comids, etc. Most of the heavy lifting is done by the  [{nhdplusTools}](https://github.com/DOI-USGS/nhdplusTools) (much thanks) as well as the [{leaflet}](https://github.com/rstudio/leaflet) extensions and all this package does is wrap them into a app. Enjoy!  

## Installation

You can install `gwavr` from CRAN:

```{r, eval = F}
install.packages('gwavr')
```

To install the development version of the `gwavr` package, you can
install directly from [GitHub](https://github.com/):

``` r
# install.packages("devtools")
devtools::install_github("joshualerickson/gwavr")
```

## Contributions  

Contributions are welcome!  

## Current Functionality  

There are a handful of functions right now that can help with getting water data visually: `get_nhdplus_interactively()`, `get_nldi_interactively()`, `get_basin_interactively()`, `get_streamnetwork_interactively()`, `get_usgs_iv_interactively()`, `get_usgs_dv_interactively()`, `get_noaatlas_interactively()`. Please read the manual for more information on how to use these functions.  

## Example

This is a basic example which shows you how to solve a common problem: getting water data without knowing the exact lat, lon via a shiny application.

```{r example, eval=F}
library(gwavr)
## basic example code

nhdplus_data <- get_nhdplus_interactively()

## or for NLDI

nldi_data <- get_nldi_interactively()
```
## Video

Owner metadata


GitHub Events

Total
Last Year

Committers metadata

Last synced: 6 days ago

Total Commits: 56
Total Committers: 6
Avg Commits per committer: 9.333
Development Distribution Score (DDS): 0.679

Commits in past year: 10
Committers in past year: 3
Avg Commits per committer in past year: 3.333
Development Distribution Score (DDS) in past year: 0.5

Name Email Commits
joshualerickson j****n@g****m 18
[email protected] j****n@u****v 17
Erickson 1****7@F****V 15
Erickson 1****7@f****v 3
David Blodgett d****t@u****v 2
Sam Albers s****s@g****m 1

Committer domains:


Issue and Pull Request metadata

Last synced: 2 days ago

Total issues: 4
Total pull requests: 6
Average time to close issues: 2 months
Average time to close pull requests: 24 minutes
Total issue authors: 3
Total pull request authors: 3
Average comments per issue: 2.0
Average comments per pull request: 0.17
Merged pull request: 6
Bot issues: 0
Bot pull requests: 0

Past year issues: 1
Past year pull requests: 2
Past year average time to close issues: 1 day
Past year average time to close pull requests: about 1 hour
Past year issue authors: 1
Past year pull request authors: 2
Past year average comments per issue: 5.0
Past year average comments per pull request: 0.5
Past year merged pull request: 2
Past year bot issues: 0
Past year bot pull requests: 0

More stats: https://issues.ecosyste.ms/repositories/lookup?url=https://github.com/joshualerickson/gwavr

Top Issue Authors

  • dblodgett-usgs (2)
  • jhollist (1)
  • joshualerickson (1)

Top Pull Request Authors

  • joshualerickson (4)
  • dblodgett-usgs (1)
  • boshek (1)

Top Issue Labels

Top Pull Request Labels


Package metadata

cran.r-project.org: gwavr

Get Water Attributes Visually in R

  • Homepage: https://github.com/joshualerickson/gwavr/
  • Documentation: http://cran.r-project.org/web/packages/gwavr/gwavr.pdf
  • Licenses: MIT + file LICENSE
  • Latest release: 0.3.2 (published 4 months ago)
  • Last Synced: 2025-04-25T18:31:31.779Z (2 days ago)
  • Versions: 4
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 291 Last month
  • Rankings:
    • Stargazers count: 15.074%
    • Forks count: 21.888%
    • Dependent packages count: 29.797%
    • Average: 33.329%
    • Dependent repos count: 35.455%
    • Downloads: 64.432%
  • Maintainers (1)

Dependencies

DESCRIPTION cran
  • dplyr * imports
  • elevatr * imports
  • httr * imports
  • jsonlite * imports
  • leaflet * imports
  • leaflet.extras * imports
  • magrittr * imports
  • miniUI * imports
  • nhdplusTools * imports
  • promises * imports
  • purrr * imports
  • scales * imports
  • sf * imports
  • shiny * imports
  • shinyWidgets * imports
  • terra * imports
  • tidyr * imports
  • units * imports
  • utils * imports
  • whitebox * imports
  • knitr * suggests
  • rmarkdown * suggests
  • spelling * suggests
.github/workflows/R-CMD-check.yaml actions
  • actions/checkout v2 composite
  • r-lib/actions/check-r-package v1 composite
  • r-lib/actions/setup-pandoc v1 composite
  • r-lib/actions/setup-r v1 composite
  • r-lib/actions/setup-r-dependencies v1 composite

Score: 10.301726615552553