Coder Social home page Coder Social logo

ecuk_shiny_app's Introduction

Energy Consumption in the UK Dashboard

Introduction

Energy Consumption in the UK (ECUK) is an annual publication from the UK's Department for Business, Energy and Industrial Strategy

The statistics presented in this dashboard are sector energy consumption by fuel and intensity. Intensity is a measure of energy consumption per unit of output.

The tool allows users to explore trends in energy consumption and intensity since 2000 and to download filtered datasets for their own use.

Consumption by fuel

There are two tabs in which the data is filtered, the "By Fuel" and "By Sector". The datasets are filtered independently on each tab and the controls in the side panel are different on each of the two tabs.

In the "By Fuel" tab there is a drop down which allows users to filter by sector. There is also a drop down for year for the "Consumption Share" chart and the "Year on Year Change" chart. The checkboxes are used to create a list of fuels which also filters the dataset.

The pie chart shows consumption by fuel as a proportion of all consumption in the sectors selected and for the fuels selected. Absolute values are in kilotonnes of oil equivalent (ktoe).

Consumption by sector

In the "By Fuel" tab there is a drop down which allows users to filter by fuel. There is also a drop down for year for the "Consumption Share" chart and the "Year on Year Change" chart. The checkboxes are used to create a list of sectors which also filters the dataset.

The pie chart shows consumption by sector as a proportion of all consumption for the fuels selected and for the sectors selected. Absolute values are in kilotonnes of oil equivalent (ktoe).

Data download

The data download with produce a .csv of the time series used to produce the plot in the time series panel though it will not account for filters applied within the Plotly visualisation itself through the interactive legend.

Colour schemes

The colour schemes were inherited from the 2019 version of the ECUK dashboard and are consistent with the spreadsheet publications of ECUK.

Running the app

If you want to run the app from an editor other than RStudio, e.g VSCode, Codepace, you should run rmarkdown::run from an R prompt. Using the UI to knit will run rmarkdown::knit which does not work with the shiny runtime used for this dashboard.

ecuk_shiny_app's People

Contributors

simonrparker avatar

Watchers

 avatar

ecuk_shiny_app's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.