Cargando…

Using Twitter to Better Understand the Spatiotemporal Patterns of Public Sentiment: A Case Study in Massachusetts, USA

Twitter provides a rich database of spatiotemporal information about users who broadcast their real-time opinions, sentiment, and activities. In this paper, we sought to investigate the holistic influence of land use and time period on public sentiment. A total of 880,937 tweets posted by 26,060 act...

Descripción completa

Detalles Bibliográficos
Autores principales: Cao, Xiaodong, MacNaughton, Piers, Deng, Zhengyi, Yin, Jie, Zhang, Xi, Allen, Joseph G.
Formato: Online Artículo Texto
Lenguaje:English
Publicado: MDPI 2018
Materias:
Acceso en línea:https://www.ncbi.nlm.nih.gov/pmc/articles/PMC5858319/
https://www.ncbi.nlm.nih.gov/pubmed/29393869
http://dx.doi.org/10.3390/ijerph15020250
_version_ 1783307633102422016
author Cao, Xiaodong
MacNaughton, Piers
Deng, Zhengyi
Yin, Jie
Zhang, Xi
Allen, Joseph G.
author_facet Cao, Xiaodong
MacNaughton, Piers
Deng, Zhengyi
Yin, Jie
Zhang, Xi
Allen, Joseph G.
author_sort Cao, Xiaodong
collection PubMed
description Twitter provides a rich database of spatiotemporal information about users who broadcast their real-time opinions, sentiment, and activities. In this paper, we sought to investigate the holistic influence of land use and time period on public sentiment. A total of 880,937 tweets posted by 26,060 active users were collected across Massachusetts (MA), USA, through 31 November 2012 to 3 June 2013. The IBM Watson Alchemy API (application program interface) was employed to quantify the sentiment scores conveyed by tweets on a large scale. Then we statistically analyzed the sentiment scores across different spaces and times. A multivariate linear mixed-effects model was used to quantify the fixed effects of land use and the time period on the variations in sentiment scores, considering the clustering effect of users. The results exposed clear spatiotemporal patterns of users’ sentiment. Higher sentiment scores were mainly observed in the commercial and public areas, during the noon/evening and on weekends. Our findings suggest that social media outputs can be used to better understand the spatial and temporal patterns of public happiness and well-being in cities and regions.
format Online
Article
Text
id pubmed-5858319
institution National Center for Biotechnology Information
language English
publishDate 2018
publisher MDPI
record_format MEDLINE/PubMed
spelling pubmed-58583192018-03-19 Using Twitter to Better Understand the Spatiotemporal Patterns of Public Sentiment: A Case Study in Massachusetts, USA Cao, Xiaodong MacNaughton, Piers Deng, Zhengyi Yin, Jie Zhang, Xi Allen, Joseph G. Int J Environ Res Public Health Article Twitter provides a rich database of spatiotemporal information about users who broadcast their real-time opinions, sentiment, and activities. In this paper, we sought to investigate the holistic influence of land use and time period on public sentiment. A total of 880,937 tweets posted by 26,060 active users were collected across Massachusetts (MA), USA, through 31 November 2012 to 3 June 2013. The IBM Watson Alchemy API (application program interface) was employed to quantify the sentiment scores conveyed by tweets on a large scale. Then we statistically analyzed the sentiment scores across different spaces and times. A multivariate linear mixed-effects model was used to quantify the fixed effects of land use and the time period on the variations in sentiment scores, considering the clustering effect of users. The results exposed clear spatiotemporal patterns of users’ sentiment. Higher sentiment scores were mainly observed in the commercial and public areas, during the noon/evening and on weekends. Our findings suggest that social media outputs can be used to better understand the spatial and temporal patterns of public happiness and well-being in cities and regions. MDPI 2018-02-02 2018-02 /pmc/articles/PMC5858319/ /pubmed/29393869 http://dx.doi.org/10.3390/ijerph15020250 Text en © 2018 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).
spellingShingle Article
Cao, Xiaodong
MacNaughton, Piers
Deng, Zhengyi
Yin, Jie
Zhang, Xi
Allen, Joseph G.
Using Twitter to Better Understand the Spatiotemporal Patterns of Public Sentiment: A Case Study in Massachusetts, USA
title Using Twitter to Better Understand the Spatiotemporal Patterns of Public Sentiment: A Case Study in Massachusetts, USA
title_full Using Twitter to Better Understand the Spatiotemporal Patterns of Public Sentiment: A Case Study in Massachusetts, USA
title_fullStr Using Twitter to Better Understand the Spatiotemporal Patterns of Public Sentiment: A Case Study in Massachusetts, USA
title_full_unstemmed Using Twitter to Better Understand the Spatiotemporal Patterns of Public Sentiment: A Case Study in Massachusetts, USA
title_short Using Twitter to Better Understand the Spatiotemporal Patterns of Public Sentiment: A Case Study in Massachusetts, USA
title_sort using twitter to better understand the spatiotemporal patterns of public sentiment: a case study in massachusetts, usa
topic Article
url https://www.ncbi.nlm.nih.gov/pmc/articles/PMC5858319/
https://www.ncbi.nlm.nih.gov/pubmed/29393869
http://dx.doi.org/10.3390/ijerph15020250
work_keys_str_mv AT caoxiaodong usingtwittertobetterunderstandthespatiotemporalpatternsofpublicsentimentacasestudyinmassachusettsusa
AT macnaughtonpiers usingtwittertobetterunderstandthespatiotemporalpatternsofpublicsentimentacasestudyinmassachusettsusa
AT dengzhengyi usingtwittertobetterunderstandthespatiotemporalpatternsofpublicsentimentacasestudyinmassachusettsusa
AT yinjie usingtwittertobetterunderstandthespatiotemporalpatternsofpublicsentimentacasestudyinmassachusettsusa
AT zhangxi usingtwittertobetterunderstandthespatiotemporalpatternsofpublicsentimentacasestudyinmassachusettsusa
AT allenjosephg usingtwittertobetterunderstandthespatiotemporalpatternsofpublicsentimentacasestudyinmassachusettsusa