Open data

All the data shown on the site, as compressed CSV files (gzip), regenerated every night. Comma-separated, UTF-8, one header row; dates are YYYY-MM-DD and booleans are t or f.

These files only contain data for Italy (Chamber of Deputies and Senate): their name starts with it_. Votes are in it_scrutins, individual votes in it_votes; absent deputies are not stored (they are deduced from the mandates).

The files have not been generated yet.

How to read the files

it_votes
one row per deputy and vote where they voted: position = pour (in favour), contre (against) or abstention. Deputies who did not vote (including “on mission”) are not included.
absentees
Absentees are not in it_votes: they are deduced. A deputy is absent from a vote if they held a mandate on its date (file it_mandats, calculated from the imported votes only) and have no row in it_votes. For votes where nominatif_incomplet is t (secret ballots: totals only), do not deduce absentees.
it_scrutins
nb_pour, nb_contre, nb_abstentions: OFFICIAL count; nb_votants = those present (voters + abstentions). sort: official result. sur_ensemble: final vote as flagged by the Chamber. url_officielle: official page. By default only final votes and confidence votes are imported.
chambre
ITCAMERA (Chamber of Deputies), ITSENATE (Senate of the Republic).

A file can be opened in any spreadsheet after decompression, or directly for example with Python: pandas.read_csv("votes.csv.gz"). The SHA-256 fingerprints let you check a download.

Sources and terms of reuse

The votes come from the open data of the Italian Chamber of Deputies (dati.camera.it), under the CC BY-SA 4.0 licence: attribution and share-alike for derived data, including these files; and from that of the Senate (dati.senato.it), whose terms of reuse have not been confirmed. The official page of each vote is linked in it_scrutins (url_officielle). Mandates, name capitalisation and rates calculated by the site are provided without warranty; see the Methodology and limits page. No photo is included.