A view that returns some overall interesting stats

params:

start - point of history to start getting data from. will default to 1 year ago

end - point of history to stop getting data from. will default to now

steps - the number of data points to collect. will default to 10

example

http://localhost:8000/api/advanced_stats/?start=2014-11-20&steps=4

to get 4 data points since the end of 2014

GET /api/advanced_stats/?format=api
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "results": {
        "start": "2018-10-14T15:55:26.800Z",
        "end": "2019-10-14T15:55:26.800Z",
        "data": {
            "avg_user_follows_per_user": [
                1.0534381333728806,
                1.0533853523630796,
                1.0533326755143322,
                1.0533011192741975,
                1.0532459856171805,
                1.0533333333333332,
                1.0532992427967351,
                1.0533660933660933,
                1.0533346429623809,
                1.0533241677305312,
                1.0532692402020896
            ],
            "vote_count": [
                1025257,
                1025791,
                1026334,
                1026704,
                1027235,
                1027790,
                1027986,
                1028315,
                1028889,
                1029092,
                1029577
            ],
            "tag_count": [
                722,
                722,
                722,
                723,
                726,
                727,
                727,
                727,
                727,
                727,
                727
            ],
            "question_count": [
                3394,
                3394,
                3394,
                3395,
                3401,
                3402,
                3402,
                3402,
                3402,
                3402,
                3402
            ],
            "avg_tag_follows_per_user": [
                1.4627514953779228,
                1.4622944342930515,
                1.4623316394494055,
                1.4620580839209112,
                1.4631070830460053,
                1.4625830258302583,
                1.4623365129314583,
                1.4625552825552826,
                1.462970238679894,
                1.4628793086516743,
                1.4629420709275518
            ],
            "user_retention_for_only_1_month": [
                8,
                7,
                5,
                3,
                7,
                2,
                5,
                1,
                4,
                3
            ],
            "user_count": [
                20229,
                20249,
                20269,
                20281,
                20302,
                20325,
                20338,
                20350,
                20362,
                20366,
                20387
            ],
            "avg_votes_per_user": [
                50.6825349745415,
                50.65884735048645,
                50.63565050076471,
                50.62393373107835,
                50.59772436213181,
                50.567773677736774,
                50.54508801258728,
                50.53144963144963,
                50.52985954228465,
                50.52990277914171,
                50.50164320400255
            ],
            "following_user_count": [
                21310,
                21330,
                21350,
                21362,
                21383,
                21409,
                21422,
                21436,
                21448,
                21452,
                21473
            ],
            "avg_memberships_per_user": [
                1.6424934499975283,
                1.6419576275371623,
                1.6414228624993832,
                1.6411419555248754,
                1.6405772830263028,
                1.6400492004920049,
                1.6396892516471628,
                1.6393120393120393,
                1.6389352715843237,
                1.6388097810075617,
                1.6381517633786236
            ],
            "avg_questions_per_user": [
                0.16777893123733253,
                0.1676132154674305,
                0.16744782673047512,
                0.16739805729500518,
                0.167520441335829,
                0.167380073800738,
                0.1672730848657685,
                0.16717444717444718,
                0.16707592574403302,
                0.1670431110674654,
                0.16687104527394908
            ],
            "following_tag_count": [
                29590,
                29610,
                29640,
                29652,
                29704,
                29727,
                29741,
                29763,
                29789,
                29793,
                29825
            ],
            "group_count": [
                93,
                93,
                93,
                93,
                93,
                93,
                93,
                93,
                93,
                93,
                93
            ],
            "group_membership_count": [
                33226,
                33248,
                33270,
                33284,
                33307,
                33334,
                33348,
                33360,
                33372,
                33376,
                33397
            ],
            "user_retention": [
                38,
                31,
                26,
                21,
                20,
                13,
                11,
                7,
                7,
                3
            ]
        }
    }
}