Fixed 2019 elections (user has to choose between two dates).
Fixed errors elections files (MIR files are corrupt).
Allowed the user to input only the year of the elections in import_elections_data.R and get_elections_data.R.
Allowed the user to provide both year and dates for different elections.
Checked examples and documentation.
Fixed by_parties = TRUE by default.
Fix discrepancies in files. Some poll stations does not match the individual ballots with summaries provided by Ministry of the Interior. The discrepancies were resolved by using the individual votes by party.
pollspain 0.1.0
Fix errors in the accompanying pollspain-data repository.
Recode the INE codes of municipalities and provinces according to their latest updated version.