-
Notifications
You must be signed in to change notification settings - Fork 2
79 lines (49 loc) · 1.78 KB
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
---
title: "Open Government Data, provided by Canton Zurich"
date: "2025-01-07"
output: html_document
---
## Dataset: Kantonsratswahlen: Wähleranteil SD [%]
Wähleranteil aller Listen der Partei SD bei den Kantonsratswahlen
[Direct data shop link for dataset](https://www.zh.ch/de/politik-staat/statistik-daten/datenkatalog.html#/datasets/10@statistisches-amt-kanton-zuerich)
Auto generated R starter code for data set 10@statistisches-amt-kanton-zuerich.
## Metadata
- **Issued** `2016-01-20T20:16:00`
- **Modified** `2023-06-06T13:24:05`
- **Startdate** `1999-12-31`
- **Enddate** `2015-12-31`
- **Theme** `['http://publications.europa.eu/resource/authority/data-theme/GOVE']`
- **Keyword** `['bezirke', 'gemeinden', 'kantonsratswahlen', 'kanton_zuerich', 'parteien', 'politik', 'wahlen', 'ogd']`
- **Publisher** `['Statistisches Amt des Kantons Zürich']`
- **Landingpage** `https://www.zh.ch/de/politik-staat/gemeinden/gemeindeportraet.html`
# Load packages
```{r}
library(tidyverse)
library(skimr)
```
# Load data
- The dataset has 1 distribution(s) in CSV format.
- All available CSV distributions are listed below and can be read into a tibble.
```{r}
# Distribution 0
# Ktzhdistid : 9
# Title : Kantonsratswahlen: Wähleranteil SD [%]
# Description : None
# Issued : 2016-01-21T16:30:35
# Modified : 2016-06-24T11:38:30
df <- read_delim('https://www.web.statistik.zh.ch/ogd/data/KANTON_ZUERICH_439.csv')
```
# Analyze data
```{r}
glimpse(df)
str(df)
skim(df)
head(df)
tail(df)
```
# Continue your code here...
```{r}
```
------------------------------------------------------------------------
# Questions about the data?
Statistisches Amt des Kantons Zürich | Data Shop | [email protected]