Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Druid field name

Druid source field

Aggregate Type

total_interactions

interaction_count

SUM

total_time_spent

time_spent

SUM

total_sessionsmidCOUNT

Denormalized fields for Content, Device and User model

Content Model





...

Report JSON Spec

JSON Schema

...

Code Block
languagejs
{
    id: "usage",
    label: "Diksha Usage Report",
    title: "Diksha Usage Report",
    description: "The report provides a quick summary of the data analysed by the analytics team to track progess of Diksha across states. This report will be used to consolidate insights using various metrics on which Diksha is currently being mapped and will be shared on a weekly basis. The first section of the report will provide a snapshot of the overall health of the Diksha App. This will be followed by individual state sections that provide state-wise status of Diksha",
    dataSource: "/usage/$state/report.json",
    charts: [
        {
        	datasets: [{
        		dataExpr: "{{data.Number_of_downloads}}",
        		label: "# of downloads"
        	}],
        	labelsExpr: "{{data.Date}}",
            chartType: "line"
        },
        {
        	datasets: [{
        		dataExpr: "{{data.Number_of_succesful_scans}}",
        		label: "# of successful scans"
        	}],
        	labelsExpr: "{{data.Date}}",
            chartType: "bar"
        }
    ],
    table: {
        "columnsExpr": "{{key}}",
        "valuesExpr": "{{tableData}}"
    },
    downloadUrl: "<report_id>/$state/$timeFilterreport.csv"
}