This part of the study was not pre-registered.
It uses data from wave 6 of the World Values Survey. We here provide our R code (and the additional country-level data) but users will need to get hold of the WVS wave 6 data from the World Values Survey website.
The file required to work with our R script below is called 'WV6_Data_R_v20201117'.