{"title":"Examining how customers perceive community pharmacies based on Google maps reviews: Multivariable and sentiment analysis","authors":"Yahya Ali Laghbi , Mohammed Al Dhoayan","doi":"10.1016/j.rcsop.2024.100498","DOIUrl":null,"url":null,"abstract":"<div><h3>Objective</h3><p>This study aims to understand customer perceptions of community pharmacies utilizing publicly available data from Google Maps platform.</p></div><div><h3>Materials and methods</h3><p>Python was used to scrape data with Google Maps APIs. As a result, 17,237 reviews were collected from 512 pharmacies distributed over Riyadh city, Saudi Arabia. Logistic regression was conducted to test the relationships between multiple variables and the given score. In addition, sentiment analysis using VADER (Valence Aware Dictionary for Sentiment Reasoning) model was conducted on written reviews, followed by cross-tabulation and chi-square tests.</p></div><div><h3>Results</h3><p>The Logistic regression model implies that a unit increase in the Pharmacy score enhances the odds of attaining a higher score by approximately 3.734 times. The Mann–Whitney <em>U</em> test showed that a notable and statistically significant difference between “written reviews” and “unwritten reviews” (U = 39,928,072.5, <em>p</em> < 0.001). The Pearson chi-square test generated a value of 2991.315 with 8 degrees of freedom, leading to a <em>p</em> value of 0.000.</p></div><div><h3>Discussion</h3><p>Our study found that the willingness of reviewers to write reviews depends on their perception. This study provides a descriptive analysis of conducted sentiment analysis using VADAR. The chi-square test indicates a significant relationship between rating scores and review sentiments.</p></div><div><h3>Conclusion</h3><p>This study offers valuable findings on customer perception of community pharmacies using a new source of data.</p></div>","PeriodicalId":73003,"journal":{"name":"Exploratory research in clinical and social pharmacy","volume":"15 ","pages":"Article 100498"},"PeriodicalIF":1.8000,"publicationDate":"2024-09-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://www.sciencedirect.com/science/article/pii/S2667276624000957/pdfft?md5=82611992fcf2eb629042786baf84411e&pid=1-s2.0-S2667276624000957-main.pdf","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Exploratory research in clinical and social pharmacy","FirstCategoryId":"1085","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S2667276624000957","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q3","JCRName":"PHARMACOLOGY & PHARMACY","Score":null,"Total":0}
引用次数: 0
Abstract
Objective
This study aims to understand customer perceptions of community pharmacies utilizing publicly available data from Google Maps platform.
Materials and methods
Python was used to scrape data with Google Maps APIs. As a result, 17,237 reviews were collected from 512 pharmacies distributed over Riyadh city, Saudi Arabia. Logistic regression was conducted to test the relationships between multiple variables and the given score. In addition, sentiment analysis using VADER (Valence Aware Dictionary for Sentiment Reasoning) model was conducted on written reviews, followed by cross-tabulation and chi-square tests.
Results
The Logistic regression model implies that a unit increase in the Pharmacy score enhances the odds of attaining a higher score by approximately 3.734 times. The Mann–Whitney U test showed that a notable and statistically significant difference between “written reviews” and “unwritten reviews” (U = 39,928,072.5, p < 0.001). The Pearson chi-square test generated a value of 2991.315 with 8 degrees of freedom, leading to a p value of 0.000.
Discussion
Our study found that the willingness of reviewers to write reviews depends on their perception. This study provides a descriptive analysis of conducted sentiment analysis using VADAR. The chi-square test indicates a significant relationship between rating scores and review sentiments.
Conclusion
This study offers valuable findings on customer perception of community pharmacies using a new source of data.