Compare commits
2 Commits
5f93c5997e
...
05256599f3
Author | SHA1 | Date | |
---|---|---|---|
05256599f3 | |||
cba73cd4e7 |
@ -60,7 +60,7 @@ const lastUpdate = new Date(lastGlobalDeathsUpdate > lastUSDeathsUpdate ?
|
||||
);
|
||||
|
||||
const zeroPad = value => value < 10 ? `0${value}` : value.toString();
|
||||
const toSafeName = x => x.replace(/[^A-Za-z]/g, '-').toLowerCase();
|
||||
const toSafeName = x => x.replace(/[^A-Za-z0-9]/g, '-').toLowerCase();
|
||||
|
||||
const processRecords = async () => {
|
||||
const globalStart = Date.now();
|
||||
@ -178,6 +178,8 @@ const processRecords = async () => {
|
||||
countryPopulationMap['Diamond Princess'] = statePopulationMap['Diamond Princess'] = 3711;
|
||||
countryPopulationMap['MS Zaandam'] = 1829;
|
||||
countryPopulationMap['Kosovo'] = 1810463;
|
||||
countryPopulationMap['Antarctica'] = 3250; // https://worldpopulationreview.com/continents/antarctica-population
|
||||
countryPopulationMap['Winter Olympics 2022'] = 2900;
|
||||
statePopulationMap['Grand Princess'] = 3533;
|
||||
if (statePopulationMap['Puerto Rico Commonwealth']) {
|
||||
statePopulationMap['Puerto Rico'] = statePopulationMap['Puerto Rico Commonwealth'];
|
||||
|
Loading…
Reference in New Issue
Block a user