code: def _parse_result_page(self, url, payload, only_region=False):
          
          data = []
          try:
  
              if only_region:
                  html = self.scraper._get_html(url)
              else:
                  html = self.scraper._post_html(url, payload=payload)
  
          except RequestException500:
  
              self.scraper.log.warning(u"Status code 500 on {} with {}".format(url, payload))
              return None
  
  
          current_selection = self._get_current_selection(html)
  
          table = Datatable(html)
          data = []
          for row in table.data:
              region_or_unit_id, region_or_unit_label = row["region_or_unit"]
              if region_or_unit_label in self.regions:
                  row["region"] = region_or_unit_label
                  row["unit"] = None
              else:
                  row["region"] = None
                  row["unit"] = region_or_unit_label
  
              value = row["value"]
  
              row.pop("value", None)
              row.pop("region_or_unit", None)
  
              for dim in self.dimensions:
                  if dim.id not in row:
                      row[dim.id] = current_selection[dim.id][1] # gets label
  
  
  
              data.append(Result(value, row))
          return data
docs: Get data from a result page
              :param url: url to query
              :param payload: payload to pass
              :return: a dictlist with data