mit-jp / mit-climate-data-viz

Plotting climate data for the MIT Joint Program on the Science and Policy of Global Change
https://cypressf.shinyapps.io/eppa-dashboard/
0 stars 0 forks source link

Add global data #290

Open cypressf opened 2 years ago

cypressf commented 2 years ago

Data to add to global view:

cypressf commented 2 years ago

Kilian put the data in https://www.dropbox.com/sh/ruwt4sdyhl8i9vp/AAAjO7xA9wrQsuDm6qDWPe_Ra?dl=0

cypressf commented 1 year ago

They are in python pickle format.

cypressf commented 1 year ago

They have different index columns. Some are ISO-3 alphabetical, some are just country name, etc. I'm going to standardize everything around ISO 3166-1 numeric in https://github.com/cypressf/mit-climate-data-viz/issues/274#issuecomment-1220972612

cypressf commented 1 year ago

Some ISO-3 country codes aren't in the pycountry library I'm using:

XKX
CSHH
SCG
SUUH
YUG

I'll need to manually map those country codes to their ISO 3166-1 numeric counterparts.

cypressf commented 1 year ago

Okay, for now I've cleaned the data, and next I need to add it to the database. I might do this manually for now.

cypressf commented 1 year ago

I can't find the descriptions of the global biodiversity data. @azzacasch do you remember if Kilian put that somewhere in dropbox / google drive / microsoft teams? @Kiliyo sorry to ping you too, but did you have a document with descriptions of the biodiversity metrics somewhere?

cypressf commented 1 year ago

There's additional global data we're considering:

cypressf commented 1 year ago

Biogen data will also be added

cypressf commented 1 year ago

Sergey will get me a mapping from EPPA regions to ISO country codes so I can translate between the EPPA region data to country data

cypressf commented 1 year ago

We need to make sure that people understand when they hover over "nigeria" for example, that it is showing GDP for all of africa for eppa region data. make sure to add an explanation for what is going on.

cypressf commented 1 year ago

I can't find the descriptions of the global biodiversity data. @azzacasch do you remember if Kilian put that somewhere in dropbox / google drive / microsoft teams? @Kiliyo sorry to ping you too, but did you have a document with descriptions of the biodiversity metrics somewhere?

@azzacasch pinging again. do you know if there are descriptions of Kilian's biodiversity data somewhere? I have the datasets available to use but I don't know what to title them or how to describe them. they are:

cypressf commented 1 year ago

If I were to guess, I would presume these correspond to:

Acronym Full Name
CRS Creditary Reporting System
BII Biodiversity Index
DIS impact of natural disasers?
EF Ecological Footprint
MTI Marine Trophic Index
PAKA overlap of biodiversity and key areas?
RLI Red List Index

for all datasets, except CRS, it's clear which column is the value. For CRS, I'm unsure whether to use USD_Receievd, total_area, or Valuepa.

cypressf commented 1 year ago

I am almost to the point where I can put this data in the database. I just need to remove rows whose country ids are not in our database.

cypressf commented 1 year ago

@azzacasch

To upload

  1. go to est.mit.edu/uploader
  2. use the UI to upload the csv data files
  3. create data visualizations here est.mit.edu/editor/-1
  4. when you are happy with them, publish them to a tab of your choice (probably biodiversity for most of the global data)
    • if something went wrong and you don't like the visualization, you can always unpublish it by visiting the tab it's in in the editor, probably biodiversity, clicking the map, and clicking unpublish