Skip to content

Files

Latest commit

 

History

History

1755-gemeinderatskandidaten

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

1755-gemeinderatskandidaten

  1. These scripts were written to process and analyse data regarding socio-demographic variables of the candidates for the Zurich parliamentary election, 2018. And, later, to analyse the same variables of the elected politicians.

  2. Results based on these scripts were published in the following articles:

  1. Data on the distribution of these variables among the candidates were provided by Smartvote for the first article. Complete data for the follow-up articles were available only from January 17th on, and provied by Statistik Stadt Zürich via Open data Zurich. The names of the elected candidates were provided by the city of Zurich. Data on the distribution of the same variables (age, gender, fist name) in the population are provided by Statistik Stadt Zürich via Open Data Zurich, or, regarding polling data on profession, by Statistik Stadt Zürich on request.

  2. The semi-automatic and iterative method used to categorize professions is described in the methods part of the articles and, in detail, in the scripts.

  3. The scripts calculate buckets for age groups, proportions for gender, age and first name among the candidates and within the population, categorize the professions indicated by the candidates and attributes candidates' zip code to districts.

    • The script gemeinderat.R determines the districts the candidates of which represent its population in the best / poorest way. And it makes out the most prototypical and the most representative candidate.
    • The script gemeinderat_partei.R determines the same measures by political party.
  4. References

We exclude liability for any damages or losses that may arise from using the materials made available by NZZ Storytelling. We do not guarantee that the information therein is adequate, complete or up to date.