Data set accompanying the paper "Electoral closeness and voter turnout in presidential elections" by Philipp Köker and Frederik Springer, published in the journal of Elections, Public Opinion and Parties (JEPOP) at https://doi.org/10.1080/17457289.2025.2513300