removing createAndSaveHistogramsForCountries

This commit is contained in:
frankknoll
2023-04-02 22:15:18 +02:00
parent fedb6c44bf
commit c9e885f9f0
15 changed files with 82 additions and 368 deletions

View File

@@ -1,14 +0,0 @@
def getCountries(internationalVaersCovid19):
return sorted(internationalVaersCovid19['COUNTRY'].dropna().unique())
def getCountryOptions(countries):
return ['<option value="Global" selected>Global</option>'] + _getCountryOptions(countries)
def _getCountryOptions(countries):
return [_getCountryOption(country) for country in countries]
def _getCountryOption(country):
return '<option value="{country}">{country}</option>'.format(country=country)