https://github.com/doi-usgs/loadflex
Models and Tools for Watershed Flux Estimates
Science Score: 57.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
✓DOI references
Found 2 DOI reference(s) in README -
○Academic publication links
-
✓Committers with academic emails
6 of 10 committers (60.0%) from academic institutions -
✓Institutional organization owner
Organization doi-usgs has institutional domain (www.usgs.gov) -
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (11.8%) to scientific vocabulary
Keywords
r
rstats
usgs
water-quality
watershed-flux-estimates
Keywords from Contributors
geo-data-portal
grid-data
carpentries
novice
water-quality-data
software-carpentry
lesson
beta
helpwanted-list
geoscience
Last synced: 6 months ago
·
JSON representation
Repository
Models and Tools for Watershed Flux Estimates
Basic Info
- Host: GitHub
- Owner: DOI-USGS
- License: other
- Language: R
- Default Branch: main
- Homepage: http://dx.doi.org/10.1890/ES14-00517.1
- Size: 5.18 MB
Statistics
- Stars: 14
- Watchers: 19
- Forks: 17
- Open Issues: 59
- Releases: 3
Topics
r
rstats
usgs
water-quality
watershed-flux-estimates
Created over 11 years ago
· Last pushed over 1 year ago
Metadata Files
Readme
Changelog
Contributing
License
Code of conduct
README.Rmd
---
title: "README"
output:
md_document:
variant: markdown_github
editor_options:
chunk_output_type: console
---
```{r, echo = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "##",
fig.path = "man/figures/README-"
)
```
# loadflex: Models and Tools for Watershed Flux Estimates
In summer or fall 2023, this package will move from
https://github.com/USGS-R/loadflex to
https://github.com/DOI-USGS/loadflex
Please update your links accordingly.
The `loadflex` R package implements several of the most common methods for modeling and
predicting watershed solute fluxes and concentrations, including interpolation
and regression models, period-weighted averaging, and the composite method.
`loadflex` integrates seamlessly with the USGS's
[rloadest](https://code.usgs.gov/water/analysis-tools/rloadest) package and with native R
regression models. It offers a uniform interface for any model type, with which
you can quickly fit models, generate predictions, and aggregate to monthly or
annual values.
This package has been described in Appling et al. (2015):
> Appling, A. P., Leon, M. C., & McDowell, W. H. (2015). Reducing bias and quantifying uncertainty in watershed flux estimates: The R package `loadflex`. Ecosphere, 6(12), art269. https://doi.org/10.1890/ES14-00517.1
To see the recommended citation for this package, please run `citation('loadflex')` at the R prompt.
```{r eval=TRUE}
citation('loadflex')
```
## Installation
To install the `loadflex` package, use the `remotes` package as follows (running `install.packages('remotes')` first if needed). To use `remotes::install_gitlab()` it is convenient to set a [GitLab Personal Access Token (PAT)](https://docs.gitlab.com/ee/user/profile/personal_access_tokens.html). Similarly, to use `remotes::install_github()` it is convenient to set a [GitHub PAT](https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens). There are [several methods](https://usethis.r-lib.org/articles/git-credentials.html) for setting your PATs within R; the simplest is to call `Sys.setenv(GITLAB_PAT="xxxx", GITHUB_PAT="yyyy"),
replacing xxxx and yyyy with the PATs you established on the GitLab and GitHub websites.
You will also need a compiler to install `smwrStats`, `smwrQW`, and `rloadest` -- for Windows, see https://cran.r-project.org/bin/windows/Rtools/rtools43/rtools.html. For Mac, see https://mac.r-project.org/tools/.
```{r eval=FALSE}
library(remotes)
remotes::install_gitlab("water/analysis-tools/smwrData", host = "code.usgs.gov")
remotes::install_gitlab("water/analysis-tools/smwrBase", host = "code.usgs.gov")
remotes::install_gitlab("water/analysis-tools/smwrGraphs", host = "code.usgs.gov")
remotes::install_gitlab("water/analysis-tools/smwrStats", host = "code.usgs.gov") # needs compilation
remotes::install_gitlab("water/analysis-tools/smwrQW", host = "code.usgs.gov") # needs compilation
remotes::install_gitlab("water/analysis-tools/rloadest", host = "code.usgs.gov") # needs compilation
remotes::install_github("appling/unitted")
remotes::install_github("DOI-USGS/EGRET")
remotes::install_github("USGS-R/loadflex") # soon to be "DOI-USGS/loadflex"
```
Also please see the installation FAQ on the wiki
(https://github.com/USGS-R/loadflex/wiki/Installation-FAQ) if you run into trouble.
## Getting Started
To get started, load the package with `library(loadflex)` and type `?loadflex` or `vignette('intro_to_loadflex')`.
## Development and Maintenance Status
`loadflex` is a USGS Archive Research Package:
[](https://owi.usgs.gov/R/packages.html#research)
Project funding has ended and our maintenance time is limited,
but we do attempt to provide bug fixes and lightweight support
as we are able. Submit questions or suggestions to
[https://github.com/USGS-R/loadflex/issues](https://github.com/USGS-R/loadflex/issues).
## Contributing
We want to encourage a warm, welcoming, and safe environment for contributing to this project. See [CODE_OF_CONDUCT.md](https://github.com/USGS-R/streamMetabolizer/blob/main/CODE_OF_CONDUCT.md) for more information.
For technical details on how to contribute, see [CONTRIBUTING.md](https://github.com/USGS-R/streamMetabolizer/blob/main/CONTRIBUTING.md)
## Contributing
We want to encourage a warm, welcoming, and safe environment for contributing to this project. See [CODE_OF_CONDUCT.md](https://github.com/USGS-R/loadflex/blob/main/CODE_OF_CONDUCT.md) for more information.
For technical details on how to contribute, see [CONTRIBUTING.md](https://github.com/USGS-R/loadflex/blob/main/CONTRIBUTING.md)
## Development History
`loadflex` was created 2013-2015 by [Alison Appling](https://github.com/aappling-usgs)
and [Miguel Leon](https://github.com/miguelcleon) with the support of [Bill
McDowell](https://colsa.unh.edu/faculty/mcdowell) and the [McDowell
lab](http://wrrc.unh.edu/mcdowell-lab-current) at the University of New
Hampshire. Funding for the project was provided by the National
Science Foundation, USDA National Institute of Food and Agriculture, and the NH
Agricultural Experiment Station. Funding for the example dataset from the
Lamprey River was provied by the EPA, NH Water Resources Research Center, NH
Agricultural Experiment Station, NH Sea Grant, USGS, and NSF.
Additional development and maintenance in 2016-2017 was done by
[Alison Appling](https://github.com/aappling-usgs),
[Lindsay Platt](https://github.com/lindsayplatt), and
[David Watkins](https://github.com/wdwatkins) with support from the USGS National Water Quality Program and the USGS Office of Water Information.
## Model Archive
The following version of R and package dependencies were used most recently to pass the embedded tests within this package. There is no guarantee of reproducible results using future versions of R or updated versions of package dependencies; however, we aim to test and update future modeling environments.
```{r eval=FALSE}
> sessioninfo::session_info()
## (TBD)
```
```{r disclaimer, child="DISCLAIMER.md", eval=TRUE}
```
Owner
- Name: U.S. Geological Survey
- Login: DOI-USGS
- Kind: organization
- Email: gs_help_git@usgs.gov
- Location: United States of America
- Website: https://www.usgs.gov/
- Twitter: USGS
- Repositories: 59
- Profile: https://github.com/DOI-USGS
By integrating our diverse scientific expertise, we understand complex natural science phenomena and provide scientific products that lead to solutions.
GitHub Events
Total
- Issues event: 1
- Watch event: 2
- Member event: 1
- Issue comment event: 4
- Push event: 1
- Pull request event: 1
- Fork event: 1
Last Year
- Issues event: 1
- Watch event: 2
- Member event: 1
- Issue comment event: 4
- Push event: 1
- Pull request event: 1
- Fork event: 1
Committers
Last synced: about 2 years ago
Top Committers
| Name | Commits | |
|---|---|---|
| Alison Appling | a****g@u****v | 203 |
| wdwatkins | w****s@u****v | 60 |
| Lindsay Carr | l****r@u****v | 58 |
| Alison Appling | a****g@g****m | 49 |
| Miguel Leon | l****i@s****u | 44 |
| Laura DeCicco | l****o@u****v | 4 |
| Joseph Stachelek | j****a | 3 |
| Jesse Ross | j****s@u****v | 1 |
| Julie Padilla | j****s@g****m | 1 |
| Katrin Leinweber | 9****r | 1 |
Committer Domains (Top 20 + Academic)
usgs.gov: 5
sas.upenn.edu: 1
Issues and Pull Requests
Last synced: 12 months ago
All Time
- Total issues: 64
- Total pull requests: 36
- Average time to close issues: 4 months
- Average time to close pull requests: 3 months
- Total issue authors: 15
- Total pull request authors: 8
- Average comments per issue: 2.27
- Average comments per pull request: 2.33
- Merged pull requests: 31
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- aappling-usgs (43)
- lsethna (4)
- adesorme (2)
- appling (2)
- ldecicco-USGS (2)
- wdwatkins (2)
- Farshad171 (1)
- carollcb (1)
- brooketrout7 (1)
- fbiles (1)
- jsta (1)
- jesse-ross (1)
- gehringj (1)
- lindsayplatt (1)
- mcvta (1)
Pull Request Authors
- aappling-usgs (19)
- jsta (5)
- lindsayplatt (5)
- wdwatkins (3)
- ldecicco-USGS (2)
- jpadilla-usgs (1)
- jesse-ross (1)
- katrinleinweber (1)
Top Labels
Issue Labels
priority (1)
Pull Request Labels
Dependencies
DESCRIPTION
cran
- R >= 3.0 depends
- methods * depends
- rloadest >= 0.4.4 depends
- EGRET * imports
- MASS * imports
- Matrix * imports
- car * imports
- dplyr * imports
- ggplot2 * imports
- lubridate * imports
- smwrBase >= 1.1.2 imports
- smwrQW * imports
- smwrStats * imports
- splines * imports
- stats * imports
- unitted >= 0.2.8 imports
- knitr * suggests
- testthat * suggests