HWHeat Waves
    DashboardUtforsk
    Analyse
    Data Kilder
        • Category Codes
        • Filter Axes
        • Regions
        • Building Types
        • SSB Tables
        • API Examples
      • Catalog
      • Pipeline
      • Entrypoints
    • Design Rationale
    • Doc Map
    DocsSettings
    DashboardAtlasUtforsk
    Analyse
    Data Kilder
    1. Documentation
    2. Ingestion
    3. Adapter Mappings
    4. Building Type Buckets

    Building type map (BRIS Matrikkel)

    Use this file to document Matrikkel leaf native_code → standard_code bucketing (RESIDENTIAL, COMMERCIAL, INDUSTRY, OTHER) for fire_data.filters where source_id = 2 and axis = 'building_type'.

    The four buckets are cross-source bridge tags for charts and get_fire_data (p_building_type token resolution). They do not select upstream API rows: BRIS ETL always sends the slice's native_code (one Matrikkel leaf per ingest slice). See «ETL rule — native wins» in filter-axes-native-to-filter-id.md.

    Apply Matrikkel → four-bucket standard_code in bulk: scripts/sql/update_bris_matrikkel_building_type_buckets.sql. See also filter-axes-native-to-filter-id.md.