If the country publishes the election (voting) results online, are historical results also available?
Brazil
Data has been confirmed by TSE on 28 June 2017
However, the older the history, rarer is the data details. There exists a plethora of data for elections after 1996, but before this, the data were recovered from written records or ad hoc digital data. On this website users can get data from elections since 1945. These data are more suitable to massive batch processing.