def _get_metrics_and_drilldown(self, pages, pmid):
        metrics_dict = {}
        for page in pages:
            one_month_metrics_dict = self._extract_metrics(page, id=pmid)
            print one_month_metrics_dict
            for metric in one_month_metrics_dict:
                try:
                    metrics_dict[metric] += one_month_metrics_dict[metric]
                except __HOLE__:
                    metrics_dict[metric] = one_month_metrics_dict[metric]
        metrics_and_drilldown = {}
        for metric_name in metrics_dict:
            drilldown_url = ""
            metrics_and_drilldown[metric_name] = (metrics_dict[metric_name], drilldown_url)
        return metrics_and_drilldown
dataset/ETHPy150Open Impactstory/total-impact-core/totalimpact/providers/pmc.py/Pmc._get_metrics_and_drilldown