cde - R package to retrieve data from the Environment Agency Catchment Data Explorer site

cde - R package to retrieve data from the Environment Agency Catchment Data Explorer site - Published in JOSS (2019)

https://github.com/ropensci/cde

Science Score: 95.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 1 DOI reference(s) in JOSS metadata
  • Academic publication links
    Links to: joss.theoj.org, zenodo.org
  • Committers with academic emails
    3 of 6 committers (50.0%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
    Published in Journal of Open Source Software

Keywords from Contributors

reproducibility hydrology tokenizer text-analysis rstats-package climate defra air-quality air-pollution-levels air-pollution
Last synced: 6 months ago · JSON representation

Repository

Repo for R package to query and download WFD data from the EA Catchment Data Explorer site

Basic Info
Statistics
  • Stars: 5
  • Watchers: 2
  • Forks: 3
  • Open Issues: 3
  • Releases: 3
Created almost 9 years ago · Last pushed 11 months ago
Metadata Files
Readme Changelog Contributing

README.Rmd

---
output: github_document
---



```{r, echo = FALSE}
knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.path = "README-"
)
```

# cde 
 
[![R-CMD-check](https://github.com/ropensci/cde/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/ropensci/cde/actions/workflows/R-CMD-check.yaml)
[![Codecov test coverage](https://codecov.io/gh/ropensci/cde/graph/badge.svg)](https://app.codecov.io/gh/ropensci/cde)
[![Project Status: Active – The project has reached a stable, usable state and is being actively developed.](https://www.repostatus.org/badges/latest/active.svg)](https://www.repostatus.org/#active) [![](https://badges.ropensci.org/284_status.svg)](https://github.com/ropensci/onboarding/issues/284) [![DOI](https://zenodo.org/badge/92712854.svg)](https://zenodo.org/badge/latestdoi/92712854)
[![status](http://joss.theoj.org/papers/0d35f75e861fcf47556d70571e226589/status.svg)](http://joss.theoj.org/papers/0d35f75e861fcf47556d70571e226589)
[![CRAN Version](http://www.r-pkg.org/badges/version/cde)](http://www.r-pkg.org/pkg/cde)
[![](http://cranlogs.r-pkg.org/badges/cde)](http://cran.rstudio.com/web/packages/cde/index.html)
  
  
## Introduction

Within Europe, the [Water Framework Directive](http://ec.europa.eu/environment/water/water-framework/index_en.html) (WFD) sets EU-wide standards for how the quality of surface- and ground-waters across Europe is assessed and classified. Assessment of quality using the WFD is based on a range of elements that vary depending on the type of water being assessed and are combined to give an overall classification of waterbodies into five classes (High, Good, Moderate, Poor and Bad) for surface waters and two classes (Good or Poor) for groundwaters.

In the UK the Environment Agency (EA) is the competent authority responsible for monitoring and assessment of water quality within England. The EA have made the reporting data relating to the requirements of the WFD available via the Catchment Data Explorer (CDE) website, [https://environment.data.gov.uk/catchment-planning/](https://environment.data.gov.uk/catchment-planning/). 

`cde` is a package for R which facilitates searching and download of the WFD reporting data for all waterbodies from the EA CDE website. The ability to access these data from within the R environment allows for efficient collation and interrogation of data and reproducible analysis of trends or patterns in water quality and pressures on waterbodies across England. There are also some inconsistencies in the way in which the data are structured within the original CDE website; ``cde`` provides consistently named and structured output which facilitates further analysis.

The types of data that can be downloaded are: WFD status classification data, Reasons for Not Achieving Good (RNAG) status, objectives set for waterbodies and details of associated protected areas.

The CDE data are made available under the [Open Government Licence v3.0](https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/) and use of the data accessed by and contained within this package implies acceptance of these licence conditions.

## Installation

You can install the current development version from github with:

```{r gh-installation, eval = FALSE}
# install.packages("remotes")
remotes::install_github("ropensci/cde")
```

## Basic usage

Details of how to use the package can be found at [https://docs.ropensci.org/cde](https://docs.ropensci.org/cde).

## Contributing

For details of how to contribute to this package, see [here](https://docs.ropensci.org/cde/CONTRIBUTING.html).

[![ropensci_footer](https://ropensci.org/public_images/github_footer.png)](https://ropensci.org)


Owner

  • Name: rOpenSci
  • Login: ropensci
  • Kind: organization
  • Email: info@ropensci.org
  • Location: Berkeley, CA

JOSS Publication

cde - R package to retrieve data from the Environment Agency Catchment Data Explorer site
Published
July 04, 2019
Volume 4, Issue 39, Page 1473
Authors
Robert A. Briers ORCID
School of Applied Sciences, Edinburgh Napier University
Editor
Karthik Ram ORCID
Tags
water quality Water Framework Directive

GitHub Events

Total
  • Push event: 2
Last Year
  • Push event: 2

Committers

Last synced: 7 months ago

All Time
  • Total Commits: 284
  • Total Committers: 6
  • Avg Commits per committer: 47.333
  • Development Distribution Score (DDS): 0.035
Past Year
  • Commits: 6
  • Committers: 2
  • Avg Commits per committer: 3.0
  • Development Distribution Score (DDS): 0.167
Top Committers
Name Email Commits
Rob Briers r****s@n****k 274
Briers 4****5@n****k 6
Maëlle Salmon m****n@y****e 1
Jeroen Ooms j****s@g****m 1
Daniel S. Katz d****z@i****g 1
ropenscibot m****t@g****m 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 25
  • Total pull requests: 2
  • Average time to close issues: about 1 month
  • Average time to close pull requests: 4 days
  • Total issue authors: 3
  • Total pull request authors: 2
  • Average comments per issue: 1.28
  • Average comments per pull request: 0.0
  • Merged pull requests: 2
  • 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
  • robbriers (23)
  • natesheehan (1)
  • jhollist (1)
Pull Request Authors
  • maelle (1)
  • danielskatz (1)
Top Labels
Issue Labels
enhancement (11) bug (9) question (1)
Pull Request Labels

Dependencies

.github/workflows/R-CMD-check.yaml actions
  • actions/checkout v2 composite
  • actions/upload-artifact main 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
.github/workflows/test-coverage.yaml actions
  • actions/checkout v2 composite
  • r-lib/actions/setup-r v1 composite
  • r-lib/actions/setup-r-dependencies v1 composite
DESCRIPTION cran
  • R >= 3.0.0 depends
  • data.table * imports
  • graphics * imports
  • utils * imports
  • viridisLite * imports
  • covr * suggests
  • knitr * suggests
  • rmarkdown * suggests
  • testthat * suggests