{"id":20714,"name":"CDE","description":"Facilitates searching and download of the Water Framework Directive reporting data for all waterbodies from the EA website.","url":"https://github.com/ropensci/cde","last_synced_at":"2026-04-20T23:30:33.442Z","repository":{"id":76644439,"uuid":"92712854","full_name":"ropensci/cde","owner":"ropensci","description":"Repo for R package to query and download WFD data from the EA Catchment Data Explorer site","archived":false,"fork":false,"pushed_at":"2025-03-31T15:55:01.000Z","size":1574,"stargazers_count":5,"open_issues_count":4,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-03-14T15:29:01.489Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://docs.ropensci.org/cde","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/ropensci.png","metadata":{"files":{"readme":"README.Rmd","changelog":"NEWS.md","contributing":".github/CONTRIBUTING.md","funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2017-05-29T06:30:28.000Z","updated_at":"2025-03-31T15:55:04.000Z","dependencies_parsed_at":"2024-11-06T00:34:28.014Z","dependency_job_id":"d553fde3-ad4a-45df-83fb-0d332a557157","html_url":"https://github.com/ropensci/cde","commit_stats":{"total_commits":280,"total_committers":6,"mean_commits":"46.666666666666664","dds":"0.021428571428571463","last_synced_commit":"7381b14e66c0f4d0158b8a31990abd5f1c1981d1"},"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/ropensci/cde","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ropensci%2Fcde","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ropensci%2Fcde/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ropensci%2Fcde/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ropensci%2Fcde/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ropensci","download_url":"https://codeload.github.com/ropensci/cde/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ropensci%2Fcde/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30823733,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-22T05:45:47.827Z","status":"ssl_error","status_checked_at":"2026-03-22T05:45:39.030Z","response_time":85,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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"}},"owner":{"login":"ropensci","name":"rOpenSci","uuid":"1200269","kind":"organization","description":"","email":"info@ropensci.org","website":"https://ropensci.org/","location":"Berkeley, CA","twitter":"rOpenSci","company":null,"icon_url":"https://avatars.githubusercontent.com/u/1200269?v=4","repositories_count":307,"last_synced_at":"2023-03-10T20:30:59.242Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/ropensci","funding_links":[],"total_stars":null,"followers":null,"following":null,"created_at":"2022-11-02T19:23:08.224Z","updated_at":"2023-03-10T20:30:59.305Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ropensci","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ropensci/repositories"},"packages":[],"commits":{"id":1254525,"full_name":"ropensci/cde","default_branch":"master","total_commits":284,"total_committers":6,"total_bot_commits":0,"total_bot_committers":0,"mean_commits":47.333333333333336,"dds":0.035211267605633756,"past_year_total_commits":4,"past_year_total_committers":1,"past_year_total_bot_commits":0,"past_year_total_bot_committers":0,"past_year_mean_commits":4.0,"past_year_dds":0.0,"last_synced_at":"2026-03-20T09:01:41.658Z","last_synced_commit":"e4f5b508559c5919351edeb032645fd13a20096e","created_at":"2023-03-27T11:49:30.251Z","updated_at":"2026-03-20T09:01:19.951Z","committers":[{"name":"Rob Briers","email":"r.briers@napier.ac.uk","login":"robbriers","count":274},{"name":"Briers","email":"40000865@napier.ac.uk","login":null,"count":6},{"name":"Maëlle Salmon","email":"maelle.salmon@yahoo.se","login":"maelle","count":1},{"name":"Jeroen Ooms","email":"jeroenooms@gmail.com","login":"jeroen","count":1},{"name":"Daniel S. Katz","email":"d.katz@ieee.org","login":"danielskatz","count":1},{"name":"ropenscibot","email":"myrmecocystus+ropenscibot@gmail.com","login":null,"count":1}],"past_year_committers":[{"name":"Briers","email":"40000865@napier.ac.uk","login":null,"count":4}],"commits_url":"https://commits.ecosyste.ms/api/v1/hosts/GitHub/repositories/ropensci%2Fcde/commits","host":{"name":"GitHub","url":"https://github.com","kind":"github","last_synced_at":"2026-03-22T00:00:10.023Z","repositories_count":6200683,"commits_count":935759602,"contributors_count":36112038,"owners_count":1144494,"icon_url":"https://github.com/github.png","host_url":"https://commits.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://commits.ecosyste.ms/api/v1/hosts/GitHub/repositories"}},"issues_stats":{"full_name":"ropensci/cde","html_url":"https://github.com/ropensci/cde","last_synced_at":"2026-03-10T04:01:25.429Z","status":"active","issues_count":26,"pull_requests_count":2,"avg_time_to_close_issue":3129293.0,"avg_time_to_close_pull_request":359477.0,"issues_closed_count":22,"pull_requests_closed_count":2,"pull_request_authors_count":2,"issue_authors_count":4,"avg_comments_per_issue":1.2307692307692308,"avg_comments_per_pull_request":0.0,"merged_pull_requests_count":2,"bot_issues_count":0,"bot_pull_requests_count":0,"past_year_issues_count":1,"past_year_pull_requests_count":0,"past_year_avg_time_to_close_issue":null,"past_year_avg_time_to_close_pull_request":null,"past_year_issues_closed_count":0,"past_year_pull_requests_closed_count":0,"past_year_pull_request_authors_count":0,"past_year_issue_authors_count":1,"past_year_avg_comments_per_issue":0.0,"past_year_avg_comments_per_pull_request":null,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":0,"past_year_merged_pull_requests_count":0,"created_at":"2023-05-09T10:35:28.246Z","updated_at":"2026-03-10T04:01:25.431Z","repository_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/ropensci%2Fcde","issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/ropensci%2Fcde/issues","issue_labels_count":{"enhancement":11,"bug":9,"question":1},"pull_request_labels_count":{},"issue_author_associations_count":{"COLLABORATOR":23,"MEMBER":2,"NONE":1},"pull_request_author_associations_count":{"MEMBER":1,"CONTRIBUTOR":1},"issue_authors":{"robbriers":23,"maelle":1,"jhollist":1,"natesheehan":1},"pull_request_authors":{"maelle":1,"danielskatz":1},"host":{"name":"GitHub","url":"https://github.com","kind":"github","last_synced_at":"2026-03-22T00:00:10.760Z","repositories_count":13863452,"issues_count":34688243,"pull_requests_count":113286933,"authors_count":11208266,"icon_url":"https://github.com/github.png","host_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories","owners_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/owners","authors_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors"},"past_year_issue_labels_count":{},"past_year_pull_request_labels_count":{},"past_year_issue_author_associations_count":{"MEMBER":1},"past_year_pull_request_author_associations_count":{},"past_year_issue_authors":{"maelle":1},"past_year_pull_request_authors":{},"maintainers":[{"login":"robbriers","count":23,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/robbriers"},{"login":"maelle","count":2,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/maelle"},{"login":"jhollist","count":1,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/jhollist"}],"active_maintainers":[{"login":"maelle","count":1,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/maelle"}]},"events":{"total":{"PushEvent":2},"last_year":{"PushEvent":2}},"keywords":[],"dependencies":[{"ecosystem":"actions","filepath":".github/workflows/R-CMD-check.yaml","sha":null,"kind":"manifest","created_at":"2023-05-24T18:30:49.863Z","updated_at":"2023-05-24T18:30:49.863Z","repository_link":"https://github.com/ropensci/cde/blob/master/.github/workflows/R-CMD-check.yaml","dependencies":[{"id":9962531165,"package_name":"actions/checkout","ecosystem":"actions","requirements":"v2","direct":true,"kind":"composite","optional":false},{"id":9962531166,"package_name":"r-lib/actions/setup-pandoc","ecosystem":"actions","requirements":"v1","direct":true,"kind":"composite","optional":false},{"id":9962531167,"package_name":"r-lib/actions/setup-r","ecosystem":"actions","requirements":"v1","direct":true,"kind":"composite","optional":false},{"id":9962531168,"package_name":"r-lib/actions/setup-r-dependencies","ecosystem":"actions","requirements":"v1","direct":true,"kind":"composite","optional":false},{"id":9962531169,"package_name":"r-lib/actions/check-r-package","ecosystem":"actions","requirements":"v1","direct":true,"kind":"composite","optional":false},{"id":9962531170,"package_name":"actions/upload-artifact","ecosystem":"actions","requirements":"main","direct":true,"kind":"composite","optional":false}]},{"ecosystem":"actions","filepath":".github/workflows/test-coverage.yaml","sha":null,"kind":"manifest","created_at":"2023-05-24T18:30:49.946Z","updated_at":"2023-05-24T18:30:49.946Z","repository_link":"https://github.com/ropensci/cde/blob/master/.github/workflows/test-coverage.yaml","dependencies":[{"id":9962531219,"package_name":"actions/checkout","ecosystem":"actions","requirements":"v2","direct":true,"kind":"composite","optional":false},{"id":9962531220,"package_name":"r-lib/actions/setup-r","ecosystem":"actions","requirements":"v1","direct":true,"kind":"composite","optional":false},{"id":9962531221,"package_name":"r-lib/actions/setup-r-dependencies","ecosystem":"actions","requirements":"v1","direct":true,"kind":"composite","optional":false}]},{"ecosystem":"cran","filepath":"DESCRIPTION","sha":null,"kind":"manifest","created_at":"2023-05-24T18:30:50.155Z","updated_at":"2023-05-24T18:30:50.155Z","repository_link":"https://github.com/ropensci/cde/blob/master/DESCRIPTION","dependencies":[{"id":9962532258,"package_name":"R","ecosystem":"cran","requirements":"\u003e= 3.0.0","direct":true,"kind":"depends","optional":false},{"id":9962532259,"package_name":"graphics","ecosystem":"cran","requirements":"*","direct":true,"kind":"imports","optional":false},{"id":9962532260,"package_name":"utils","ecosystem":"cran","requirements":"*","direct":true,"kind":"imports","optional":false},{"id":9962532261,"package_name":"data.table","ecosystem":"cran","requirements":"*","direct":true,"kind":"imports","optional":false},{"id":9962532262,"package_name":"viridisLite","ecosystem":"cran","requirements":"*","direct":true,"kind":"imports","optional":false},{"id":9962532263,"package_name":"testthat","ecosystem":"cran","requirements":"*","direct":true,"kind":"suggests","optional":false},{"id":9962532264,"package_name":"knitr","ecosystem":"cran","requirements":"*","direct":true,"kind":"suggests","optional":false},{"id":9962532265,"package_name":"rmarkdown","ecosystem":"cran","requirements":"*","direct":true,"kind":"suggests","optional":false},{"id":9962532266,"package_name":"covr","ecosystem":"cran","requirements":"*","direct":true,"kind":"suggests","optional":false}]}],"score":3.9889840465642745,"created_at":"2023-09-11T14:52:14.883Z","updated_at":"2026-04-20T23:30:33.470Z","avatar_url":"https://github.com/ropensci.png","language":"R","category":"Natural Resources","sub_category":"Water Supply and Quality","monthly_downloads":0,"total_dependent_repos":0,"total_dependent_packages":0,"readme":"---\noutput: github_document\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# cde \u003cimg src=\"https://docs.ropensci.org/cde/reference/figures/logo.png\" align=\"right\" height=140/\u003e\n \u003c!-- badges: start --\u003e\n[![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)\n[![Codecov test coverage](https://codecov.io/gh/ropensci/cde/graph/badge.svg)](https://app.codecov.io/gh/ropensci/cde)\n[![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)\n[![status](http://joss.theoj.org/papers/0d35f75e861fcf47556d70571e226589/status.svg)](http://joss.theoj.org/papers/0d35f75e861fcf47556d70571e226589)\n[![CRAN Version](http://www.r-pkg.org/badges/version/cde)](http://www.r-pkg.org/pkg/cde)\n[![](http://cranlogs.r-pkg.org/badges/cde)](http://cran.rstudio.com/web/packages/cde/index.html)\n  \u003c!-- badges: end --\u003e\n  \n## Introduction\n\nWithin 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.\n\nIn 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/). \n\n`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.\n\nThe 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.\n\nThe 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.\n\n## Installation\n\nYou can install the current development version from github with:\n\n```{r gh-installation, eval = FALSE}\n# install.packages(\"remotes\")\nremotes::install_github(\"ropensci/cde\")\n```\n\n## Basic usage\n\nDetails of how to use the package can be found at [https://docs.ropensci.org/cde](https://docs.ropensci.org/cde).\n\n## Contributing\n\nFor details of how to contribute to this package, see [here](https://docs.ropensci.org/cde/CONTRIBUTING.html).\n\n[![ropensci_footer](https://ropensci.org/public_images/github_footer.png)](https://ropensci.org)\n\n\n","funding_links":[],"readme_doi_urls":[],"works":{},"citation_counts":{},"total_citations":0,"keywords_from_contributors":["cycle","routes","biodiversity","climate","hydrology"],"project_url":"https://ost.ecosyste.ms/api/v1/projects/20714","html_url":"https://ost.ecosyste.ms/projects/20714"}