code: def get_countrytag(country):
      
      norm_name = {
          'australia': 'Australia',
          'brazil': 'Brazil',
          'brasil': 'Brazil',
          'canada': 'Canada',
          'european union': 'European Union',
          'eu': 'European Union',
          'e.u.': 'European Union',
          'france': 'France',
          'mexico': 'Mexico',
          'méxico': 'Mexico',
          'méjico': 'Mexico',
          'spain': 'Spain',
          'espana': 'Spain',
          'españa': 'Spain',
          'uk': 'United Kingdom',
          'u.k.': 'United Kingdom',
          'united kingdom': 'United Kingdom',
          'united states of america': 'United States',
          'united states': 'United States',
          'us': 'United States',
          'usa': 'United States',
          'u.s.': 'United States',
          'u.s.a.': 'United States'
      }
      if country is not None and country.lower() in norm_name:
          return REGIONTAGS.get(norm_name.get(country.lower()))
      else:
          raise ValueError(
              'The available regions are {0}.'.format(
                  ', '.join('\'{}\''.format(k) for k in REGIONTAGS)))
docs: normalize country name to match data obs