bfs_construction_activity
Retrieve official yearly Swiss construction statistics for a commune, including new buildings, new dwellings, and room-size breakdowns, from 2015 onward using a BFS municipality number.
Instructions
Yearly new buildings and new dwellings for a commune, with room-size mix.
Returns the consolidated official annual construction statistics (BFS
STAT-TAB theme 09) for one commune: newly built buildings with dwellings
(px-x-0904030000_106) and newly built dwellings broken down by number of
rooms (px-x-0904030000_105), as a per-year series from since_year.
Note: this is the consolidated official yearly statistic. For up-to-date
building-register states and the construction pipeline (Baugesuche /
Bauvorhaben), see the swiss-housing-mcp server — the overlap is deliberate
so the two sources can be cross-validated.
Args: params (ConstructionActivityInput): - municipality_bfs (int): BFS commune number, e.g. 261 (Zürich) - since_year (int): earliest year, inclusive (default 2015)
Returns:
ConstructionActivityResult with a years series (new_buildings,
new_dwellings, dwellings_by_rooms). On error, error/hint are set.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hint | No | ||
| note | No | ||
| error | No | ||
| years | No | ||
| source | No | Bundesamt für Statistik (BFS), STAT-TAB — https://www.pxweb.bfs.admin.ch. Open Government Data, freie Weiterverwendung. | |
| table_ids | No | ||
| provenance | No | ||
| since_year | No | ||
| cross_validation | No | ||
| municipality_bfs | No | ||
| municipality_name | No |