owid / etl

A compute graph for loading and transforming OWID's data
https://docs.owid.io/projects/etl
MIT License
78 stars 21 forks source link

:tada: Create a map bracketer tool #2790

Closed pabloarosado closed 3 months ago

pabloarosado commented 3 months ago

Summary

This PR creates a wizard page to ease the task of creating map brackets, although it still has several important limitations.

Description

For now, the map bracketer does the following:

While creating it, a few possibly useful things were also created:

For reviewers

Thanks!

owidbot commented 3 months ago
Quick links (staging server): Site Admin Wizard

Login: ssh owid@staging-site-add-map-brackets-tool

chart-diff: ✅ No charts for review.
data-diff: ❌ Found differences ```diff = Dataset garden/climate/2023-12-20/surface_temperature = Table surface_temperature ~ Column anomaly_above_0 (changed metadata) - - - The temperature anomaly is calculated by comparing the average surface temperature of a specific time period (e.g., a particular year or month) to the mean surface temperature of the same period from 1991 to 2020. + + - The temperature anomaly is determined by comparing the average surface temperature of a given month to the 1991-2020 mean, highlighting climate variations. ~ Column anomaly_below_0 (changed metadata) - - - The temperature anomaly is calculated by comparing the average surface temperature of a specific time period (e.g., a particular year or month) to the mean surface temperature of the same period from 1991 to 2020. + + - The temperature anomaly is determined by comparing the average surface temperature of a given month to the 1991-2020 mean, highlighting climate variations. ~ Column temperature_anomaly (changed metadata) - - - The temperature anomaly is calculated by comparing the average surface temperature of a specific time period (e.g., a particular year or month) to the mean surface temperature of the same period from 1991 to 2020. + + - The temperature anomaly is determined by comparing the average surface temperature of a given month to the 1991-2020 mean, highlighting climate variations. Legend: +New ~Modified -Removed =Identical Details Hint: Run this locally with etl diff REMOTE data/ --include yourdataset --verbose --snippet ``` Automatically updated datasets matching _weekly_wildfires|excess_mortality|covid|fluid|flunet|country_profile|garden/ihme_gbd/2019/gbd_risk_ are not included

Edited: 2024-07-01 14:42:43 UTC Execution time: 14.76 seconds

pabloarosado commented 3 months ago

@paarriagadap I'll merge for now, so we can all start playing around with it. But feel free to give it a try. You can add bugs and suggestions in this issue: https://github.com/owid/etl/issues/2915