def getCountries(internationalVaersCovid19):
return sorted(internationalVaersCovid19['COUNTRY'].unique())
def getCountryOptions(countries):
return [''] + _getCountryOptions(countries)
def _getCountryOptions(countries):
return [_getCountryOption(country) for country in countries]
def _getCountryOption(country):
return ''.format(country=country)