🌐 **Launch the interactive Shiny app here! **
This repository hosted here is an author's demo version. For the official version, please see the original repository.
This author's demo version changed:
- Removed r package renv.
- Narrowed down the map's area to lower mainland to reduce the size of data. Original app's data covers entire British Columbia.
- Data were updated to a shapshot from 2025 April.
This is an R application for British Columbia Watershed Characterization. Follow these steps to install and initialize this application:
- Clone or download the repository
- Double-click
bcwatershedchara.Rprojto open the project in an R IDE, e.g. RStudio - Use renv to install all dependent packages by typing these lines in your Console:
install.packages("renv") # renv is a new effort to bring project-local R dependency management to your projects
library(renv) # please read the renv(link) above for details (optional)
renv::restore() # this may take a while
- Double-click the
app.Rto open this file - Click the green arrow
Run Appbutton to load the application
Besides clicking the Run App button, you can also initialize the application from Console.
library(shiny)
runApp()
After initializing the application, you will see a User Guide on the third page of this application.
See /maintain/How-to-maintain-this-app.html.
This is mature project.
To report bugs/issues/feature requests, please file an issue.
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 2022 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.