Urban Planning · Big Data Analysis · Emotion Geography 城市规划 · 大数据分析 · 情绪地理学
Using Weibo check-in message data and Baidu Search Index time series, this research explores the spatial and temporal patterns of emotional expression across four municipalities — Beijing, Tianjin, Shanghai, and Chongqing — from both spatial and temporal perspectives. 基于微博打卡留言数据与百度指数时间序列,从空间与时间双视角解析北京、天津、上海、重庆四座城市的情绪分布规律。
Research Overview 研究概述
With the widespread adoption of social media, urban residents leave vast amounts of geo-tagged emotional expressions on platforms like Weibo. This study uses Weibo check-in messages as its spatial data source and Baidu Search Index keyword volumes as its temporal data source to conduct a spatio-temporal sentiment analysis across four municipalities. 随着社交媒体的普及,城市居民在微博等平台上留下海量带有地理标签的情绪表达。本研究以微博打卡留言为空间数据源,以百度指数关键词搜索量为时间数据源,对四个直辖市进行情绪时空分析。
Emotions are classified into five categories — Joy, Anger, Sadness, Disgust, and Fear. ArcGIS is used to generate district-level sentiment distribution maps, while word frequency statistics and word cloud visualizations reveal emotional characteristics of each city. Time series analysis further explores the periodic patterns of emotional fluctuation. 研究将情绪分为乐、怒、哀、恶、惧五类,借助ArcGIS生成各区县情绪分布图,结合词频统计与词云可视化揭示各城市的情绪特征,并通过时间序列分析探索情绪波动的周期性规律。
Key findings: Northern suburban areas show generally more positive emotions, while core urban districts exhibit higher levels of negative sentiment. Work pressure, pandemic impacts, and urban infrastructure issues are the primary drivers of emotional fluctuation. 研究发现:北部郊区整体情绪较积极,核心城区消极情绪偏高;工作压力、疫情影响与城市基础设施问题是情绪波动的主要驱动力。
Emotion Classification System 情绪分类体系
Using a pre-trained ChatGPT model, Weibo texts are classified into five emotion categories. The emotion proportions for each district are extracted and imported into ArcGIS for spatial-level visualization. For the Baidu Index data, correlation tests are used to identify the dominant emotion type for each keyword. 通过预训练的 ChatGPT 模型,对微博文本进行五情绪分类,提取各城市各区县的情绪占比,并导入 ArcGIS 进行空间等级可视化。百度指数端则通过相关性检验确定各关键词的主导情绪类型。
Research Design 研究设计
Research Scope 研究范围
Spatial Analysis · Beijing 空间分析 · 北京
Text Analysis · Beijing 文本分析 · 北京
Temporal Analysis · Beijing 时间分析 · 北京
Spatial Analysis · Tianjin 空间分析 · 天津
Text Analysis · Tianjin 文本分析 · 天津
Emotion Lexicon 情绪词典
From 128 keywords, three representative words were selected based on emotional complexity for complete time series analysis, representing single emotion, two emotions, and three emotions respectively. 从128个关键词中,依据情绪复杂度选取三个代表性词汇进行完整时序分析,分别代表单一情绪、两种情绪、三种情绪三类。
Representative single-emotion keyword. "Vacation" shows strong seasonal patterns in Baidu Index, with search volumes spiking significantly around public holidays. The STL trend component is generally stable. Emotional expression is direct and positive, representing a positive lifestyle need. 代表单一情绪关键词。度假在百度指数中呈现强烈的季节性规律,节假日前后搜索量显著飙升,STL趋势成分总体平稳。情绪表达直接明确,代表正向生活需求。
Representative dual-emotion keyword. Time series analysis shows higher volatility; emotional expression is complex and rich. Its higher search frequency in Baidu Index demonstrates stronger representativeness for emotional conveyance, often spiking following mental health events. 代表两种情绪关键词。时序分析显示出较高的波动性,其情绪表达复杂丰富,在百度指数中的检索频率较高,说明该词对于情绪传递具有更强代表性,常在心理健康事件期后出现峰值。
Representative triple-emotion keyword. "Entrepreneurship" reflects hope for the future (joy) alongside risk anxiety (fear) and dissatisfaction with the status quo (disgust). The time series is highly correlated with economic conditions, with notable search volume changes during the pandemic. 代表三种情绪关键词。创业词汇折射出对未来的期许(乐)与风险担忧(惧),以及对现状的不满(恶)。时序上与经济形势高度相关,疫情期间搜索量明显变化。
Research Conclusions 研究结论