An open API service indexing awesome lists of open source software.

https://github.com/ivarref/bp-diagrams

Visualize energy data per country from British Petroleum Statistical Review of the World
https://github.com/ivarref/bp-diagrams

Last synced: 5 months ago
JSON representation

Visualize energy data per country from British Petroleum Statistical Review of the World

Awesome Lists containing this project

README

          

BP-diagrams
===========

Goal
----
Visualize BP (British Petroleum) Statistical Review of the World 2015.
Choose between resource usage per capita,
relative share of energy consumption and total energy consumption.

[View result](http://ivarref.github.io/bp-diagrams/).

About the data
--------------
BP defines the `other renewables` numbers as the following: `Based on gross generation from renewable sources including wind, geothermal, solar, biomass and waste, and not accounting for cross-border electricity supply.`

The data is available as a TSV (Tab Separated Values) file [here](https://github.com/ivarref/bp-diagrams/blob/master/data/data.tsv). This file contains BP energy data mapped to World Bank population data.

The data is generated based on the [Mazama Science BP data set](http://mazamascience.com/OilExport/data.html) and the [okfn World Bank population data set](http://data.okfn.org/data/core/population).
Mapping between the World Bank countries and BP groups is specified in [gen_data.py](https://github.com/ivarref/bp-diagrams/blob/master/gen_data.py).

Notes
--------
* Coal production data available since 1980.
* Gas production data available since 1970.

Features
--------

* Compare countries or group of countries.
* Toggle resources (coal, oil, gas, nuclear, hydro and other renewables).
* Permalinks (normal and printer friendly).
* Show actual numbers option.
* Choose year to show actual numbers.
* Show production data.
* Net import/export show.

Plans for new features
----------------------

* GDP/PPP as alternative left y-axis.

TODOs
----------------------

* Clean up data filtering.
* Remove config variable?

Acknowledgements
----------------
[Mazama Science](http://mazamascience.com/OilExport/) for BP data set.

[okfn](http://data.okfn.org/data/core/population) for World Bank data set.

[Rune Likvern / Fractional Flow](http://fractionalflow.com/) for inspiration as well as feedback.

Updating the data
-----------------

This is a yearly task.

### 1. Update EnergyExportDatabrowser
This will update the `BP_*` files in `data/`.

### 2. Update the rest of data

`$ ./make.sh`

Comments
--------
refsdal.ivar@gmail.com