A set of R scripts to calculate the Canadian Ambient Air Quality Standards (CAAQS) for fine particulate matter (PM2.5) in British Columbia. These scripts reproduce the analysis and data visualizations presented on Environmental Reporting BC.
This analysis makes use of the rcaaqs package, and air quality monitoring data from the B.C. Ministry of Environment.
There are five scripts that are required for the analysis, they need to be run in order:
01_load.R
- downloads the data from DataBC02_clean.R
- cleans and prepares data for analysis03_analysis.R
- performs the analysis04_output.R
- creates maps and graphs and saves outputs05_databc_output.R
- creates output files for Data BC catalogue
The run_all.R
script can be source
ed to run it all at once.
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 2015 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.