globaldothealth / list

Repository for Global.health: a data science initiative to enable rapid sharing of trusted and open public health data to advance the response to infectious diseases.
MIT License
39 stars 7 forks source link

Update all country links for filtered data results on Data Deep Dive pages to reflect new ISO country codes #2422

Closed joe-brilliant closed 2 years ago

joe-brilliant commented 2 years ago

Current DDD links are as follows, and there are some links in the page content as well that may need updating to new URLs:

https://data.covid-19.global.health/cases?country=peru https://data.covid-19.global.health/cases?country=mexico https://data.covid-19.global.health/cases?country=colombia https://data.covid-19.global.health/cases?country=Brazil https://data.covid-19.global.health/cases?country=argentina https://data.covid-19.global.health/cases?country=Germany https://data.covid-19.global.health/cases?country=%22United+States%22

iamleeg commented 2 years ago

I don't think that I have access to the data deep dives in prod, but I can supply the changes:

Peru -> PE Mexico -> MX Colombia -> CO Brazil -> BR Argentina -> AR Germany -> DE United States -> US

Just replace the country name in the link with the code above and you're good to go.

joe-brilliant commented 2 years ago

Updated URLS below

https://data.covid-19.global.health/cases?country=PE https://data.covid-19.global.health/cases?country=MX https://data.covid-19.global.health/cases?country=CO https://data.covid-19.global.health/cases?country=BR https://data.covid-19.global.health/cases?country=AR https://data.covid-19.global.health/cases?country=DE https://data.covid-19.global.health/cases?country=US