Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐝 Update WHO API endpoint #3344

Merged
merged 3 commits into from
Oct 1, 2024
Merged

🐝 Update WHO API endpoint #3344

merged 3 commits into from
Oct 1, 2024

Conversation

Marigold
Copy link
Collaborator

@Marigold Marigold commented Oct 1, 2024

WHO changed their API endpoint from https://frontdoor-l4uikgap6gz3m.azurefd.net to https://xmart-api-public.who.int. Update all snapshots that use it.

@owidbot
Copy link
Contributor

owidbot commented Oct 1, 2024

Quick links (staging server):

Site Admin Wizard

Login: ssh owid@staging-site-update-who-endpoint

chart-diff: ✅ No charts for review.
data-diff: ❌ Found differences
= Dataset garden/who/2024-09-09/flu_test
  = Table flu_test
    ~ Dim country
+       + New values: 392 / 71516 (0.55%)
                date   country
          2024-09-16     China
          2024-09-02   Ireland
          2023-12-18 Palestine
          2024-04-08    Rwanda
          2024-09-02  Suriname
-       - Removed values: 62 / 71516 (0.09%)
                date country
          2023-03-06 Belgium
          2023-03-20 Belgium
          2023-04-03 Belgium
          2024-02-26 Belgium
          2024-03-18 Belgium
    ~ Dim date
+       + New values: 392 / 71516 (0.55%)
            country       date
              China 2024-09-16
            Ireland 2024-09-02
          Palestine 2023-12-18
             Rwanda 2024-04-08
           Suriname 2024-09-02
-       - Removed values: 62 / 71516 (0.09%)
          country       date
          Belgium 2023-03-06
          Belgium 2023-03-20
          Belgium 2023-04-03
          Belgium 2024-02-26
          Belgium 2024-03-18
    ~ Column denomcombined (new data, changed data)
+       + New values: 392 / 71516 (0.55%)
            country       date  denomcombined
              China 2024-09-16          13797
            Ireland 2024-09-02            141
          Palestine 2023-12-18             85
             Rwanda 2024-04-08             20
           Suriname 2024-09-02              4
-       - Removed values: 62 / 71516 (0.09%)
          country       date  denomcombined
          Belgium 2023-03-06             18
          Belgium 2023-03-20             13
          Belgium 2023-04-03             14
          Belgium 2024-02-26             35
          Belgium 2024-03-18             24
        ~ Changed values: 403 / 71516 (0.56%)
                   country       date  denomcombined -  denomcombined +
                     Egypt 2024-06-10              371              376
                     Egypt 2024-07-29              424              430
                     India 2024-08-26              247              367
          Northern Ireland 2024-07-22             1228             1229
                     Qatar 2024-07-22              452              249
    ~ Column pcnt_poscombined (new data, changed data)
+       + New values: 392 / 71516 (0.55%)
            country       date  pcnt_poscombined
              China 2024-09-16          3.515257
            Ireland 2024-09-02          4.255319
          Palestine 2023-12-18         22.352942
             Rwanda 2024-04-08         10.000000
           Suriname 2024-09-02         50.000000
-       - Removed values: 62 / 71516 (0.09%)
          country       date  pcnt_poscombined
          Belgium 2023-03-06         27.777779
          Belgium 2023-03-20         30.769230
          Belgium 2023-04-03         14.285714
          Belgium 2024-02-26         11.428572
          Belgium 2024-03-18          4.166667
        ~ Changed values: 428 / 71516 (0.60%)
            country       date  pcnt_poscombined -  pcnt_poscombined +
          Argentina 2024-04-15            2.594640            2.628232
            Czechia 2024-08-19            0.505902            0.436681
           Malaysia 2023-09-18           18.566774           64.610390
          Palestine 2018-03-26           19.565218           19.148935
          Palestine 2020-02-17            8.450705           13.750000
= Dataset garden/who/latest/monkeypox
  = Table monkeypox
    ~ Column annotation (changed metadata)
-       -     url_main: https://frontdoor-l4uikgap6gz3m.azurefd.net/MPX/V_MPX_VALIDATED_DAILY
+       +     url_main: https://xmart-api-public.who.int/MPX/V_MPX_VALIDATED_DAILY
    ~ Column iso_code (changed metadata)
-       -     url_main: https://frontdoor-l4uikgap6gz3m.azurefd.net/MPX/V_MPX_VALIDATED_DAILY
+       +     url_main: https://xmart-api-public.who.int/MPX/V_MPX_VALIDATED_DAILY
    ~ Column new_cases (changed metadata)
-       -     url_main: https://frontdoor-l4uikgap6gz3m.azurefd.net/MPX/V_MPX_VALIDATED_DAILY
+       +     url_main: https://xmart-api-public.who.int/MPX/V_MPX_VALIDATED_DAILY
    ~ Column new_cases_per_million (changed metadata)
-       -     url_main: https://frontdoor-l4uikgap6gz3m.azurefd.net/MPX/V_MPX_VALIDATED_DAILY
+       +     url_main: https://xmart-api-public.who.int/MPX/V_MPX_VALIDATED_DAILY
    ~ Column new_cases_smoothed (changed metadata)
-       -     url_main: https://frontdoor-l4uikgap6gz3m.azurefd.net/MPX/V_MPX_VALIDATED_DAILY
+       +     url_main: https://xmart-api-public.who.int/MPX/V_MPX_VALIDATED_DAILY
    ~ Column new_cases_smoothed_per_million (changed metadata)
-       -     url_main: https://frontdoor-l4uikgap6gz3m.azurefd.net/MPX/V_MPX_VALIDATED_DAILY
+       +     url_main: https://xmart-api-public.who.int/MPX/V_MPX_VALIDATED_DAILY
    ~ Column new_deaths (changed metadata)
-       -     url_main: https://frontdoor-l4uikgap6gz3m.azurefd.net/MPX/V_MPX_VALIDATED_DAILY
+       +     url_main: https://xmart-api-public.who.int/MPX/V_MPX_VALIDATED_DAILY
    ~ Column new_deaths_per_million (changed metadata)
-       -     url_main: https://frontdoor-l4uikgap6gz3m.azurefd.net/MPX/V_MPX_VALIDATED_DAILY
+       +     url_main: https://xmart-api-public.who.int/MPX/V_MPX_VALIDATED_DAILY
    ~ Column new_deaths_smoothed (changed metadata)
-       -     url_main: https://frontdoor-l4uikgap6gz3m.azurefd.net/MPX/V_MPX_VALIDATED_DAILY
+       +     url_main: https://xmart-api-public.who.int/MPX/V_MPX_VALIDATED_DAILY
    ~ Column new_deaths_smoothed_per_million (changed metadata)
-       -     url_main: https://frontdoor-l4uikgap6gz3m.azurefd.net/MPX/V_MPX_VALIDATED_DAILY
+       +     url_main: https://xmart-api-public.who.int/MPX/V_MPX_VALIDATED_DAILY
    ~ Column total_cases (changed metadata)
-       -     url_main: https://frontdoor-l4uikgap6gz3m.azurefd.net/MPX/V_MPX_VALIDATED_DAILY
+       +     url_main: https://xmart-api-public.who.int/MPX/V_MPX_VALIDATED_DAILY
    ~ Column total_cases_per_million (changed metadata)
-       -     url_main: https://frontdoor-l4uikgap6gz3m.azurefd.net/MPX/V_MPX_VALIDATED_DAILY
+       +     url_main: https://xmart-api-public.who.int/MPX/V_MPX_VALIDATED_DAILY
    ~ Column total_deaths (changed metadata)
-       -     url_main: https://frontdoor-l4uikgap6gz3m.azurefd.net/MPX/V_MPX_VALIDATED_DAILY
+       +     url_main: https://xmart-api-public.who.int/MPX/V_MPX_VALIDATED_DAILY
    ~ Column total_deaths_per_million (changed metadata)
-       -     url_main: https://frontdoor-l4uikgap6gz3m.azurefd.net/MPX/V_MPX_VALIDATED_DAILY
+       +     url_main: https://xmart-api-public.who.int/MPX/V_MPX_VALIDATED_DAILY


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-10-01 07:21:04 UTC
Execution time: 15.00 seconds

@Marigold Marigold marked this pull request as ready for review October 1, 2024 07:25
@Marigold Marigold merged commit a32aa7f into master Oct 1, 2024
7 of 8 checks passed
@Marigold Marigold deleted the update-who-endpoint branch October 1, 2024 07:25
paarriagadap pushed a commit that referenced this pull request Oct 6, 2024
* 🐝 Update WHO API endpoint
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants