Skip to content

PR0CUR8T0R/ghg-emissions-indicator

 
 

License

img

Trends in Greenhouse Gas Emissions in B.C.

A set of R scripts to populate an indicator on trends in greenhouse gas emissions in British Columbia. These scripts reproduce the results and graphs published on Environmental Reporting BC.

Usage

Data

British Columbia Greenhouse Gas Emissions data are sourced from the B.C. Data Catalogue, released under the Open Government Licence - British Columbia.

British Columbia population estimates (Table: 17-10-0005-01) and gross domestic product (Table: 36-10-0222-01) data are sourced from Statistics Canada, released under the Statistics Canada Open Licence Agreement.

Code

There are three core scripts that are required for the indicator, they need to be run in order:

  • 01_load.R
  • 02_clean.R
  • 03_output.R

The run_all.R script can be sourceed to run it all at once.

Most packages used in the analysis can be installed from CRAN using install.packages(), but you will need to install envreportutils and cansim using remotes:

install.packages("remotes") # If you don't already have it installed

remotes::install_github("bcgov/envreportutils")
remotes::install_github("mountainmath/cansim")

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

About

R scripts for a GHG emissions indicator published on Environmental Reporting BC

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • R 100.0%