GithubHelp home page GithubHelp logo

fagan2888 / climatescope-data Goto Github PK

View Code? Open in Web Editor NEW

This project forked from developmentseed/climatescope-data

0.0 1.0 0.0 3.13 MB

The data processing scripts for the Global Climatescope

Python 95.68% Shell 1.81% JavaScript 2.51%

climatescope-data's Introduction

This script processes the data for the Global Climatescope and prepares it for use on the website. It works as a make file and will rebuild the full dataset on every run.

Usage

A quick overview of the process:

  1. Provide source data
    The source data is stored in the source folder.
  2. Run script
    python cs-core.py
  3. Move output to Jekyll site structure

Source data

Core CS data

The script expects the core Climatescope data to be provided in .xlsx format and stored in source/cs-core. The data for each edition should be in separate files that are named after its year. For example: source/cs-core/2013.xlsx and source/cs-core/2014.xlsx.

These files should contain the following sheets:

  • score
  • param
  • ind

Each of these files, should have the following columns:

column description
id Contains the id of the score, param or indicator
iso The ISO 3166 code of the country, state or province
score The score

Any extra columns or sheets will be ignored by the script.

Notes:

  • the header of the different sheets should not have filters enabled
  • the structure of the files was proposed by BNEF for the first edition of the Global Climatescope

Sources

Shapefiles: Natural Earth Country and state capitals: Wikipedia

climatescope-data's People

Contributors

olafveerman avatar

Watchers

 avatar

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.