Agora-Aktivität nach Kanton (Vorschläge zu einem Kanton oder einer seiner Gemeinden)
votara-agora-activity
- Herausgeber
- Votara
- Zugriffsart
code- Endpunkt
src/lib/server/agora/canton-activity.ts- Lizenz
- AGPL-3.0 (code), CC BY 4.0 (outputs)
- Abdeckung
- Gebiet 26 cantons (today's borders) · inputs Agora proposals (database), bfs-commune-population (latest year, canton sums of today's communes)
- Verwendet in
- AGORA-20
- Bekannte Grenzen
- Opinion and activity of Votara users, not a representative survey. Only proposals are counted: Votara stores no canton for voters or note authors, so votes and context notes cannot be attributed to a canton. A canton's count depends on how many residents use Votara, which differs by language region and over time.
Wie aktuell sind diese Daten?
- Aktualität
- Keine regelmässige Aktualisierung
Es gibt keine Quelle, die regelmässig abzufragen wäre: Votara berechnet dies selbst, oder die Publikation ändert sich nicht.
- Abgedeckter Zeitraum
- Keine Zeitreihe
- Letzte Änderung der Daten
- noch nicht abgerufen
- Letzte Abfrage der Quelle
- Noch keine Abfrage erfasst
- Aktualisierungsrhythmus
- Von Votara berechnet
Vermerk im Register (auf Englisch): Computed on request from the Agora database while the agora feature flag is on.
Der Zustand wird bei jeder Erstellung der Website berechnet; diese Seite zeigt den Stand vom . Ergebnisse der Prüfungen
Verarbeitungsschritte
- Count of published, not removed proposals (status published, deleted_at empty) with a cantonal scope (canton_code) or a communal scope (commune_bfs mapped to the canton of that commune in the current BFS register, old numbers resolved through bfs-commune-mutations). One grouped query; no proposal, author or date leaves the database. Script: src/lib/server/agora/canton-activity.ts
- Rate = count ÷ residents × 1000, residents = sum of the canton's communes in the latest STATPOP year (bfs-commune-population, today's borders). Script: src/lib/agora/canton-activity.ts
- Privacy rule 6: a canton with fewer than 50 proposals shows "fewer than 50" only (no count, rate, rank or colour). Only one total per canton is published and no national total, so a hidden count cannot be recovered by subtraction.