Fix several percentage calculations | Begin adding vaccination data | Add reddit rdaily eport generator for r/Atlanta.

This commit is contained in:
Joshua Bemenderfer
2022-01-04 21:11:29 -05:00
parent 4d16a9e0b4
commit 4755f2861e
180 changed files with 723 additions and 23 deletions

View File

@@ -1,5 +1,6 @@
export function getCounty (county) {
if (county === 'Georgia') return '-- All --'
if (!county) return county
if (county.toLowerCase() === 'georgia') return '-- All --'
if (county === 'Non-GA Resident/Unknown State') return '-- Unknown --'
return county
return county.split('County').join('').split('county').join('').trim()
}