ministryofjustice / operations-engineering

This repository is home to the Operations Engineering's tools and utilities for managing, monitoring, and optimising software development processes at the Ministry of Justice. • This repository is defined and managed in Terraform
https://user-guide.operations-engineering.service.justice.gov.uk/
MIT License
14 stars 5 forks source link

Enhance Support Stats reporting - change data format #4350

Open andyrogers1973 opened 5 months ago

andyrogers1973 commented 5 months ago

Replaces https://github.com/ministryofjustice/operations-engineering/issues/4209 which is being broken down into smaller tickets.

To improve the ability to report Support Request stats we need to change the format that the data is collected in. This will improve the ability of the data tools to read and interpret the data and allow for better reporting options, which will include access to historical data (i.e. requests from 2023) to allow month by month comparisons etc.

To achieve this:

Once tested:

Considered done when:

andyrogers1973 commented 5 months ago

Existing data for the period 23/10/2023 to 28/03/2024 has been converted to long data via python/pandas script.

A new Google Sheet for testing has been setup containing the long data version of all the support requests for the time period above - data-all

andyrogers1973 commented 5 months ago

Test sheet now has a 'new-data' tab that uses a dropdown list to select the request type, and a 'date' chooser to select the required date (must be before today). Up to 20 entries can be made on this tab (based upon the average number of daily Support Requests of 15).

Once data is added, a button can be clicked to run a script that will copy these new entries to the first empty row of the 'test_data' tab - simulating how we can update the existing 'data-all' sheet by adding yesterdays support requests. The script will then clear the source data ready for new entries.