For our analysis of the German election data, I prepared a script in the statistical programming environment R to structure and visualize the raw election data as we got it directly from the electoral management body that night. You can find it here.