Skip to content
Projects

KKulma/carbon-intensity-app

View on GitHub

KKulma/carbon-intensity-app has 26 GitHub stars and 5 forks. GitHot measured 0 stars in 24 hours. Last checked 2026-11-14 18:34 UTC. Last push 2026-11-13.

How these counts are measured

Measured star growth

in 24h
0
in 7 days
Collecting history
in 15 days
Collecting history
in 1 month
Collecting history

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

About

A web app showing how much electricity is made from renewable sources in different parts of UK

Web & Apps

README.md

Original

update data deploy

How much electricity in UK comes from low-carbon sources?

Our electricity is not made equal and can be associated with higher or lower carbon intensity. How much of UK's electricity is produced using low-carbon sources? Has this proportion decreased or increased over time? This Shiny app will help answer these questions.

The web app and the underlying data pipeline was built using open source tools. Web app's front-end was built using Shiny, electricity composition was extracted from National Grid's Carbon Intensity API using {intensegRid} package. Data and deployment pipelines were developed using GitHub Actions: schedule.yml pulls the carbon intensity data from the API, saves it in data/daily_ci.rds file daily and pushes the changes to the repo; deploy.yml deploys the changes to the shinyapps.io server on push.

Getting started

Run locally

Using Docker (+ docker-compose)

Move into repository's root directory and run the following command:

$ docker-compose up -d dev

Point your web browser to http://localhost:8080. You can keep editing the source code: changes will be available instantly.

Once you're done, run:

$ docker-compose down