Record Details

Replication Data for: A pairwise comparison framework for fast, flexible, and reliable human coding of political texts

Harvard Dataverse (Africa Rice Center, Bioversity International, CCAFS, CIAT, IFPRI, IRRI and WorldFish)

View Archive Info
 
 
Field Value
 
Title Replication Data for: A pairwise comparison framework for fast, flexible, and reliable human coding of political texts
 
Identifier https://doi.org/10.7910/DVN/0ZRGEE
 
Creator Carlson, David
Montgomery, Jacob M.
 
Publisher Harvard Dataverse
 
Description All of the data required for replicating the analyses are located in /DataFiles, with appropriately named subfolders.

MainTextRep.R replicates all figures, tables, and numbers reported in the main text with the data provided. SIRep.R does the same for the Supplementary Information.

The data folders also contain code that generate both the MTurk responses and the Stan fits. However, some of the functionality is deprecated, and the new package sentimentIt operates differently than earlier functionality, for example requiring login credentials. The code HITapi.R was used for some of the data collection, but is based on this earlier functionality. For an example using the newest functionality, refer to the SI or to the file packageImm_anon.R in /DataFiles/ImmigrationSurvey, which is a fully functional use of the package with the exception of the password being anonymous.
 
Subject Social Sciences
 
Contributor Carlson, David