def METHOD_NAME(rtd):
    """Yield a dict with (version, path) as keys and views as values
    """
    stats = dict()
    for d in csv.DictReader(io.StringIO(rtd.traffic_analytics)):
        try:
            # integer versions refer to PR-builds
            pr_id = int(d['Version'])
            d['Version'] = f'PR-{pr_id}'
        except ValueError:
            pass
        key = (d['Version'], d["Path"])
        views = stats.get(key, 0)
        views += int(d['Views'])
        stats[key] = views
    return stats