This repository contains R scripts that utilize openly available hydrometric data from the Water Survey of Canada (data source one and two) to construct an interactive flow dashboard including a map, and to produce a static version of the same indicator as a downloadable PDF.
There are two core scripts that are required for the analysis; they need to be run in order:
- 01_clean.R
- 02_analysis.R
Following the successful implementation of these scripts, the interactive flow dashboard can be generated by running the following script in the ‘app’ folder:
- flow_shiny_app.R
The static PDF version of this indicator can be generated using the following script in the ‘print_ver’ folder:
- Factsheets.Rmd
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.
Copyright 2023 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 project was created using the bcgovr package.