Skip to main content

Activity catalogue (cross-NGO)

Atlas view

Activity catalogue (cross-NGO)

api_v1.activity_catalog

One row per organisation and activity, with its Atlas service category.

First 5 rows · api_v1.activity_catalog
snapshot 2026-05-12
activity_idngo_orgnrcanonical_nameservice_category_codeservice_category_label_nois_activechapter_count
redcross-aktiviteter-pa-asylmottak864139442Aktiviteter på asylmottakmigrant_mentoringFlyktningguidetrue35
redcross-aktiviteter-pa-utlendingsinternat864139442Aktiviteter på utlendingsinternatmigrant_mentoringFlyktningguidetrue1
redcross-akuttovernatting-for-bostedslose-tilreisende864139442Akuttovernatting for bostedsløse tilreisendehousing_outreachBoligoppsøkingtrue3
redcross-barnas-rode-kors864139442Barnas Røde Korsyouth_activity_groupsUngdomsgruppetrue107
redcross-beredskap864139442Beredskapfirst_aid_standbyBeredskapsvakttrue171

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
activity_idComposite slug (e.g. 'redcross-besokstjeneste'). Stable across refreshes. Unique within this view.
ngo_orgnr9-digit Brreg organisasjonsnummer of the NGO offering the activity.
canonical_nameAtlas's canonical Norwegian name for the activity.
service_category_codeICNPO-derived service category code (e.g. 'health', 'social-services'). FK to ref_atlas_service_category.
service_category_label_noHuman-readable Norwegian label for service_category_code, joined from ref_atlas_service_category.
is_activeWhether this activity is still offered by the NGO. Inactive activities are kept so historical analysis can still resolve activity_id values.
chapter_countCount of distinct active chapters offering this activity. Zero when the activity exists in dim_activity but no active chapter provides it (rare but possible during transitions).

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 the configured API base.

https://api-atlas.urbalurba.com/activity_catalog?limit=5

About this view​

One row per organisation and activity, with its Atlas service category. Empty today. 🔵 EXPECTED EMPTY TODAY, AND THAT IS NOT A DEFECT. Its one row per (NGO, activity), so it is empty until Red Cross activity data is loaded. Terje's position, 2026-09-21: the Red Cross data is not coming now, it will be there later. The relation is published and answers so a consumer can build against its shape before the rows arrive. ⚠️ A consumer cannot tell "empty by design" from "broken" without being told, and two of these three were asked about on the day someone noticed (urb-agents #1351). If this relation is still empty and this note is gone, something regressed. One row per (NGO, activity) joining dim_activity to the service-category seed for the human-readable label, plus a count of active chapters offering each activity. Backs the per-NGO activity catalogue page (atlas-frontend /ngo/[slug]/aktiviteter); equivalent to listActivities(). The full table is small (~35 rows for Red Cross alone in v1) and grows as new NGOs land. PostgREST consumers filter via ?ngo_orgnr=eq.X.