ghg-emissions-indicator

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

https://github.com/bcgov/ghg-emissions-indicator

Science Score: 13.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (14.5%) to scientific vocabulary

Keywords

data-science env r rstats
Last synced: 6 months ago · JSON representation

Repository

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

Basic Info
  • Host: GitHub
  • Owner: bcgov
  • License: apache-2.0
  • Language: R
  • Default Branch: master
  • Homepage:
  • Size: 457 KB
Statistics
  • Stars: 10
  • Watchers: 5
  • Forks: 2
  • Open Issues: 0
  • Releases: 3
Topics
data-science env r rstats
Created over 9 years ago · Last pushed about 1 year ago
Metadata Files
Readme Contributing License Code of conduct

README.md

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 using remotes:

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

remotes::install_github("bcgov/envreportutils")

```

Data pre-processing

If you are updating the indicator, there is an additional pre-processing script found in the envreportbc-snippets package. The scripts are required to process the Provincial Inventory data.

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 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 repository is maintained by Environmental Reporting BC. Click here for a complete list of our repositories on GitHub.

Owner

  • Name: bcgov
  • Login: bcgov
  • Kind: organization
  • Email: Developer.Experience@gov.bc.ca
  • Location: Canada

This is the home for code that is open

GitHub Events

Total
  • Push event: 1
Last Year
  • Push event: 1

Committers

Last synced: 6 months ago

All Time
  • Total Commits: 257
  • Total Committers: 10
  • Avg Commits per committer: 25.7
  • Development Distribution Score (DDS): 0.615
Past Year
  • Commits: 0
  • Committers: 0
  • Avg Commits per committer: 0.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Andrew Ladle a****e@g****a 99
stephhazlitt s****t@g****a 74
Karly Harker k****r@g****a 26
Andy Teucher a****r@g****a 22
Karly Harker 5****r@u****m 12
Perkins g****s@g****a 9
Chris Madsen 7****d@u****m 7
GPerkins G****s@g****a 4
repo-mountie[bot] 4****]@u****m 3
andladle 1****e@u****m 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 7
  • Total pull requests: 8
  • Average time to close issues: 3 months
  • Average time to close pull requests: 15 days
  • Total issue authors: 2
  • Total pull request authors: 4
  • Average comments per issue: 0.86
  • Average comments per pull request: 0.5
  • Merged pull requests: 8
  • Bot issues: 5
  • Bot pull requests: 2
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • repo-mountie[bot] (5)
  • chrispmad (2)
Pull Request Authors
  • KarHarker (3)
  • repo-mountie[bot] (2)
  • ateucher (2)
  • stephhazlitt (1)
Top Labels
Issue Labels
Pull Request Labels
in progress (1)