diff --git a/statistics-production/api-data-standards.qmd b/statistics-production/api-data-standards.qmd index 2b58e66..3fd8ad7 100644 --- a/statistics-production/api-data-standards.qmd +++ b/statistics-production/api-data-standards.qmd @@ -123,11 +123,7 @@ The following would be accepted for publication via the API. In this case, creat In the example below, the different metrics contain different types of values that are split by very different filters. Specifically pupil counts and pupil percents are split into -grade thresholds, whereas the score based metrics are not. If we were to try and pivot -this data as one file, it would lead to an unreasonably large number of cells with no -valid entries (i.e. large numbers of z's). For example, pivoting might create something -like the following table, which suffers from both a large number of not applicable -columns and duplication of data unnecessarily. +grade thresholds, whereas the score based metrics are not. The following would not be accepted for publication via the API. @@ -141,6 +137,14 @@ The following would not be accepted for publication via the API. ::: +#### Example of pivoting leading to excessive duplications and not applicable characters + +If we were to try and pivot +the above data as one file, it would lead to an unreasonably large number of cells with no +valid entries (i.e. large numbers of z's). For example, pivoting might create something +like the following table, which suffers from both a large number of not applicable +columns and duplication of data unnecessarily. + ::: {.table-responsive} | sex | grade_range |accountability_measure | pupil_count | pupil_percent | score_average |