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/
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "results": {
        "start": "2018-06-17T03:20:24.920Z",
        "end": "2019-06-17T03:20:24.920Z",
        "data": {
            "avg_user_follows_per_user": [
                1.0535262923130297,
                1.0535493139148957,
                1.0535175008663795,
                1.0534981458590853,
                1.0534532160853671,
                1.0533925487293363,
                1.0533583193608838,
                1.0533136240453314,
                1.053403553674263,
                1.0533615305168937,
                1.0534231090578463
            ],
            "vote_count": [
                1023566,
                1023892,
                1024405,
                1025199,
                1025472,
                1026060,
                1026650,
                1027116,
                1027606,
                1027907,
                1028313
            ],
            "tag_count": [
                722,
                722,
                722,
                722,
                722,
                722,
                723,
                723,
                727,
                727,
                727
            ],
            "question_count": [
                3381,
                3381,
                3388,
                3389,
                3394,
                3394,
                3395,
                3401,
                3402,
                3402,
                3402
            ],
            "avg_tag_follows_per_user": [
                1.4629528671259355,
                1.4651013028186457,
                1.4648249913362048,
                1.4642274412855376,
                1.4638869676909396,
                1.463360473723168,
                1.4635565637636847,
                1.4643015521064302,
                1.4641925481124183,
                1.4638764569910983,
                1.4635572811716715
            ],
            "user_retention_for_only_1_month": [
                2,
                1,
                3,
                6,
                8,
                5,
                3,
                7,
                1,
                5
            ],
            "user_count": [
                20177,
                20187,
                20199,
                20225,
                20242,
                20265,
                20278,
                20295,
                20317,
                20333,
                20347
            ],
            "avg_votes_per_user": [
                50.7293452941468,
                50.72036459107346,
                50.71562948660825,
                50.689690976514214,
                50.660606659421006,
                50.63212435233161,
                50.62876023276457,
                50.60931263858093,
                50.57862873455727,
                50.553632026754535,
                50.538801788961514
            ],
            "following_user_count": [
                21257,
                21268,
                21280,
                21307,
                21324,
                21347,
                21360,
                21377,
                21402,
                21418,
                21434
            ],
            "avg_memberships_per_user": [
                1.6440005947365812,
                1.6437806509139545,
                1.6433981880291104,
                1.6426699629171817,
                1.6421302242861378,
                1.641549469528744,
                1.6412861228918039,
                1.6408474993840847,
                1.6402027858443669,
                1.639895735995672,
                1.639455447977589
            ],
            "avg_questions_per_user": [
                0.16756703176884571,
                0.16748402437212068,
                0.16773107579583146,
                0.16756489493201485,
                0.16767117873727894,
                0.16748087836170739,
                0.16742282276358617,
                0.16757822123675783,
                0.16744598119801152,
                0.1673142182658732,
                0.16719909568978228
            ],
            "following_tag_count": [
                29518,
                29576,
                29588,
                29614,
                29632,
                29655,
                29678,
                29718,
                29748,
                29765,
                29779
            ],
            "group_count": [
                93,
                93,
                93,
                93,
                93,
                93,
                93,
                93,
                93,
                93,
                93
            ],
            "group_membership_count": [
                33171,
                33183,
                33195,
                33223,
                33240,
                33266,
                33282,
                33301,
                33324,
                33344,
                33358
            ],
            "user_retention": [
                35,
                33,
                33,
                33,
                28,
                20,
                15,
                13,
                6,
                5
            ]
        }
    }
}