Awesome
Long-term Trends in Groundwater Levels in B.C.
This repository contains R code that calculates long-term trends in groundwater levels. It supports an indicator published on Environmental Reporting BC.
The scripts use the bcgroundwater R package and groundwater monitoring data from the B.C. Observation Well Network to:
- analyze long-term trends of groundwater levels
- produce provincial-scale and individual well summary statistics
- generate supporting data visualizations
Usage
Data
All the data sourced for the analysis is provided under the Open Government Licence – British Columbia.
- Groundwater level monitoring data are downloaded from the
B.C. Data Catalogue via the
bcgroundwater
R package - Groundwater well attribute data are downloaded directly from the B.C. Data Catalogue
- Natural Resource Regions used in the summaries are sourced from the
bcmaps
R package
Code
There are four core scripts that are required for the analysis, they need to be run in order:
- 01_clean.R
- 02_analysis.R
- 03_visualize.R
- 04_output.R
Groundwater Levels shinyapp
The app/ folder contains code to launch a shinyapp for an interactive data visualization found on the indicator website.
Getting Help or Reporting an Issue
To report bugs/issues/feature requests, please file an issue.
How to Contribute
If you would like to contribute, please see our CONTRIBUTING guidelines.
Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.
License
Copyright 2024 Province of British Columbia
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
This repository is maintained by Environmental Reporting BC. Click here for a complete list of our repositories on GitHub.