KPIs : Pendancy, Citizen Feedback and Pt-SLA changes

Definitions:

  • todaysApplicationsWithinSLA: It denotes the number of applications that have been closed/ have completed the workflow today.

  • todaysMovedApplications: It is an array of application statuses moved today.

  • todaysMovedApplicationsForApplicationStatus: It represents the number of applications(total count) that have been moved today for a particular application status.

  • applicationStatus: It is a string value that contains the current status of the application. Eg:
    ”applicationStatus” : “APPROVED“

Changes for Citizen-Feedback-National-Dashboard

  • Step 3: Add master-module-fields-mapping

Reference: https://github.com/egovernments/DIGIT-DevOps/blob/b8a15d760b91314399c2f31f25931fa5cb053928/deploy-as-code/helm/environments/uat.yaml#L342

  • Step 3: Add groupby mapping for Channel

    "CF":{"channel"}

 

  • Index changes

    • Pt-national-dashboard:

Update pt-national-dashboard index mapping so as to add 2 new properties: todaysApplicationsWithinSLA, todaysMovedApplicationsForApplicationStatus

PUT pt-national-dashboard/_mapping/nss { "properties" : { "applicationStatus" : { "type" : "text", "fields" : { "keyword" : { "type" : "keyword", "ignore_above" : 256 } } }, "assessedPropertiesForUsageCategory" : { "type" : "long" }, "assessments" : { "type" : "long" }, "avgTaxCollectedPerProperty" : { "type" : "long" }, "cessForUsageCategory" : { "type" : "long" }, "createdBy" : { "type" : "text", "fields" : { "keyword" : { "type" : "keyword", "ignore_above" : 256 } } }, "createdTime" : { "type" : "long" }, "date" : { "type" : "date", "format" : "dd-MM-yyyy HH:mm:ss||dd-MM-yyyy||epoch_millis||dd-MM-yyyy'T'HH:mm:ss.SSSZ" }, "financialYear" : { "type" : "text", "fields" : { "keyword" : { "type" : "keyword", "ignore_above" : 256 } } }, "interestForUsageCategory" : { "type" : "long" }, "lastModifiedBy" : { "type" : "text", "fields" : { "keyword" : { "type" : "keyword", "ignore_above" : 256 } } }, "lastModifiedTime" : { "type" : "long" }, "module" : { "type" : "text", "fields" : { "keyword" : { "type" : "keyword", "ignore_above" : 256 } } }, "noOfPropertiesPaidToday" : { "type" : "long" }, "nonTaxCollections" : { "type" : "text", "fields" : { "keyword" : { "type" : "keyword", "ignore_above" : 256 } } }, "penaltyForUsageCategory" : { "type" : "long" }, "propertiesRegisteredForFinancialYear" : { "type" : "long" }, "propertyTaxForUsageCategory" : { "type" : "long" }, "rebateForUsageCategory" : { "type" : "long" }, "region" : { "type" : "text", "fields" : { "keyword" : { "type" : "keyword", "ignore_above" : 256 } } }, "state" : { "type" : "text", "fields" : { "keyword" : { "type" : "keyword", "ignore_above" : 256 } } }, "taxCollections" : { "type" : "text", "fields" : { "keyword" : { "type" : "keyword", "ignore_above" : 256 } } }, "todaysApplicationsWithinSLA" : { "type" : "long" }, "todaysClosedApplications" : { "type" : "long" }, "todaysCollectionForNonTaxCollections" : { "type" : "long" }, "todaysCollectionForTaxCollections" : { "type" : "long" }, "todaysCollectionForUsageCategory" : { "type" : "long" }, "todaysMovedApplications" : { "type" : "long" }, "todaysMovedApplicationsForApplicationStatus" : { "type" : "long" }, "todaysTotalApplications" : { "type" : "long" }, "totalApplicationsPaidTheTax" : { "type" : "long" }, "transactionsForUsageCategory" : { "type" : "long" }, "ulb" : { "type" : "text", "fields" : { "keyword" : { "type" : "keyword", "ignore_above" : 256 } } }, "usageCategory" : { "type" : "text", "fields" : { "keyword" : { "type" : "keyword", "ignore_above" : 256 } } }, "ward" : { "type" : "text", "fields" : { "keyword" : { "type" : "keyword", "ignore_above" : 256 } } } } }
  •  

    • Ingest API -

      • Port-forward national dashboard ingest service and hit the below curl.

      • This should result in ingestion of data for the date provided in the request body.

Landing Page

Overview Page

PT National Dashboard

 

How to configure the above KPIs for other modules

To have other modules for the below KPIs -
SLA KPI - 2 Properties to be added in individual module national dashboard indexes as explained above -

  • todaysApplicationsWithinSLA

  • todaysMovedApplicationsForApplicationStatus

 

Pendancy KPI - Property already present for Property Tax module, but would be added for other modules if not present as explained above.

  • todaysClosedApplications

Citizen Feedback Score and Citizen Delivery Index KPI - The Citizen Feedback National Dashboard Index added above for Property Tax will handle data for other modules as well.

To present data for other modules Citizen Feedback service linked here should be integrated with your individual modules.

 

Adapter Level Changes Required for the above KPIs - {Link to Adapter Doc}