bcgov / shinyrems

An R package to launch shinyrems; an online application that allows a user to access, download, clean, plot and calculate simple statistics using data from the B.C. government Environmental Monitoring System database.
https://bcgov.github.io/shinyrems/
Other
18 stars 4 forks source link
data-analysis environment environmental-data water-quality

shinyrems

img Apache
license

shinyrems is an app that allows you to download, clean, visualize and analyze data from the Environmental Monitoring System (EMS) database. Create plots and view water quality data with BC aquatic life water quality guidelines.

Installation

To install the latest development version from GitHub

# install.packages("remotes")
remotes::install_github("bcgov/rems")
remotes::install_github("bcgov/wqbc")
remotes::install_github("bcgov/shinyrems")

Please remember to restart your R session after installation.

Usage

See the User Guide for a more detailed explanation of app usage.

ShinyRems app can be run with various EMS datasets that must be downloaded and stored on the user’s computer. Prior to app startup, you will be prompted to download data if required and you will be notified if data updates are available.

There are six possible run modes corresponding to different datasets:

To select a run mode, provide the value (as it appears above) to shinyrems::run_ems_app(). For example, type the following into your R console:

# select historic run mode
shinyrems::run_ems_app("historic")

# select upload run mode
shinyrems::run_ems_app("upload")

# "2yr" run mode is the default and will be selected if no other value is provided
shinyrems::run_ems_app()

Contribution

Please report any issues.

Pull requests are always welcome.

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 2019 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.