Exploring spatiotemporal changes in the multi-granularity emotions of people in the city: a case study of Nanchang, China

Comput Urban Sci. 2022;2(1):1. doi: 10.1007/s43762-021-00030-x. Epub 2022 Jan 4.

Abstract

In the Internet age, emotions exist in cyberspace and geospatial space, and social media is the mapping from geospatial space to cyberspace. However, most previous studies pay less attention to the multidimensional and spatiotemporal characteristics of emotion. We obtained 211,526 Sina Weibo data with geographic locations and trained an emotion classification model by combining the Bidirectional Encoder Representation from Transformers (BERT) model and a convolutional neural network to calculate the emotional tendency of each Weibo. Then, the topic of the hot spots in Nanchang City was detected through a word shift graph, and the temporal and spatial change characteristics of the Weibo emotions were analyzed at the grid-scale. The results of our research show that Weibo's overall emotion tendencies are mainly positive. The spatial distribution of the urban emotions is extremely uneven, and the hot spots of a single emotion are mainly distributed around the city. In general, the intensity of the temporal and spatial changes in emotions in the cities is relatively high. Specifically, from day to night, the city exhibits a pattern of high in the east and low in the west. From working days to weekends, the model exhibits a low center and a four-week high. These results reveal the temporal and spatial distribution characteristics of the Weibo emotions in the city and provide auxiliary support for analyzing the happiness of residents in the city and guiding urban management and planning.

Keywords: ESTDA; Social media; Urban emotions; User-generated content; Word shift graph.