Skip to content

Analysis and visualisation of IRENA's energy generation and capacity data

License

Notifications You must be signed in to change notification settings

360-info/report-energy-transition

Repository files navigation

Renewables transition

Visualises the growth of renewable electricity capacity and generation over the last 20 years using data from the International Renewable Energy Agency.

Use + Remix rights

Creative Commons Attribution 4.0

The map and the analysis that underpins it are available under a Creative Commons Attribution 4.0 licence. This includes commercial reuse and derivates.

The data is made available by the International Renewable Energy Agency, provided they are acknowledged as the source of the data.

Please attribute 360info and IRENA when you use and remix this visualisation.

Reproduce the analysis

💨 Quickstart: use the dev container

This project comes with a ready-to-use dev container that includes everything you need to reproduce the analysis (or do a similar one of your own!), including R and Quarto.

If you have a GitHub account, open the project in GitHub Codespaces for free with two clicks:

Open in GitHub Codespaces

If you have Docker installed, you can also build and run the container locally:

  • Download or clone the project
  • Open it in Visual Studio Code
  • Run the Remote-Containers: Reopen in Container command

Once the container has launched (it might take a few minutes to set up the first time), you can run the analysis scripts with:

quarto render

Manually running

We typically publish graphics using Quarto notebooks, which can be found in the*.qmd files. Quarto allows reproducible analysis and visualisation to be done in a mix of languages, but we typically use R and Observable JS.

You'll need to:

Now, render the .qmd files to the /out directory with:

quarto render

Help

If you find any problems with our analysis or the map, please feel free to create an issue!