Skip to content
프로젝트

KKulma/carbon-intensity-app

GitHub에서 보기

소개

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

웹 및 앱 개발

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
0
in 7 days
0
in 15 days
0
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

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

관련 프로젝트 살펴보기

불러오는 중…