Read-only mirror of https://github.com/StatistikStadtZuerich/aWN-tool — Stadt Zürich. Issues & pull requests at the source.
  • R 96.9%
  • Dockerfile 3.1%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Aline Laura Metzler (sszmea) 31843c26c5 Merge branch 'feature-deploy-awn' into 'main'
dockerfile and pipeline

See merge request OE-7035/ssz-shinyproxy/applikationen/awn!50
2026-12-03 12:59:32 +00:00
data-raw rename df_main since its a list 2026-03-17 18:48:01 +01:00
dev get rid of unnecessary dependencies 2026-11-18 15:50:42 +01:00
inst change package name 2026-11-25 09:36:22 +01:00
man change package name 2026-11-25 09:36:22 +01:00
R change package name 2026-11-25 09:36:22 +01:00
renv change package name 2026-11-25 09:36:22 +01:00
tests change package name 2026-11-25 09:36:22 +01:00
.gitignore - added shinytest2::record_test() to test get card and get info 2024-10-22 17:17:31 +02:00
.gitlab-ci.yml dockerfile and pipeline 2026-12-03 10:53:01 +01:00
.Rbuildignore ignore dockerfile in buildignore 2026-12-03 11:12:13 +01:00
.Rprofile try setting env variables for pak cache 2026-11-11 10:56:39 +01:00
app.R change package name 2026-11-25 09:36:22 +01:00
awn.Rproj change package name 2026-11-25 09:36:22 +01:00
DESCRIPTION change package name 2026-11-25 09:36:22 +01:00
Dockerfile dockerfile and pipeline 2026-12-03 10:53:01 +01:00
LICENSE change package name 2026-11-25 09:36:22 +01:00
LICENSE.md change package name 2026-11-25 09:36:22 +01:00
NAMESPACE get rid of unnecessary dependencies 2026-11-18 15:50:42 +01:00
README.md Change old links in readme 2026-11-17 09:21:33 +01:00
renv.lock get rid of unnecessary dependencies 2026-11-18 15:50:42 +01:00

aWN Tool - Amtliche Wohnungsnummer

Shiny app for querying official apartment numbers (aWN - amtliche WohnungsNummern) and additional information such as primary and secondary energy sources, building details, and apartment sizes from the City of Zurich's Building and Apartment Registry. The data is sourced from the Open Data Catalogue of the City of Zurich and is updated daily.

App's Architecture

The aWN Tool is built using several modular components and helper functions. The main modules are as follows:

  • app_ui sets up the UI layout, including the mod_input_ui, results (mod_results_ui), and download buttons (mod_download_ui).

  • mod_input_ui handles address input. Its server function, mod_input_server, return filtered data based on the selected address.

  • app_server reacts to the action button click:

    • Filtered input: The mod_input_server module filters building and apartment data.

    • Result display: Depending on valid input, it shows the mod_result_ui and mod_download_ui.

    • Warning: If the address is not found, a warning UI is rendered.

  • mod_result_server renders the building and apartment based on filtered input.

  • mod_download_server enables downloading filtered data (building and apartment).

Below is a visual representation of the application's architecture:

flowchart LR
  mod_input -->|address| app_server
  app_server -->|filtered_building, filtered_apartment| mod_results
  mod_results -->|Result| App
  app_server -->|filtered_building, filtered_apartment| mod_download
  mod_download -->|Result| Download