Published 2025 | Version v2

Geospatiality_data

Contributors

Researcher:

  • 1. ROR icon Deutsches Zentrum für Luft- und Raumfahrt e. V. (DLR)

Description

This repository contains code and data for reproducing the study Geospatiality: The effect of topics on the presence of geolocation in English text data.

The study analyzed the frequency of geolocations in texts across several distinct datasets from different sources. These sources were:

For each source, a dataset was acquired and tested for the presence of geolocations in the texts, as well as annotated with topic-labels. 
The scripts use as inputs the data from the zip files in the data directory. Files need to be unzipped before running the scripts. Note that usernames have been anonymized.

  • E_Modeling.R  Applies the mixed modeling approach described in the article.
  • F1_Analyze_FracGeo.R  produces figures and tables visualising FracGeo, the fraction of geolocated text items per supertopic and dataset (Table 3 and Figure 3).
  • F2_Explore_Variables.R analyses FracGeo, across timesteps, authors, and text length (Figure 4).
  • F3_Analyze_Models.R analyses the fixed effects of the GLMM models for each dataset, and compares their correlation across datasets (Table 4, Figure 5, and Appendices A1-A6).
  • F4_Validate.R compares the georeferences and supertopic assignments of the models to the human annotations (Appendix 9 and Table 5).

The file topic_taxonomy.xlsx contains the topic taxonomy which matches topics to site-specific categories (e.g. subreddits, subforums, stackexchange sites). For users without access to MS office, the file can be loaded using open scripting languages, for example R:

library(openxlsx2)

path <- "../2_Data_Processing/Topic_taxonomy.xlsx"

tax_reddit <- openxlsx2::wb_read(path, sheet = "Topic_Taxonomy_Reddit")
tax_Stackexchange <- openxlsx2::wb_read(path, sheet = "Topic_Taxonomy_Stackexchange")
tax_Nairaland <- openxlsx2::wb_read(path, sheet = "Topic_Taxonomy_Nairaland")
tax_GDELT <- openxlsx2::wb_read(path, sheet = "Topic_Taxonomy_GDELT")

Files

9C_dat_gdelt_short.zip

Files (949.1 MB)

Name Size
md5:9cb07dab5557982df29cc9a284516521
792.9 MB Preview Download
md5:d343e44d9489441984719c8a130fe978
13.7 MB Preview Download
md5:284434c459427d9cab7048da12be5f9e
8.0 MB Preview Download
md5:328aef80f9debeae539ecac78708565f
1.9 MB Preview Download
md5:49efc39346898e9790f1ed92558369dd
36.5 MB Preview Download
md5:32a2fe77356192bfc1f7fc86ae944b39
81.1 MB Preview Download
md5:ebae204e52749bd077170812ca4ffcd2
14.8 MB Preview Download
md5:728cf1b3d497b60d6613f257f174e0c1
3.4 kB Download
md5:33cb62aba01bf2e6110dffea7ea78661
4.5 kB Download
md5:cdff4365c82c87a1b3d5caed0356ad93
7.5 kB Download
md5:222bfa94cbfe3f6ce00208be51fe678e
8.6 kB Download
md5:3f90883cba2c202962a1cbd7602fa825
3.7 kB Download
md5:c599bfe90805d3e56e31e7f17a7e4b60
65.7 kB Download

Additional details

Funding

Federal Ministry of Education and Research
MIGRAWARE 01LG2082C
Volkswagen Foundation
A New Focus in English Linguistics: Geolingual Studies 98 662