An open API service indexing awesome lists of open source software.

https://github.com/mps9506/bmp-synthesis-manuscript


https://github.com/mps9506/bmp-synthesis-manuscript

Last synced: 3 months ago
JSON representation

Awesome Lists containing this project

README

        

---
output: github_document
---

# A meta-analysis of the impacts of best management practices on nonpoint source pollutant concentration

[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.10795231.svg)](https://doi.org/10.5281/zenodo.10795231)

```{r setup, include=FALSE}
knitr::opts_chunk$set(echo = TRUE)
```

This repository contains the data and analysis used in:

Schramm, M., Kikoyo, D., Wright, J., Jain, S. (2024) [*"A meta-analysis of the impacts of best management practices on nonpoint source pollutant concentration,"*](https://doi.org/10.3389/frwa.2024.1397615). Frontiers in Water. doi:10.3389/frwa.2024.1397615.

This project uses `{targets}` as the main organizing workflow. The `_targets.R` file defines the steps of the project workflow amd functions for those setps are stored in the `R/` directory. `renv` is used to manage package versions. To reproduce locally, clone or download this project to your computer. Open the project with RStudio or other IDE.

In the console:

```r
renv::restore()
```

then use `targets::tar_make()` to execute the project pipeline. Each step in the pipeline can be accessed with the `targets::tar_read()` function. For example, `targets::tar_read(tn_model)` will access the model object we fit to the total nitrogen data.

## Funding Statement

This project was funded by a nonpoint source grant from the Texas State Soil and Water Conservation Board.

## Working Environment Info

```{r}
renv::diagnostics()
```