covidatlas / coronadatascraper

COVID-19 Coronavirus data scraped from government and curated data sources.
https://coronadatascraper.com
BSD 2-Clause "Simplified" License
364 stars 179 forks source link

Update mapping.json to fix missing Russian administrative districts #1021

Closed ngolosov closed 4 years ago

ngolosov commented 4 years ago

Summary

Update mapping.json file to add missing ISO codes to resolve the issue https://github.com/covidatlas/coronadatascraper/issues/1009

Before the changes, there were no appropriate ISO codes for three Russian districts, Nenetsky autonomous district, Chuckchi autonomous district, and Altai republic in the file \src\shared\scrapers\RU\mapping.json so the data was not scraped for these regions.

Changes

As @freeatnet advised, to add the scraping for the missing regions, the following entries should be added:

"Ненецкий автономный округ": "iso2:RU-NEN",
"Чукотский автономный округ": "iso2:RU-CHU",
"Республика Алтай": "iso2:RU-AL"

I've added these entries to the file(according to alphabetical order) and tested the scraper locally. It resolved the issue.

Closes #1009

jzohrab commented 4 years ago

Thank you @ngolosov! Much appreciated.