fix Puerto Rico name change

This commit is contained in:
tmont 2020-07-20 21:55:32 -07:00
parent 0e69e64831
commit e5ee7bd12e

View File

@ -171,6 +171,9 @@ const processRecords = async () => {
countryPopulationMap['MS Zaandam'] = 1829; countryPopulationMap['MS Zaandam'] = 1829;
countryPopulationMap['Kosovo'] = 1810463; countryPopulationMap['Kosovo'] = 1810463;
statePopulationMap['Grand Princess'] = 3533; statePopulationMap['Grand Princess'] = 3533;
if (statePopulationMap['Puerto Rico Commonwealth']) {
statePopulationMap['Puerto Rico'] = statePopulationMap['Puerto Rico Commonwealth'];
}
// tsGlobalRecords = tsGlobalRecords.filter((record) => { // tsGlobalRecords = tsGlobalRecords.filter((record) => {
// return record['Country/Region'] === 'US'; // return record['Country/Region'] === 'US';