def __init__(self, year=None, scale=None):
    '\n        Args:\n            year (int): If provided, NUTS regions for this year will be used (if available)\n            scale (int): If provided, NUTS regions at this resolution will be used (if available)\n        '
    self.years = list(_get_available(YEAR_REGEX))
    self.year_selector = max
    _setattr(self, year, 'year', YEAR_REGEX, self.year_selector)
    _setattr(self, scale, 'scale', SCALE_REGEX, _middle)
    self.shapes = self._get_shapes()
Args:
    year (int): If provided, NUTS regions for this year will be used (if available)
    scale (int): If provided, NUTS regions at this resolution will be used (if available)
def __init__(self, year=None, scale=None):
    '\n        Args:\n            year (int): If provided, NUTS regions for this year will be used (if available)\n            scale (int): If provided, NUTS regions at this resolution will be used (if available)\n        '
    self.years = list(_get_available(YEAR_REGEX))
    self.year_selector = max
    _setattr(self, year, 'year', YEAR_REGEX, self.year_selector)
    _setattr(self, scale, 'scale', SCALE_REGEX, _middle)
    self.shapes = self._get_shapes()