Skip to content

Project files for an article titled: "The Search for Human Rights: A Global Analysis Using Google Data", conditionally accepted at American Political Science Review.

License

Notifications You must be signed in to change notification settings

CJFariss/Human-Rights-Search

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Human-Rights-Search

Introduction

Project files for an article titled: "The Search for Human Rights: A Global Analysis Using Google Data", conditionally accepted at American Political Science Review. The files in this reproduction archive exist here: https://github.com/CJFariss/Human-Rights-Search; and a static version exists at the APSR dataverse archive here: https://dataverse.harvard.edu/dataverse/the_review. The dataverse citation is as follows:

Dancy, Geoff; Fariss, Christopher J., 2022, "Replication Data for: The Global Resonance of Human Rights: What Google Trends Can Tell Us", https://doi.org/10.7910/DVN/AV0CMJ, Harvard Dataverse

Preprints of the article and appendix files are available at the Open Science Foundation here https://osf.io/78c5z/.

Article Abstract

Where is the human rights discourse most resonant? We use aggregated cross-national Google search data to test two divergent accounts of why human rights appeal to some populations but not others. The top-down model predicts that nationwide interest in human rights is attributable mainly to external factors like foreign direct investment, transnational NGO campaigns, or international legalization, where the bottom-up model highlights the importance of internal factors like economic growth and persistent repression. We find more evidence for the latter model: not only is interest in human rights more concentrated in the Global South, the discourse is most resonant where people face regular violence at the hands of their home government. In drawing these inferences, this article confronts high-level debates over whether human rights will remain relevant in the future, and whether the discourse still animates counter-hegemonic modes of resistance. These answer to both questions, our research suggests, is “yes.”

Replication and Reproduction File Descriptions

We have created this complete Github repository with all the R code and datasets necessary to replicate or reproduce all reported data analyses presented in the main manuscript and the supplementary appendix. Every single step in our data processing and analysis sequence is available in this repository, such that all procedures and results are fully accessible to any interested reader.

Note about the supplementary appendix: There are two versions of the supplmentary appendix. Both versions are identical with respect to the information contained in the first 25 pages of each document. The 25 page version does not included all tables. An extended, archive-only appendix located at the Github repository (https://github.com/CJFariss/Human-Rights-Search) and Dataverse repository (https://doi.org/10.7910/DVN/AV0CMJ) contains all tables that correspond to coefficient plots in the 25 page supplementary appendix.

Folder Descriptions

The primary data source we use in this project is search term rates from trends.google.com. We access the data available at this site through the API using the R package gtrendsR and its gtrends() function.

Many of the folders below contain search term datasets or R files (.RDS files) necessary to create these datasets. When pulling datasets from the google trends APIs, specifically from trends.google.com (the primary data source), we have saved the resulting datasets and the code that pulls the data. This will allow interested readers to reproduce the reported analyses with the same data we used, but readers can also reproduce the search term datasets themselves.

Note that lowsearch is in reference to the low_search_volume argument in the gtrends() function.

Analysis Information

There are many folders that contain many files. In an effort to make the production of each result presented in our article as transparent as possible, we describe the resources necessary (contained in the project folders described above) to reproduce each figure or table in the main article and by section in the supplementary appendix.

groundhog_library_func.R is a function that loads all the necessary R libraries. There are three options in the function: (1) load libraries using the version from when the scripts were originally run, (2) load libraries using their most recent versions, or (3) install the current version of all the libraries. This function will hopefully ensure that all the results reported in the article and supplementary appendix can always be reproduced using the original function versions, even if any updated functions produce dissimilar results in the future.

Main Article Files

Article Figure 1: Pairwise comparisons of relative search term rates

Article Figure 2: Global weekly search rates from Google Trends for five language groups (2015- 2019)

Article Figure 3: Map of Google search rates for “human rights” in the English language (also for other language groups, Github only)

Article Figure 4: Rate of Google searches for “human rights” in the English language for country-weeks from 2015-2019

Article Figure 5: Map of Google search rates for “derechos humanos” in the Spanish language (also for other language groups, Github only)

Article Figure 6: Rate of google searches for “derechos humanos” in the Spanish language for country-weeks from 2015-2019

Article Figure 7: Coefficient plot of results from regression models with language fixed effects

Article Figure 8: Human rights survey validation

Article Figure 9: Google search proportions

Article Figure 10: Related co-occurring search queries and search topics for Guatemala (top row) and relative search rates by city and region (bottom row)

Article Table 1: Country-year regression analysis with language fixed effects

Supplementary Appendix Files

Supplementary Appendix Section A: Min-max normalization of Google Trends search data

Supplementary Appendix Section B: Variable definitions, references, and summary statistics

Supplementary Appendix Section C: Global search rates

C.1 Global Pairwise Search Rates
C.2 Global search rates by language group

Supplementary Appendix Section D: Examples of related searches

Supplementary Appendix Section E: Mapping the geographic distribution of Google searching

Supplementary Appendix Section F: Variation in term usage for French speakers

Supplementary Appendix Section G: Searching for “human rights” and “rights” in English

Supplementary Appendix Section H: Searching for “Amnesty International”

Supplementary Appendix Section I: Validation: Google searches for “malaria”

Supplementary Appendix Section J: Validation: Google search volumes vs. competitor search volumes

Supplementary Appendix Section K: Google n-grams (1800-2008)

Supplementary Appendix Section L: Additional regression results

L.1 Regression models from early time periods
L.2 Regression Models with Alternative Measure of Amnesty Report (Counts)
L.3 Regression Models with Alternative Measure of Human Rights NGOs
L.4 Regression Models without the United States
L.5 Regression Models with Interaction Term between Amnesty Report Rate and Human Rights Protection Scores
L.6 Regression Models with Interaction Term between HR Treaty Ratifications and Human Rights Protection Scores
L.7 Google Search Models: Cross Validation using Leave-One-Out (loo) Country
L.8 Google Search Models with other Dependent Variable: Amnesty International Search Rates

Supplementary Appendix Section M: Guatemala week-level analysis

About

Project files for an article titled: "The Search for Human Rights: A Global Analysis Using Google Data", conditionally accepted at American Political Science Review.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published