This repository contains code and data to reproduce all (quantitative) analyses and figures for the paper Dablander, F.⭑, Sachisthal, M.⭑, Cologna, V., Strahm, N., Bosshard, A., Grüning, N., Green, A., Brick, C., Aron, A., & Haslbeck, J.M.B.⭑ (accepted). Climate Change Engagement of Scientists. Nature Climate Change. [Link]. If you use these data or code anywhere, please cite the paper.
helpers.Rincludes useful functions.analyses/main_analyses.Rmdruns the analyses reported in the main text of the paper (except creating Figure 1).representativity_analysis.Rmdruns the sample representativity analysis.world_map.Rcreates a world map showing observations across countries.figure1.Rcreates Figure 1.
data/DataS1_Anonymized.RDSis the raw anonymized data.DataS2_Imputed.RDSis the imputed data.DataS3_Final.RDSis the final data set used for quantitative analysis.DataS4_Qualitative.RDSis the data set used for qualitative analysis.Codebook_DataS4_Qualitative.xlxis the codebook for the qualitative data.Codebook_DataS1_Quantitative.xlxis the codebook for the quantitative data (DataS1_Anonymized).map_data.csvis the data used to render the world map.
models/is where the estimated models are being saved to.results/is where the effect size measures are being saved to.figures/is where the figures are being saved to.AME/includes figures for the average marginal effects. We report marginal effects at the mean in the paper. Seemain_analyses.Rmdfor details.
The data and code provided in this repository are licensed under Creative Commons Attribution 4.0 International. To view a copy of this license, visit https://creativecommons.org/licenses/by/4.0/