{"id":26186997,"url":"https://github.com/ivarref/bp-diagrams","last_synced_at":"2026-02-09T15:32:27.584Z","repository":{"id":137668817,"uuid":"25748215","full_name":"ivarref/bp-diagrams","owner":"ivarref","description":"Visualize energy data per country from British Petroleum Statistical Review of the World","archived":false,"fork":false,"pushed_at":"2018-07-01T12:45:39.000Z","size":3365,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-29T22:34:29.932Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://ivarref.github.io/bp-diagrams/","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ivarref.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2014-10-25T22:01:34.000Z","updated_at":"2019-08-03T01:08:52.000Z","dependencies_parsed_at":null,"dependency_job_id":"033b7aa5-870a-4ac7-9405-5eb7d5231206","html_url":"https://github.com/ivarref/bp-diagrams","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/ivarref/bp-diagrams","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ivarref%2Fbp-diagrams","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ivarref%2Fbp-diagrams/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ivarref%2Fbp-diagrams/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ivarref%2Fbp-diagrams/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ivarref","download_url":"https://codeload.github.com/ivarref/bp-diagrams/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ivarref%2Fbp-diagrams/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29270882,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-09T13:47:44.167Z","status":"ssl_error","status_checked_at":"2026-02-09T13:47:43.721Z","response_time":56,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-03-11T23:36:06.972Z","updated_at":"2026-02-09T15:32:27.538Z","avatar_url":"https://github.com/ivarref.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"BP-diagrams\n===========\n\nGoal\n----\nVisualize BP (British Petroleum) Statistical Review of the World 2015.\nChoose between resource usage per capita, \nrelative share of energy consumption and total energy consumption.\n\n[View result](http://ivarref.github.io/bp-diagrams/).\n\nAbout the data\n--------------\nBP 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.`\n\nThe 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.\n\nThe 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).\nMapping 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).\n\nNotes\n--------\n* Coal production data available since 1980.\n* Gas production data available since 1970.\n\nFeatures\n--------\n\n* Compare countries or group of countries.\n* Toggle resources (coal, oil, gas, nuclear, hydro and other renewables).\n* Permalinks (normal and printer friendly).\n* Show actual numbers option.\n* Choose year to show actual numbers.\n* Show production data.\n* Net import/export show.\n\nPlans for new features\n----------------------\n\n* GDP/PPP as alternative left y-axis.\n\nTODOs\n----------------------\n\n* Clean up data filtering.\n* Remove config variable?\n\nAcknowledgements\n----------------\n[Mazama Science](http://mazamascience.com/OilExport/) for BP data set.\n\n[okfn](http://data.okfn.org/data/core/population) for World Bank data set.\n\n[Rune Likvern / Fractional Flow](http://fractionalflow.com/) for inspiration as well as feedback.\n\nUpdating the data\n-----------------\n\nThis is a yearly task.\n\n### 1. Update EnergyExportDatabrowser\nThis will update the `BP_*` files in `data/`.\n\n### 2. Update the rest of data\n\n`$ ./make.sh`\n\nComments\n--------\nrefsdal.ivar@gmail.com\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fivarref%2Fbp-diagrams","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fivarref%2Fbp-diagrams","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fivarref%2Fbp-diagrams/lists"}