This data set provides a dichotomous coding of democracy from 1800 until 2020 for 222 countries; however, QoG data contains information from 1946 onwards.
The authors define a country as democratic if it satisfies conditions for both contestation and participation. Specifically, democracies feature political leaders chosen through free and fair elections and satisfy a threshold value of suffrage.