An analysis of public topics and sentiments based on social media during the COVID-19 Omicron Variant outbreak in Shanghai 2022

Chao Liu , Yeyoumin Tian , Yuhao Shi , Zhiyi Huang , Yuchen Shao

Computational Urban Science ›› 2024, Vol. 4 ›› Issue (1) : 19

PDF
Computational Urban Science ›› 2024, Vol. 4 ›› Issue (1) : 19 DOI: 10.1007/s43762-024-00128-y
Original Paper

An analysis of public topics and sentiments based on social media during the COVID-19 Omicron Variant outbreak in Shanghai 2022

Author information +
History +
PDF

Abstract

The outbreak of the COVID-19 Omicron variant in Shanghai in 2022 elicited complex emotions among Shanghainese during the two-month quarantine period. This paper aims to identify prevailing public themes and sentiments by analyzing social media posts from Weibo. Initially, we conducted research based on a dataset of 90,000 Weibo posts during the 2022 COVID-19 outbreak in Shanghai. By examining social media data that mirrors residents' emotional shifts and areas of focus during unforeseen circumstances, we have developed an analytical framework combining hotspot analysis and public sentiment assessment. Subsequently, we employed the Latent Dirichlet Allocation (LDA) method to conduct topic modeling on the Weibo text data. The SnowNLP sentiment classification method was then utilized to quantify sentiment values. Ultimately, we performed spatial visualization of sentiment and concern data, categorizing them into distinct time periods based on Shanghai's infection curve. This approach allowed us to investigate concern focal points, sentiment trends, and their spatiotemporal evolution characteristics. Our findings indicate that variations in public sentiment primarily hinge on the severity of the epidemic's spread, emerging events, the availability of essential resources, and the government's ability to respond promptly and accurately. It is evident that, while residents' concerns shift over time, their primary objective on social media remains expressing demands and releasing emotions. This research offers an avenue for leveraging public opinion analysis to enhance governance capacity during crises, fortify urban resilience, and promote public involvement in governmental decision-making processes.

Cite this article

Download citation ▾
Chao Liu,Yeyoumin Tian,Yuhao Shi,Zhiyi Huang,Yuchen Shao. An analysis of public topics and sentiments based on social media during the COVID-19 Omicron Variant outbreak in Shanghai 2022. Computational Urban Science, 2024, 4(1): 19 DOI:10.1007/s43762-024-00128-y

登录浏览全文

4963

注册一个新账户 忘记密码

References

Funding

National Natural Science Foundation of China Young Scholars (NSFCY),(No. 52108060)

Natural Science Foundation of Shanghai,(No. 21ZR1466500)

Key Laboratory of Spatial Intelligent Planning Technology, Ministry of Natural Resources of China,(22QB1404900)

AI Summary AI Mindmap
PDF

123

Accesses

0

Citation

Detail

Sections
Recommended

AI思维导图

/