Skip to main content

Indicator coverage summary

Atlas view

Indicator coverage summary

api_v1.indicator_summary

One row per (source_id, contents_code) summarising the latest-year coverage and value range for every indicator in fact_kommune_indicators.

First 5 rows · api_v1.indicator_summary
snapshot 2026-05-12
source_idcontents_codecontents_labellatest_yearkommuner_with_valuekommuner_with_nullmin_valuemax_valueupstream_updated
fhi-bor-aleneRATEAndel (prosent)2025357014.778112882378335.71014492753622026-05-06T14:33:01.602+00:00
fhi-bor-aleneSMRStandardisert rate (100 = nasjonalt snitt)2025357058.8771298331957142.2719433797172026-05-06T14:33:01.602+00:00
fhi-bor-aleneTELLERAntall personer20253570472022212026-05-06T14:33:01.602+00:00
fhi-mobbingRATE_grade10Andel (prosent) (10. trinn)20221671903.3647375504710618.30985915492962026-05-06T14:34:02.398+00:00
fhi-mobbingRATE_grade7Andel (prosent) (7. trinn)20222081492.7247956403269836.36363636363642026-05-06T14:34:02.398+00:00

Built from

This Atlas view joins data from the following upstream sources. Click through for provenance, methodology, and citation.

Showing direct dbt parents. See full lineage in /lineage/ →

Columns

ColumnDescription
source_idAtlas source identifier, e.g. 'ssb-08764'. Joins back to fact_kommune_indicators.source_id and to the source declarations in indicators/sources.yml.
contents_codeSource-specific ContentsCode verbatim from upstream (e.g. 'EUskala60', 'Folkemengde'). Combined with source_id forms the natural key of this view.
contents_labelHuman-readable label for contents_code, verbatim from upstream. NULL only if every contributing row had a NULL label (rare).
latest_yearMost recent calendar year for which this (source_id, contents_code) has any rows in fact_kommune_indicators. The coverage and value-range columns below are computed against this year only.
kommuner_with_valueCount of active kommuner (kommune_is_active = true) that have a non-NULL value for this indicator at latest_year. The headline coverage number on the data explorer.
kommuner_with_nullCount of active kommuner that have a row at latest_year but value IS NULL (i.e. upstream suppressed the cell). Inactive kommuner are not counted.
min_valueMinimum non-NULL value across all rows at latest_year, regardless of whether the kommune is active. NULL if no row had a value.
max_valueMaximum non-NULL value across all rows at latest_year, regardless of whether the kommune is active. NULL if no row had a value.
upstream_updatedMost recent fact_kommune_indicators.updated_at across the rows that contributed to this summary. Useful for staleness checks per indicator without joining to raw.*.

Sample query

Live PostgREST query that returns the first 5 rows. URL adapts to the current host — local dev shows api-atlas.localhost; the deployed site shows api-atlas.sovereignsky.no.

https://api-atlas.sovereignsky.no/indicator_summary?limit=5

About this view

One row per (source_id, contents_code) summarising the latest-year coverage and value range for every indicator in fact_kommune_indicators. This is the backing dataset for the data explorer index page (atlas-frontend /data) and is the equivalent of the listIndicators() inline query that PostgREST projects as /mart_indicator_summary on the public API. Query shape: latest-year-per-indicator + group-by + value/null counts filtered to active kommuner only. Inactive kommuner (historical codes retained by upstream) are excluded from the counts so consumers see "how many of today's kommuner have data?" not "how many rows exist?". Refreshed nightly together with fact_kommune_indicators. The upstream_updated column carries the most recent raw load timestamp across the rows that contributed to this summary, so freshness can be inspected per indicator without joining to raw.* sources.