ONSdigital / dp-find-insights-poc-api

Find Insights Proof of Concept
MIT License
1 stars 0 forks source link

Append min_max to ckmeans output + fix last chunk bug #228

Closed VivianAllen closed 2 years ago

VivianAllen commented 2 years ago

What

commit 492ef7041988725f86116d5965a33397672c6c63 (HEAD -> feat/append-min-values-to-ckmeans-output, origin/feat/append-min-values-to-ckmeans-output) Author: Vivian Allen vivian.allen@methods.co.uk Date: Wed Mar 30 20:29:18 2022 +0100

Append min_max to ckmeans output + fix last chunk bug

Add min_max (2-value float array) to ckmeans endpoint output,
keyed as <geotype>_min_max, e.g. LAD_min_max. Values are min and
max of selected category.

This change needed for front-end display of data domain.

Also fix bug where last chunk in ckmeans data was not being
processed.

How to review

read the code run the tests

Who can review

anyone