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

wizard: indicator upgrader #2610

Closed lucasrodes closed 2 months ago

lucasrodes commented 5 months ago

↑ Tracking issue

We are working on a new data workflow. A core part of it will be the Indicator Upgrader, which will help us migrate indicators from an old dataset to a new one in a smoother way than the current Chart Upgrader.

Tasks

Related issues

Other pending tasks

The goal of this issue is to gather feedback on the new tool, including bugs to fix and feature proposals.

lucasrodes commented 5 months ago

I've addressed some improvements for the Indicator upgrader in https://github.com/owid/etl/pull/2595. Still need to test it for different setups and see how it works there:

lucasrodes commented 4 months ago

TODOs:

lucasrodes commented 4 months ago

More TODOs:

lucasrodes commented 4 months ago

More improvements:

lucasrodes commented 4 months ago

Bug:

lucasrodes commented 4 months ago

More:

pabloarosado commented 4 months ago

In case it happens again:

When using indicator upgrader on the annual climate change impacts, when clicking on "Update charts", I got: Something went wrong! 502 Server Error: Bad Gateway for url: http://staging-site-update-climate-change-data/admin/api/charts/7568

I just refreshed, tried again, and this time it worked.

NOTE: My intuition is that this happened because the staging server was not totally built, so it may not be an issue with indicator upgrader.

pabloarosado commented 4 months ago

Feature request: I had to update two grapher datasets (annual and monthly climate change impacts). When accessing indicator upgrader for the first time, it conveniently had the annual climate change data already selected. But once I had already updated this one, I refreshed the page, and the annual climate change data was selected again. It would be more useful if a different dataset (that hasn't been mapped yet) was selected automatically.

pabloarosado commented 4 months ago

Feature request: It would be good if indicator upgrader worked in local grapher, if it's not too much additional work.

lucasrodes commented 4 months ago

Feature request: It would be good if indicator upgrader worked in local grapher, if it's not too much additional work.

Currently, chart-diff and indicator upgrader are not supporting local development. I haven't look into this into detail, but I expect that chart-diff is more difficult to adapt to local development than indicator-upgrader.

Is there a use-case where you might want to have indicator-upgrader run locally but then not run chart-diff locally?

cc. @pabloarosado

pabloarosado commented 4 months ago

I was updating all the climate steps, for which I used the dashboard. Then I wanted to archive old steps. But the archiving tool relies on what's on grapher. Therefore, I tried to upgrade my local datasets, but indicator upgrader didn't work locally. One solution is to do everything on staging (including updating and archiving).

larsyencken commented 2 months ago

@lucasrodes Can I suggest you make new issues for anything remaining that you care about, then close this one?