def _get_data(self):
        adapter = self.data_source['adapter']
        geo_col = self.data_source.get('geo_column', 'geo')

        try:
            loader = getattr(self, '_get_data_%s' % adapter)
        except __HOLE__:
            raise RuntimeError('unknown adapter [%s]' % adapter)
        data = loader(self.data_source, dict(self.request.GET.iteritems()))

        return self._to_geojson(data, geo_col)
dataset/ETHPy150Open dimagi/commcare-hq/corehq/apps/reports/standard/maps.py/GenericMapReport._get_data