src/__fixtures__/json/api/analytics/query.json

Summary

Maintainability
Test Coverage
{
    "headers": [
        {
            "name": "psi",
            "column": "Event",
            "valueType": "TEXT",
            "type": "java.lang.String",
            "hidden": false,
            "meta": true
        },
        {
            "name": "ps",
            "column": "Program stage",
            "valueType": "TEXT",
            "type": "java.lang.String",
            "hidden": false,
            "meta": true
        },
        {
            "name": "eventdate",
            "column": "Event date",
            "valueType": "DATE",
            "type": "java.util.Date",
            "hidden": false,
            "meta": true
        },
        {
            "name": "longitude",
            "column": "Longitude",
            "valueType": "NUMBER",
            "type": "java.lang.Double",
            "hidden": false,
            "meta": true
        },
        {
            "name": "latitude",
            "column": "Latitude",
            "valueType": "NUMBER",
            "type": "java.lang.Double",
            "hidden": false,
            "meta": true
        },
        {
            "name": "ouname",
            "column": "Organisation unit name",
            "valueType": "TEXT",
            "type": "java.lang.String",
            "hidden": false,
            "meta": true
        },
        {
            "name": "oucode",
            "column": "Organisation unit code",
            "valueType": "TEXT",
            "type": "java.lang.String",
            "hidden": false,
            "meta": true
        },
        {
            "name": "ou",
            "column": "Organisation unit",
            "valueType": "TEXT",
            "type": "java.lang.String",
            "hidden": false,
            "meta": true
        },
        {
            "name": "qrur9Dvnyt5",
            "column": "Age in years",
            "valueType": "INTEGER",
            "type": "java.lang.Integer",
            "hidden": false,
            "meta": true
        }
    ],
    "metaData": {
        "pager": {
            "page": 1,
            "total": 2539,
            "pageSize": 5,
            "pageCount": 508
        },
        "items": {
            "ImspTQPwCqd": {
                "name": "Sierra Leone"
            },
            "eBAyeGv0exc": {
                "name": "Inpatient morbidity and mortality"
            },
            "ou": {
                "name": "Organisation unit"
            },
            "qrur9Dvnyt5": {
                "name": "Age in years"
            },
            "Zj7UnCAulEk": {
                "name": "Inpatient morbidity and mortality"
            }
        },
        "dimensions": {
            "pe": [],
            "ou": ["ImspTQPwCqd"],
            "qrur9Dvnyt5": []
        }
    },
    "rows": [
        [
            "bOMUg488bV3",
            "Zj7UnCAulEk",
            "2017-09-21 00:00:00.0",
            0,
            0,
            "Hamdalai MCHP",
            "OU_226254",
            "HDOnfLXKkYs",
            36
        ],
        [
            "OKiK3fV3uEs",
            "Zj7UnCAulEk",
            "2017-09-14 00:00:00.0",
            0,
            0,
            "Kania MCHP",
            "OU_226265",
            "AGrsLyKWrVX",
            38
        ],
        [
            "rornXV8m5n8",
            "Zj7UnCAulEk",
            "2017-09-02 00:00:00.0",
            0,
            0,
            "Motonkoh MCHP",
            "OU_247041",
            "BpWJ3cRsO6g",
            12
        ],
        [
            "NQEtEOBQYlt",
            "Zj7UnCAulEk",
            "2017-09-16 00:00:00.0",
            0,
            0,
            "Pejewa MCHP",
            "OU_260390",
            "BTXwf2gl7av",
            29
        ],
        [
            "Q9nct08a577",
            "Zj7UnCAulEk",
            "2017-09-26 00:00:00.0",
            0,
            0,
            "Samandu MCHP",
            "OU_233369",
            "g9xUM1x1f1i",
            10
        ]
    ],
    "width": 9,
    "height": 5
}