Get values

def _parse_values(self):
        """ Get values
        """
        data = []
        if self.has_tabs:
            def _parse_tab_text(tab):
                # Annoying html in tabs
                if tab.select_one(".visible_normal"):
                    return tab.select_one(".visible_normal").text
                else:
                    return tab.text

            sub_table_ids = [_parse_tab_text(x) for x in self.soup.select(".table_switch li")]
            sub_tables = self.soup.select(".dataTables_wrapper")
            assert len(sub_tables) == len(sub_table_ids)
            assert len(sub_tables) > 0

            for measure, table in zip(sub_table_ids, sub_tables):
                if self.has_horizontal_scroll:
                    _data = self._parse_horizontal_scroll_table(table)
                    for region, col, value in _data:
                        data.append({
                            "region_or_unit": region,
                            "select_period": col, # Hardcode warning!
                            "measure": measure,
                            })

        else:
            if self.has_horizontal_scroll:
                raise NotImplementedError()

            if self.has_vertical_scroll:
                table = self.soup.select_one("#DataTables_Table_0_wrapper")
                _data = self._parse_vertical_scroll_table(table)
            else:
                table = self.soup.select(".chart.table.scrolling")[-1]
                _data = self._parse_regular_table(table)

            for region, measure, value in _data:
                data.append({
                    "region_or_unit": region,
                    "measure": measure,
                    "value": value
                })

        return data