Skip to content

Commit

Permalink
More tweaking of text structure around examples
Browse files Browse the repository at this point in the history
  • Loading branch information
rmbielby committed Sep 13, 2024
1 parent 40d38d4 commit 69b29ac
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions statistics-production/api-data-standards.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand All @@ -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 |
Expand Down

0 comments on commit 69b29ac

Please sign in to comment.