Wahlen Daten
kantone.csv
| k | kanton | sitze | reg |
|---|---|---|---|
| 1 | ZH | 36 | DE |
| 2 | BE | 24 | DE |
| 3 | LU | 9 | DE |
| 4 | UR | 1 | DE |
| 5 | SZ | 4 | DE |
| 6 | OW | 1 | DE |
| 7 | NW | 1 | DE |
| 8 | GL | 1 | DE |
| 9 | ZG | 3 | DE |
| 10 | FR | 7 | FR |
| 11 | SO | 6 | DE |
| 12 | BS | 4 | DE |
| 13 | BL | 7 | DE |
| 14 | SH | 2 | DE |
| 15 | AR | 1 | DE |
| 16 | AI | 1 | DE |
| 17 | SG | 12 | DE |
| 18 | GR | 5 | DE |
| 19 | AG | 16 | DE |
| 20 | TG | 6 | DE |
| 21 | TI | 8 | IT |
| 22 | VD | 19 | FR |
| 23 | VS | 8 | FR |
| 24 | NE | 4 | FR |
| 25 | GE | 12 | FR |
| 26 | JU | 2 | FR |
parteien.csv
| p | partei |
|---|---|
| 1 | FDP |
| 2 | Mitte |
| 3 | SP |
| 4 | SVP |
| 5 | LPS |
| 6 | LdU |
| 7 | EVP |
| 8 | CSP |
| 9 | PdA/Sol. |
| 12 | FGA |
| 13 | GPS |
| 14 | SD |
| 16 | EDU |
| 17 | FPS |
| 18 | Lega |
| 31 | GLP |
| 32 | BDP |
| 33 | MCR |
| 34 | Mitte |
| 35 | Andere |
Code
echo "kantone.csv"
relation k, kanton, sitze, reg
data raw
1, "ZH", 36, "DE"
2, "BE", 24 , "DE"
3, "LU", 9 , "DE"
4, "UR", 1 , "DE"
5, "SZ", 4 , "DE"
6, "OW", 1 , "DE"
7, "NW", 1 , "DE"
8, "GL", 1 , "DE"
9, "ZG", 3 , "DE"
10, "FR", 7 , "FR"
11, "SO", 6 , "DE"
12, "BS", 4 , "DE"
13, "BL", 7 , "DE"
14, "SH", 2 , "DE"
15, "AR", 1 , "DE"
16, "AI", 1 , "DE"
17, "SG", 12 , "DE"
18, "GR", 5 , "DE"
19, "AG", 16 , "DE"
20, "TG", 6 , "DE"
21, "TI", 8 , "DE"
22, "VD", 19 , "FR"
23, "VS", 8 , "FR"
24, "NE", 4 , "FR"
25, "GE", 12 , "FR"
26, "JU", 2 , "FR"
end data
write "kantone.csv"
print
echo "parteien.csv"
relation p,partei
data
1, "FDP"
2, "Mitte"
3, "SP"
4, "SVP"
5, "LPS"
6, "LdU"
7, "EVP"
8, "CSP"
9, "PdA/Sol."
12, "FGA"
13, "GPS"
14, "SD"
16, "EDU"
17, "FPS"
18, "Lega"
31, "GLP"
32,"BDP"
33, "MCR"
34, "Mitte"
35, "Andere"
end data
write "parteien.csv"
print
