The L’Archivio di Stato di Venezia : indice generale, storico, descrittivo ed analitico (shortened ASV Indice) by Andrea da Mosto is a very useful reference to all the major and minor institutions and offices of the Republic of Venice.
The doge was the elected head of the Venetian Republic. He was elected for life by an arcane process that also included drawing lots.