Research on Resident Behavioral Activities Based on Social Media Data: A Case Study of Four Typical Communities in Beijing
Abstract
:1. Introduction
- (1)
- Utilize the ST-DBSCAN algorithm to identify users’ residential locations from social media data and construct OD data of residents’ daily activities. Apply the BERT model to classify these activities into seven categories.
- (2)
- Explore the spatial-temporal characteristics of the daily activities of residents in the four large residential communities in Beijing through kernel density analysis and statistical analysis. Conduct semantic analysis of activity data using the TD-IDF algorithm.
2. Data and Methods
2.1. Study Area
2.2. Data
Social Media Data
2.3. Method
2.3.1. Extraction of Daily Activities Using the BERT Model
2.3.2. Extraction of Residential Locations Using the ST-DBSCAN Algorithm
2.3.3. Semantic Analysis of Weibo Text Using the TF-IDF Algorithm
3. Results and Analysis
3.1. Overall Characteristics of Resident Activities
- (1)
- Predominance of Dining and Leisure Activities
- (2)
- Activity Range by Activity Type
- (3)
- Community-Level Comparison
3.2. Comparative Analysis of Spatiotemporal Characteristics of Resident Activities
3.2.1. Spatial Distribution Differences of Various Activity Types
- (1)
- Spatial Distribution and Overlap of Activities
- (2)
- Consistency and Clustering in Activity Locations
3.2.2. Temporal Characteristics of Resident Activities
- (1)
- Based on the frequency of residents’ activities, these activities can be categorized into three tiers. Dining and leisure activities have the highest frequency and show significant temporal variation. Learning and fitness activities have moderate frequencies with minor fluctuations over time. Socializing, shopping, and work activities occur less frequently and exhibit relatively stable temporal patterns.
- (2)
- In four residential communities, dining and leisure activities predominate and align temporally with holidays. Dining and leisure activities are the most frequent regardless of weekdays or weekends. Due to their temporal specificity, leisure activities play a predominant role during residents’ weekends. Moreover, dining and leisure activities peak around May and October, aligning with residents’ behavior during and around the “May Day” and “National Day” holidays.
- (3)
- The temporal variations in resident activities exhibit unique characteristics. During weekdays, work activities in the Huilongguan area peak in July. In contrast, the Shangdi community experiences significant fluctuations in activity times, with a notably higher frequency of learning and fitness activities, distinguishing it from other communities. On weekends, dining activities among Tiantongyuan residents show a declining trend in November, contrary to the rising trend observed in other communities.
3.3. Semantic Analysis of Residents’ Activity Weibo Posts
- (1)
- Strong Correlation Between Community Residents’ Activity Types and Surrounding Built Environment.
- (2)
- The diversity and differences in residents’ daily activities are significantly influenced by the comprehensive characteristics of their communities and are strongly associated with the attributes of the residents.
4. Discussion
4.1. The Reasons for Differences in Community Residents’ Activities
4.1.1. Differences in Community Positioning and Built Environment
4.1.2. Differences in Community Resident Attributes
4.2. Policy Implications
5. Conclusions
- (1)
- In the spatial dimension, residents’ daily activities are primarily centered around dining and leisure activities. These activities are centered around residential areas and radiate towards the northern part of the central urban area. Additionally, there is spatial overlap between residents’ shopping and working locations. Based on the type of residential community, mixed-use large communities exhibit more concentrated spatial distributions of shopping and working locations compared to purely residential large communities.
- (2)
- In the temporal dimension, resident activities exhibit a notable uniformity, largely unaffected by community type or resident attributes, resulting in minimal differences between different communities. The temporal variations in resident activities within the same type of community show significant similarities based on the nature of the community. While there are substantial monthly variations in the quantity of resident activities, the periods of highest activity intensity correspond with major holidays.
- (3)
- In the semantic dimension, firstly, the types of activities that community residents engage in and their choice of locations are closely related to the surrounding built environment. For example, in the case of fitness activities, residents of Tiantongyuan and Huilongguan tend to choose nearby and cost-effective options such as forest parks. In contrast, Wangjing, with its numerous golf courses, sees a higher frequency of golf-related mentions in fitness activities. Secondly, the diversity and variation in residents’ daily activities are influenced by the comprehensive characteristics of their communities. Residents of Tiantongyuan exhibit a strong enthusiasm for fan activities, showing a notable interest in celebrity-endorsed products during social and shopping activities, which reflects their relatively younger demographic. In contrast, residents of Wangjing are closely linked to their workplaces, with social activities often centered around Wangjing SOHO and involving colleagues, emphasizing team-building activities.
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Conflicts of Interest
References
- Yu, M. Beijing Seventh National Population Census Bulletin (No. 3); Beijing Statistics: Beijing, China, 2021. Available online: http://www.beijing.gov.cn/gongkai/shuju/sjjd/202105/t20210519_2392888.html (accessed on 20 December 2023).
- Zhu, Y. Beijing Urban Master Plan (2016–2035); Beijing Daily: Beijing, China, 2017. Available online: http://www.gov.cn/xinwen/2017-09/30/content_5228705.html (accessed on 5 April 2023).
- Planning Department. The Fourteenth Five-Year Plan for National Economic and Social Development and the Long-Term Goals for 2035 of Beijing; National Development and Reform Commission of the People’s Republic of China: Beijing, China, 2021. Available online: https://www.ndrc.gov.cn/fggz/fzzlgh/dffzgh/202103/t20210331_1271321.html?code=&state=123 (accessed on 6 June 2023).
- Weijing, Z.; De, W. Urban space study based on the temporal characteristics of residents’ behavior. Prog. Geogr. 2018, 37, 1106–1118. [Google Scholar]
- Clark, C. Urban population densities. J. R. Stat. Soc. Ser. A 1951, 114, 490–496. [Google Scholar] [CrossRef]
- Gu, J.; Qi, L.; Zhou, S.; Yan, X. Origins and review of urban time-space structure studies. World Reg. Stud. 2016, 25, 69–79. [Google Scholar]
- Bin, M.; Huili, Y.; Limin, Z. A comparative study on the commuting behavior of residents in large residential areas in Beijing—Take Wangjing and Tiantongyuan residential area as examples. Geogr. Res. 2012, 31, 2069–2079. [Google Scholar]
- Rui, X.; Tinghua, A.; Wei, Y.; Tao, F. Spatial Voronoi partitioning algorithm and OD flow visualization analysis considering the distribution density of taxi OD points. J. Geo-Inf. Sci. 2015, 17, 1187–1195. [Google Scholar]
- Le, T.; Binjie, C.; Zhiguang, Z. Overview of visual analysis of OD data. J. Comput. Aided Des. Comput. Graph. 2021, 33, 1160–1171. [Google Scholar]
- Jiansu, P.; Huamin, J.; Mingxuan, N. Visualization of movement trajectory data. J. Comput. Aided Des. Comput. Graph. 2012, 24, 1273–1282. [Google Scholar]
- Tao, F.; Wu, J.; Lin, S.; Lv, Y.; Wang, Y.; Zhou, T. Revealing the impact of COVID-19 on urban residential travel structure based on floating Car trajectory data: A case study of nantong, China. ISPRS Int. J. Geo-Inf. 2023, 12, 55. [Google Scholar] [CrossRef]
- Guo, X.; Xu, Z.; Zhang, J.; Lu, J.; Zhang, H. An OD flow clustering method based on vector constraints: A case study for Beijing taxi origin-destination data. ISPRS Int. J. Geo-Inf. 2020, 9, 128. [Google Scholar] [CrossRef]
- Zhang, Y.; Sun, K.; Wen, D.; Chen, D.; Lv, H.; Zhang, Q. Deep Learning for Metro Short-Term Origin-Destination Passenger Flow Forecasting Considering Section Capacity Utilization Ratio. IEEE Trans. Intell. Transp. Syst. 2023, 24, 7943–7960. [Google Scholar] [CrossRef]
- Luo, C.; Cai, R.; Guo, H.; Luo, S.; Mao, R.; Jiang, L.; Zhang, D. MG-ASTN: Multi-Graph Framework with Attentive Spatial-Temporal Networks for Crowd Mobility Prediction. IEEE Internet Things J. 2023, 10, 19054–19061. [Google Scholar] [CrossRef]
- Lishan, S.; Lin, J.; Zhonghua, W.; Junfeng, L. Demand forecasting of taxi travel based on GPS data. J. Transp. Inf. Saf. 2021, 39, 128–136. [Google Scholar]
- Wang, H.; Zhang, Z.; Fan, Z.; Chen, J.; Zhang, L.; Shibasaki, R.; Song, X. Multi-Task Weakly Supervised Learning for Origin-Destination Travel Time Estimation. IEEE Trans. Knowl. Data Eng. 2023, 35, 11628–11641. [Google Scholar] [CrossRef]
- Wenda, H.; Yubo, T.; Ke, Q.; Hai, L. Visual Analysis of Group Behavior Based on Origin-Destination Data. J. Comput. Aided Des. Comput. Graph. 2018, 30, 1023–1033. [Google Scholar]
- Qiong, L.; Hong, S.; Yajin, X.; Wen, L. Citizen Commuting Analysis Using Mobile Trajectory Data. Geomat. Inf. Sci. Wuhan Univ. 2021, 46, 718–725. [Google Scholar]
- Xiao, Q.; Feng, Z.; Lifang, X.; Shoujia, Z. Research methods of urban spatiotemporal behavior in the era of big data. Prog. Geogr. 2013, 32, 1352–1361. [Google Scholar]
- Zhang, F.; Zhou, B.; Liu, L.; Liu, Y.; Fung, H.H.; Lin, H.; Ratti, C. Measuring human perceptions of a large-scale urban region using machine learning. Landsc. Urban Plan. 2018, 180, 148–160. [Google Scholar] [CrossRef]
- Wang, B.; Meng, B.; Wang, J.; Chen, S.; Liu, J. Perceiving Residents’ Festival Activities Based on Social Media Data: A Case Study in Beijing, China. ISPRS Int. J. Geo-Inf. 2021, 10, 474. [Google Scholar] [CrossRef]
- Sicong, Z.; Shanqi, Z.; Feng, Z. Measurement of community daily activity space and influencing factors of vitality based on residents’ spatiotemporal behavior: Taking Shazhou and Nanyuan streets in Nanjing as examples. Prog. Geogr. 2021, 40, 580–596. [Google Scholar]
- Beijing Infinite Forward Technology Co., Ltd. Talking Data: Observation Report on Travel in Large Beijing Communitie; Beijing Infinite Forward Technology Co., Ltd.: Beijing, China, 2017. [Google Scholar]
- Sina Weibo Data Center. 2020 Weibo User Development Report; Weibo Corporation: Beijing, China, 2021. [Google Scholar]
- Marti, P.; Serrano-Estrada, L.; Nolasco-Cirugeda, A. Social Media data: Challenges, opportunities and limitations in urban studies. Comput. Environ. Urban Syst. 2019, 74, 161–174. [Google Scholar] [CrossRef]
- Liu, Y.; Yuan, Y.H.; Zhang, F. Mining urban perceptions from social media data. J. Spat. Int. Sci. 2020, 20, 51–55. [Google Scholar] [CrossRef]
- Yandong, W.; Hao, L.; Teng, W.; Zhu, J. The Mining and Analysis of Emergency Information Sudden Events Based on Social Media. Geomat. Inf. Sci. Wuhan Univ. 2016, 41, 290–297. [Google Scholar]
- Cao, G.; Wang, S.; Hwang, M.; Padmanabhan, A.; Zhang, Z.; Soltani, K. A scalable framework for spatiotemporal analysis of location-based social media data. Comput. Environ. Urban Syst. 2015, 51, 70–82. [Google Scholar] [CrossRef]
- Liu, X.; Huang, Q.; Gao, S.; Xia, J. Activity knowledge discovery: Detecting collective and individual activities with digital footprints and open source geographic data. Comput. Environ. Urban Syst. 2021, 85, 101551. [Google Scholar] [CrossRef]
- Zipei, X. Big Data and Its Cause of Formation. Sci. Society. 2014, 4, 14–26. [Google Scholar]
- Devlin, J.; Chang, M.W.; Lee, K.; Toutanova, K. Bert: Pre-training of deep bidirectional transformers for language understanding. arXiv 2018, arXiv:1810.04805. [Google Scholar]
- Kai, J. Social Media Mining and Application with Geographic Location Information; University of Science and Technology of China: Hefei, China, 2014. [Google Scholar]
- Liu, J.; Meng, B.; Wang, J.; Chen, S.; Tian, B.; Zhi, G. Exploring the Spatiotemporal Patterns of Residents’ Daily Activities Using Text-Based Social Media Data: A Case Study of Beijing, China. ISPRS Int. J. Geo-Inf. 2021, 10, 389. [Google Scholar] [CrossRef]
- Driver, H.E.; Kroeber, A.L. Quantitative Expression of Cultural Relationships; University of California Press: Berkeley, CA, USA, 1932. [Google Scholar]
- Tryon, R.C. Cluster Analysis; Edwards Brothers: Ann Arbor, MI, USA, 1939. [Google Scholar]
- Cambe, J.; Grauwin, S.; Flandrin, P.; Jensen, P. A new clustering method to explore the dynamics of research communities. Scientometrics 2022, 127, 4459–4482. [Google Scholar] [CrossRef]
- Lukauskas, M.; Ruzgas, T. A New Clustering Method Based on the Inversion Formula. Mathematics 2022, 10, 2559. [Google Scholar] [CrossRef]
- Ester, M.; Kriegel, H.P.; Sander, J.; Xu, X. A density-based algorithm for discovering clusters in large spatial databases with noise. In Proceedings of the Second International Conference on Knowledge Discovery and Data Mining, Portland, OR, USA, 2–4 August 1996; Volume 96, pp. 226–231. [Google Scholar]
- Aoying, Z.; Shuigeng, Z. Approaches for scaling DBSCAN algorithm to large spatial database. J. Comput. Sci. Technol. 2000, 15, 509–526. [Google Scholar]
- Bo, C.; Berchtold, S.; Kriegel, H.-P.; Michel, U. Multidimensional index structures in relational databases. J. Intell. Inf. Syst. 2000, 15, 51–70. [Google Scholar]
- Salton, G. The SMART Retrieval System—Experiments in Automatic Document Processing; Prentice-Hall Inc.: Saddle River, NJ, USA, 1971. [Google Scholar]
- Sparck Jones, K. A statistical interpretation of term specificity and its application in retrieval. J. Doc. 1972, 28, 11–21. [Google Scholar] [CrossRef]
- Jones, K.S. Index term weighting. Inf. Storage Retr. 1973, 9, 619–633. [Google Scholar] [CrossRef]
- Birant, D.; Kut, A. ST-DBSCAN: An algorithm for clustering spatial–temporal data. Data Knowl. Eng. 2007, 60, 208–221. [Google Scholar] [CrossRef]
- Xu, P.; Li, X.; Hui, Y.; Zhang, G. Research and implementation of Chinese text classification related algorithms. J. Jinlin Univ. 2009, 47, 790–794. [Google Scholar]
Population (Ten Thousand People) | Area (km2) | Residents (Persons) | Number of Activities (Items) | |
---|---|---|---|---|
Tiantongyuan | 25.92 | 7.47 | 600 | 3741 |
Huilongguan | 50.64 | 21.69 | 1303 | 12,095 |
Wangjing | 14.62 | 14.40 | 853 | 5987 |
Shangdi | 6.71 | 9.52 | 288 | 2288 |
Community | Socializing | Dining | Leisure | Shopping | Studying | Exercising | Working |
---|---|---|---|---|---|---|---|
Huilongguan | 4.04% | 28.29% | 34.07% | 4.38% | 13.07% | 10.53% | 5.61% |
Tiantongyuan | 4.04% | 29.89% | 36.92% | 3.77% | 12.94% | 8.07% | 4.38% |
Wangjing | 4.89% | 28.78% | 39.24% | 2.96% | 11.24% | 9.47% | 3.42% |
Shangdi | 3.67% | 21.33% | 31.08% | 2.27% | 22.42% | 16.08% | 3.15% |
Community | Activities Type | High-Frequency Words |
---|---|---|
Tiantongyuan | Socializing | Wedding, eating, attending, gathering, thank, small gathering, get together, friends |
Dining | Eating, Tiantongyuan, delicious, restaurant, eating, check-in, taste, hot pot | |
Leisure | Tiantongyuan, movie, check-in, weekend, play, Dongyuan, eating, take photos | |
Shopping | Buying, eating, supermarket, Tiantongyuan, clothes, shopping, splurge | |
Studying | Postgraduate entrance exam, Beijing Institute of Fashion Technology, art, study, Tiantongyuan, 2020, exam, exam questions | |
Exercising | Fitness, Tiantongyuan, exercise, check-in, running, ACE, jogging, losing weight | |
Working | Work, overtime, going to work, Tiantongyuan, effort, interview, weekend | |
Huilongguan | Socializing | Eating, Huilongguan, dinner, friends, classmates, drinking, received, wedding |
Dining | Eating, delicious, Huilongguan, taste, breakfast, hot pot, meal, restaurant | |
Leisure | Huilongguan, eating, weekend, movie, check-in, play, drink, holiday | |
Shopping | Buying, eating, Huilongguan, supermarket, clothes, shopping, store | |
Studying | Study, exam, Huilongguan, class, North China Electric Power University, IELTS, class, write | |
Exercising | Check-in, running, Huilongguan, lap, swimming, jogging, fitness, exercise | |
Working | Overtime, work, working, Huilongguan, writing, interview, Zhongguancun | |
Wangjing | Socializing | Team building, Wangjing, get together, friends, received, gift, eating, dinner |
Dining | Eating, Wangjing, delicious, gourmet, restaurant, hot pot, taste, breakfast | |
Leisure | Wangjing, eating, Guoan, drinking, weekend, official, taking photos, movie | |
Shopping | Buying, eating, Wangjing, shopping, drinking, delicious, buying, cheap | |
Studying | Study, Central Academy of Fine Arts, Wangjing, graduation, exam, writing, attend class | |
Exercising | Exercise, Wangjing, running, check-in, effort, change, golf, desire | |
Working | Work, overtime, Wangjing, tattoo, working, interview, off work, weekend | |
Shangdi | Socializing | Chenxing, theater club, eating, gathering, Beijing Sport University, received, gift, friends |
Dining | Eating, delicious, Beijing Sport University, check-in, taste, breakfast, canteen, sticker | |
Leisure | Beijing Sport University, taking photos, eating, check-in, weekend, second, holiday, play | |
Shopping | Buying, shopping, eating, store, bought, every day, Beijing Sport University, BHGMall | |
Studying | Beijing Sport University, study, exam, library, graduation, bar exam, class, attend class | |
Exercising | Beijing Sport University, running, fitness, check-in, training, jogging, leg, swimming | |
Working | Work, overtime, effort, working, interview, writing, code |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2024 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 (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Ou, Z.; Wang, B.; Meng, B.; Shi, C.; Zhan, D. Research on Resident Behavioral Activities Based on Social Media Data: A Case Study of Four Typical Communities in Beijing. Information 2024, 15, 392. https://doi.org/10.3390/info15070392
Ou Z, Wang B, Meng B, Shi C, Zhan D. Research on Resident Behavioral Activities Based on Social Media Data: A Case Study of Four Typical Communities in Beijing. Information. 2024; 15(7):392. https://doi.org/10.3390/info15070392
Chicago/Turabian StyleOu, Zhiyuan, Bingqing Wang, Bin Meng, Changsheng Shi, and Dongsheng Zhan. 2024. "Research on Resident Behavioral Activities Based on Social Media Data: A Case Study of Four Typical Communities in Beijing" Information 15, no. 7: 392. https://doi.org/10.3390/info15070392
APA StyleOu, Z., Wang, B., Meng, B., Shi, C., & Zhan, D. (2024). Research on Resident Behavioral Activities Based on Social Media Data: A Case Study of Four Typical Communities in Beijing. Information, 15(7), 392. https://doi.org/10.3390/info15070392