-
Notifications
You must be signed in to change notification settings - Fork 0
/
694@statistisches-amt-kanton-zuerich.Rmd
178 lines (126 loc) · 5.96 KB
/
694@statistisches-amt-kanton-zuerich.Rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
---
title: "Open Government Data, provided by Canton Zurich"
date: "2024-10-06"
output: html_document
---
## Dataset: Archiv Wahlresultate Regierungsratswahlen
Ergebnisse der Erneuerungs- und Ersatzwahlen der Mitglieder des Regierungsrates
[Direct data shop link for dataset](https://www.zh.ch/de/politik-staat/statistik-daten/datenkatalog.html#/datasets/694@statistisches-amt-kanton-zuerich)
Auto generated R starter code for data set 694@statistisches-amt-kanton-zuerich.
## Metadata
- **Issued** `2020-07-07T16:39:00`
- **Modified** `2024-03-28T09:12:57`
- **Startdate** `2007-12-31`
- **Enddate** `2019-12-31`
- **Theme** `['http://publications.europa.eu/resource/authority/data-theme/GOVE']`
- **Keyword** `['kanton_zuerich', 'politik', 'politische_parteien', 'regierungsrat', 'regierungsratswahlen', 'wahlen', 'wahlergebnisse', 'wahlarchiv', 'demokratie', 'ogd']`
- **Publisher** `['Statistisches Amt des Kantons Zürich']`
- **Landingpage** `https://www.zh.ch/de/politik-staat/wahlen-abstimmungen/kantons-regierungsratswahlen.html`
# Load packages
```{r}
library(tidyverse)
library(skimr)
```
# Load data
- The dataset has 12 distribution(s) in CSV format.
- All available CSV distributions are listed below and can be read into a tibble.
```{r}
# Distribution 0
# Ktzhdistid : 1687
# Title : Resultate 1. Wahlgang Gesamterneuerungswahl Regierungsrat 2007
# Description : None
# Issued : 2020-07-07T16:44:16
# Modified : 2023-11-22T14:21:43
df <- read_delim('https://www.web.statistik.zh.ch/ogd/daten/ressourcen/KTZH_00000694_00001687.csv')
# Distribution 1
# Ktzhdistid : 1826
# Title : Kandidierende 1. Wahlgang Gesamterneuerungswahl Regierungsrat 2007
# Description : None
# Issued : 2021-06-01T13:36:34
# Modified : 2023-12-08T10:00:06
df <- read_delim('https://www.web.statistik.zh.ch/ogd/daten/ressourcen/KTZH_00000694_00001826.csv')
# Distribution 2
# Ktzhdistid : 1737
# Title : Resultate 1. Wahlgang Ersatzwahl Regierungsrat 2009
# Description : None
# Issued : 2020-10-09T11:38:54
# Modified : 2023-11-22T14:19:55
df <- read_delim('https://www.web.statistik.zh.ch/ogd/daten/ressourcen/KTZH_00000694_00001737.csv')
# Distribution 3
# Ktzhdistid : 1827
# Title : Kandidierende 1. Wahlgang Ersatzwahl Regierungsrat 2009
# Description : None
# Issued : 2021-06-01T13:37:41
# Modified : 2023-12-08T09:59:19
df <- read_delim('https://www.web.statistik.zh.ch/ogd/daten/ressourcen/KTZH_00000694_00001827.csv')
# Distribution 4
# Ktzhdistid : 1688
# Title : Resultate 1. Wahlgang Gesamterneuerungswahl Regierungsrat 2011
# Description : None
# Issued : 2020-07-07T16:45:23
# Modified : 2023-11-22T14:18:40
df <- read_delim('https://www.web.statistik.zh.ch/ogd/daten/ressourcen/KTZH_00000694_00001688.csv')
# Distribution 5
# Ktzhdistid : 1828
# Title : Kandidierende 1. Wahlgang Gesamterneuerungswahl Regierungsrat 2011
# Description : None
# Issued : 2021-06-01T13:38:41
# Modified : 2023-12-08T10:00:22
df <- read_delim('https://www.web.statistik.zh.ch/ogd/daten/ressourcen/KTZH_00000694_00001828.csv')
# Distribution 6
# Ktzhdistid : 1689
# Title : Resultate 1. Wahlgang Gesamterneuerungswahl Regierungsrat 2015
# Description : None
# Issued : 2020-07-07T16:46:18
# Modified : 2023-11-22T14:17:53
df <- read_delim('https://www.web.statistik.zh.ch/ogd/daten/ressourcen/KTZH_00000694_00001689.csv')
# Distribution 7
# Ktzhdistid : 1829
# Title : Kandidierende 1. Wahlgang Gesamterneuerungswahl Regierungsrat 2015
# Description : None
# Issued : 2021-06-01T13:43:00
# Modified : 2023-12-08T10:00:36
df <- read_delim('https://www.web.statistik.zh.ch/ogd/daten/ressourcen/KTZH_00000694_00001829.csv')
# Distribution 8
# Ktzhdistid : 1690
# Title : Resultate 1. Wahlgang Gesamterneuerungswahl Regierungsrat 2019
# Description : None
# Issued : 2020-07-07T16:46:50
# Modified : 2023-11-22T14:16:49
df <- read_delim('https://www.web.statistik.zh.ch/ogd/daten/ressourcen/KTZH_00000694_00001690.csv')
# Distribution 9
# Ktzhdistid : 1830
# Title : Kandidierende 1. Wahlgang Gesamterneuerungswahl Regierungsrat 2019
# Description : None
# Issued : 2021-06-01T13:47:09
# Modified : 2023-12-08T10:00:53
df <- read_delim('https://www.web.statistik.zh.ch/ogd/daten/ressourcen/KTZH_00000694_00001830.csv')
# Distribution 10
# Ktzhdistid : 3944
# Title : Resultate 1. Wahlgang Gesamterneuerungswahl Regierungsrat 2023
# Description : None
# Issued : 2023-02-21T10:11:45
# Modified : 2023-11-22T14:16:03
df <- read_delim('https://www.web.statistik.zh.ch/ogd/daten/ressourcen/KTZH_00000694_00003944.csv')
# Distribution 11
# Ktzhdistid : 3945
# Title : Kandidierende 1. Wahlgang Gesamterneuerungswahl Regierungsrat 2023
# Description : None
# Issued : 2023-02-21T10:06:02
# Modified : 2023-12-08T10:01:32
df <- read_delim('https://www.web.statistik.zh.ch/ogd/daten/ressourcen/KTZH_00000694_00003945.csv')
```
# Analyze data
```{r}
glimpse(df)
str(df)
skim(df)
head(df)
tail(df)
```
# Continue your code here...
```{r}
```
------------------------------------------------------------------------
# Contact
Statistisches Amt des Kantons Zürich | Wahlen & Abstimmungen | wahlen@statistik.ji.zh.ch