CZ: voters changes 2014-2019
Full Screen
Ecological inference
using ei package
Analysis flow
- download data from CzSO https://volby.cz/opendata/ep2019/ep2019_opendata.htm (ept2.csv, ept2p.csv for 2019)
- get previous data, e.g. data_2014.csv (or create similarly to current data - next step)
- prepare.py: manually change path, file, parties, nzast (it is not 1 for local elections), current_data, name4party -> creates current data, e.g. data_2019.csv
- join_data.py: manually change path, previous, current, parties, select
- list_XXXX_filtered.csv: prepare manually (2)
- ei.r: manually change path, Ntotal, list_previous_name, list_current_name
- matn_chart.csv: add first column name name
- get party logos
- index_cs.html: change manually texts
- create subdirectory parties
- generate.py: change manually range