@non_atomic_requests
def collection_series(request, username, slug, format, group, start, end,
                      field):
    start, end = get_daterange_or_404(start, end)
    group = 'date' if group == 'day' else group
    series = []
    c = get_collection(request, username, slug)
    full_series = _collection_query(request, c, start, end)
    for row in full_series:
        if field in row['data']:
            series.append({
                'date': row['date'],
                'count': row['data'][field],
            })
    return render_json(request, None, series)
Pull a single field from the collection_query data
dataset/ETHPy150Open mozilla/addons-server/src/olympia/stats/views.py/collection_series