Harvesting Twitter Data for Studying Motor Behavior in Disabled Populations: An Introduction and Tutorial in Python

J Mot Learn Dev. 2023 Dec;11(3):555-570. doi: 10.1123/jmld.2023-0006. Epub 2023 Aug 21.

Abstract

Social media platforms are rich and dynamic spaces where individuals communicate on a person-to-person level and to broader audiences. These platforms provide a wealth of publicly available data that can shed light on the lived experiences of people from numerous clinical populations. Twitter can be used to examine individual expressions and community discussions about specific characteristics (e.g., motor skills, burnout) associated with a diagnostic group. These data are useful for understanding the perspectives of a diverse, international group of self-advocates representing a wide range of clinical populations. Here, we provide a framework for how to harvest data from Twitter through their free, academic researcher application programming interface access using Python, a free, open-source programming language. We also provide a sample data set harvested using this framework and a set of analyses on these data specifically related to motor differences in neurodevelopmental conditions. This framework offers a cost-effective and flexible means of harvesting and analyzing Twitter data. Researchers should utilize these resources to advance our understanding of the lived experiences of clinical populations through social media platforms and to determine the critical questions that are of most importance to improving quality of life.

Keywords: autism; developmental coordination disorder; dyspraxia; social media.