diff --git a/generate.js b/generate.js index 161fd25..8e0b742 100755 --- a/generate.js +++ b/generate.js @@ -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'];