Elevated and prolonged exposure to extreme heat is an important cause of excess summertime mortality and morbidity. To protect people from health threats, some governments are currently operating syndromic surveillance systems. However, A lack of resources to support time- and labor- intensive diagnostic and reporting processes make it difficult establishing region-specific surveillance systems. Big data created by social media and web search may improve upon the current syndromic surveillance systems by directly capturing people’s individual and subjective thoughts and feelings during heat waves. This study aims to investigate the relationship between heat-related web searches, social media messages, and heat-related health outcomes.
We collected Twitter messages that mentioned “air conditioning (AC)” and “heat” and Google search data that included weather, medical, recreational, and adaptation information from May 7 to November 3, 2014, focusing on the state of Florida, U.S. We separately associated web data against two different sources of health outcomes (emergency department (ED) and hospital admissions) and five disease categories (cardiovascular disease, dehydration, heat-related illness, renal disease, and respiratory disease). Seasonal and subseasonal temporal cycles were controlled using autoregressive moving average-generalized autoregressive conditional heteroscedasticity (ARMA-GARCH) and generalized linear model (GLM).
The results show that the number of heat-related illness and dehydration cases exhibited a significant positive relationship with web data. Specifically, heat-related illness cases showed positive associations with messages (heat, AC) and web searches (drink, heat stroke, park, swim, and tired). In addition, terms such as park, pool, swim, and water tended to show a consistent positive relationship with dehydration cases. However, we found inconsistent relationships between renal illness and web data. Web data also did not improve the models for cardiovascular and respiratory illness cases.
Our findings suggest web data created by social medias and search engines could improve the current syndromic surveillance systems. In particular, heat-related illness and dehydration cases were positively related with web data. This paper also shows that activity patterns for reducing heat stress are associated with several health outcomes. Based on the results, we believe web data could benefit both regions without the systems and persistently hot and humid climates where excess heat early warning systems may be less effective.
Elevated and prolonged exposure to extreme heat is an important cause of excess summertime mortality and morbidity. During the European heat wave in 2003, large increases of excess mortality and morbidity were reported in England [1, 2], Netherlands , France [4,5,6], Italy , Switzerland , and Spain . Many other articles have also discussed the negative impact of extreme heat events on public health [10,11,12,13,14].
There are multiple societal and environmental processes that produce variations in extreme heat resilience. First, behavioral patterns or habits could increase the risk of heat-related health problems. For example, Kilbourne et al.  showed that reducing physical activities and drinking extra liquid during heat waves can decrease the risk of heatstroke. Many studies also suggested that opening windows or using air conditioning can reduce the severity of heat-related morbidity [16,17,18,19,20].
Second, multiple studies suggest physiological adaptation (acclimatization) increases heat exposure tolerance. Acclimatization can be defined as the human body’s increased ability to cope with heat stress due to previous heat exposure . When exposed to heat, the body’s renal and cardiovascular systems improve sodium retention, increase renal glomerular filtration rate, and enhance cardiovascular performance to tolerate the excessive heat [22, 23]. Third, demographic (e.g. age, sex, race), socioeconomic (e.g. deprivation), and institutional factors (e.g. energy assistance program) influence personal heat vulnerability [24,25,26,27].
The U.S. Centers for Disease Control and Prevention (CDC) initiated BioSense in late 2003 to support early detection of emerging public health threats across the nation . Many states, counties (e.g. Miami-Dade, FL; San Diego County, CA; Santa Clara, CA), and cities (e.g. New York City, Boston, Washington, D.C.) currently run syndromic surveillance systems . Another syndromic surveillance system, called Electronic Surveillance System for the Early Notification of Community-based Epidemics (ESSENCE), now monitors more than 300 military treatment facilities worldwide . The barriers to establishing syndromic surveillance systems include a lack of resources to support time- and labor-intensive diagnostic and reporting processes, delay of official government data and results, and complexed or expensive procedures to gather health data from various sources, etc. [31, 32].
Social Network Services (SNSs) may improve upon the current syndromic surveillance systems by directly capturing people’s individual and subjective thoughts and feelings during heat waves. Some articles investigated how SNSs may reflect extreme heat sentiments. Austin  and Baylis  found a negative relationship between heat exposure and tweets containing mood-related keywords. This relationship was further refined and studied by Jung and Uejio  by focusing on theme-specific-tweets containing “AC” and “heat.” They found a strong positive association between temperature and tweets in Atlanta, Los Angeles, and New York City. Collectively, the papers suggest that SNSs could help jurisdictions without syndromic surveillance systems by providing accessible and cost-effective real-time data. Based on these advantages, SNSs may be helpful for both regions without these systems and persistently hot and humid climates where excess heat early warning systems may be less effective.
The goal of this study is to examine the relationship between social media messages/web search results and health outcomes, and ultimately improve upon models that only consider temperature. We hypothesized that more frequent Twitter tweets or Google search results discussing heat-related keywords are positively associated with health outcomes. These relationships were investigated with ARMA-GARCH and GLMs to control for seasonal and subseasonal trends in the data.
We selected five counties in Florida, U.S. with the largest number of total validated Twitter tweets collected from the summer of 2014 (Fig. 1). There were 3991 (Miami-Dade), 2575 (Orange), 1549 (Hillsborough), 831 (Duval), and 556 (Leon) tweets. Additional file 1: Table S1 briefly summarizes the demographic characteristics of each county in 2014 using data from the U.S. Census Bureau’s American Community Survey . Miami-Dade County is the most populated while Leon County is the least populated study area county. The median ages of the five counties range from 30.3 (Leon) to 39.4 (Miami-Dade). Miami-Dade and Duval County have the highest percentage of people over age 65 and people under 5 years old respectively. The proportion of females tends to be higher than males throughout the five counties. In terms of race, Anglo Americans represent from 61.8 (Duval) to 78.0% (Miami-Dade) and African Americans from 17.5 (Hillsborough) to 31.5% (Leon) of the population. Except for Miami-Dade County (66.6%), Hispanics comprise less than 30% of the population in the remaining counties.
Data and analysis
Twitter is a SNS focusing on text-based messages to communicate with other people. Users can post their feelings, thoughts, and any information up to 140 characters in length (280 characters after 11/2017) in each tweet. They can also redistribute other users’ tweets (i.e. retweet or RT), follow and/or be followed by other users. Followers who subscribe to others’ Twitter accounts can receive all their messages in real time. The user base is currently expanding from individuals to companies, associations, and governments. More than 300 million people actively use the service worldwide.
We respectively accessed the Twitter Search and Streaming Application Programming Interface (API) using the twitteR and streamR packages provided in the R statistical computing and analysis program . We collected tweets for 181 days from May 7 to November 3, 2014. The data from the period June 8 to 10, September 14 to 20, and October 9 were missing due to technical problems.
We constructed two themes from Twitter; AC and heat. Table 1 describes the 3 and 42 Twitter keywords that respectively comprise the AC and heat themes. AC is one of the most effective and widespread measures to adapt to heat exposure and mitigate negative health impacts [38,39,40,41,42]. We explored possible keywords from historical tweets using the Twitter Search API. Through this process, we developed a “heat” theme that contained “heat” plus another term such as a place (e.g. car, home, office, school), time (e.g. May, summer), symptoms (e.g. heat exhaustion, heatstroke, hyperthermia, and sunstroke), adjective (e.g. unbearable, dry), a related noun (e.g. warning, watch) or a pronoun (e.g. this). We also considered possible typographic errors (e.g. heet, sun-strok). More detailed information on data collection procedures can be found in Jung and Uejio .
Google search data can provide complementary information to Twitter. While Twitter data are only freely accessible over the preceding seven days (Twitter Search API) or in real time (Twitter Streaming API), the Google search website provides historic search data from 2004 to present on a daily or weekly basis. However, Google only reports a relative search popularity index. Regardless of the total number of searches, every keyword’s popularity is relatively rescaled to an index that ranges from 0 to 100. This makes it difficult to directly compare keywords’ relative importance. This procedure could be problematic for less common search keywords with a larger search volume variation.
In terms of spatial resolution, Google search reports search volumes at the aggregated data and marketing association commercial boundary level (Additional file 1: Figure S1). This differs from Twitter which either reports a user’s exact location (i.e. latitude and longitude) or general city of origin. In this study, we used five commercial areas which encompass Duval (Duval County), Leon & Panama City (Leon County), Miami-Dade & Ft. Lauderdale (Miami-Dade County), Orlando & Daytona Beach & Melbourne (Orange County), and Tampa & St. Petersburg (Hillsborough County).
We collected Google search data using the gtrendsR package provided in the R statistical computing and analysis program. This package provided the interface for retrieving and displaying the Google search results. For this research, we collected daily Google search volumes for 181 days from May 7 to November 3, 2014. Each Google search term’s volumes were automatically rescaled with a value from 0 to 100.
In general, people use search engines (e.g. Google) to obtain information rather than to express their feelings or thoughts. We, thus, separately selected 11 specific Google search themes which include AC repair, beer, drink, heat exhaustion, heat stroke, hot weather, park, pool, swim, tired, and water. In this process, we chose themes which are related to weather, health, recreational information, and adaption method. The recreational information corresponds to previous studies of heat risk factors. Staying hydrated (“drink” and “water”) decreases while alcohol consumption (“beer” and “drink”) increases the risk of heat-related illnesses [43,44,45]. Moving to a cooler environment can ameliorate heat stress . We also selected “park,” “pool,” and “swim” which are commonly used to adapt to extreme heat [47,48,49]. In addition, adaptation method focused on “AC repair.” AC is generally regarded as one of the most important adaptions during heat waves [38,39,40,41,42]. Thus, a total of 13 terms (2 themes from Twitter and 11 themes from Google) were used to find the relationship between web data and health outcomes.
To examine excessive heat, we used daily observation data, Global Summary of the Day, provided by the US National Oceanic and Atmospheric Administration National Centers for Environmental Information. We selected all weather stations within each research area that missed less than 10% of observations over the study period. Next, we created a research-area-wide average of temperature (maximum, minimum, average) and humidity. We also created a discomfort index (DI) from temperature and relative humidity using Eq. (1) .
Where T is the air temperature (°C) and RH is the relative humidity (%). After sensitivity testing, we selected maximum temperature for the principal metric, which tended to have the best model fit with health data (lowest Akaike information criterion (AIC)). The descriptive summary of weather conditions and AICs for each research area is tabulated in Additional file 1: Table S2.
ED and hospitalization data were collected by the Florida Agency for Health Care Administration (AHCA). AHCA is Florida’s principal health policy and planning agency that manages Medicaid, health care facility licensing, and distribution of health care data. We selected five broad heat sensitive disease or symptom classes from the International Classification of Diseases Clinical Modification (ICD-CM, 9th revision): cardiovascular disease (390–459), dehydration (276.51), heat-related illness (992), renal disease (5845–5849), and respiratory disease (460–466, 470–496, 510–519) [11, 51, 52]. The records report a patient’s primary diagnoses, demographics, and billing information (e.g. ZIP Code). In this study, we separately analyze ED and hospitalization counts due to their different weekly and seasonal cycles.
Twitter data preprocessing
We briefly summarize the data preprocessing and validation steps that are outlined in detail in Jung and Uejio . Preprocessing removed all retweets, irrelevant tweets, and tweets posted by users who used the same keywords more than 10 times (to avoid possible advertisements) in the research period. After this process, the proportion of relevant heat-related tweets was 89.5% for the AC and heat themes. We then accessed or inferred the spatial location of each tweet at the county-level analysis. Each tweet’s metadata had specific and general spatial data with different strengths and weaknesses. Only 4 to 6% of tweets reported the user’s precise latitude and longitude (e.g. 30.418842, − 84.268449). On the other hand, approximately 70% of all tweets contained a more uncertain self-reported location field (e.g. Tallahassee, Florida). To maximize data availability, we assigned the city’s geographic center to meaningful location fields. We verified the accuracy of this process by measuring the Euclidean distance between the inferred city center and specific latitude and longitude for the subset of tweets that contained both pieces of information. Previous validation effort found almost 80% of the tweets were made within 100 km of the user’s location field .
First, exploratory Pearson’s correlation coefficients were used to check for potential multicollinearity between maximum temperature and Twitter and Google search volumes. In a statistical model, very strong multicolinearity may inflate the beta coefficient variance and even change the signs of the coefficient. Second, the analysis used two types of statistical models, ARMA-GARCH and GLMs. The analysis initially used GLMs with the appropriate statistical distribution families. If the model exhibited any significant residual temporal autocorrelation, we used ARMA-GARCH models to control unexplained autocorrelation. Conventional autocorrelation (ACF) and partial autocorrelation functions (PACF) were tested for significant residual autocorrelation.
Separate statistical models analyzed each health outcome category as a dependent variable (i.e. cardiovascular disease, dehydration, heat-related illness, renal disease, and respiratory disease); the day of week, maximum temperature, and web data were independent variables. In the analysis, we compared three increasingly complex statistical models. The initial or null model only considered the day of week. The second model added maximum temperature to the first model. The third group of models separately added one web search term to the second model. We used AIC to compare the model performance.
GLMs are a generalization of ordinary least squares regression. They can flexibly analyze dependent variables following different statistical distributions using a range of statistical families and link functions. We used three GLM models depending on the distribution of health outcomes: Gaussian, negative binomial, and logit. The Gaussian distribution uses an identity link function. The negative binomial distribution and 1/x link function models overdispersed counts (variance > mean). Lastly, logistic regression using logit link models examines a binary dependent variable. Most of the case counts followed normal or negative binomial statistical distributions. Relatively rare health outcomes such as heat-related illness were reclassified into days with one or more versus no cases and analyzed with logistic regression.
ARIMA (m, d, n) is a time series model that is usually used to forecast future values based on a linear relationship with past values . The model considers the process of autoregressive order m, the degree of differencing d, and moving average order n. We added exogenous explanatory variables in this model, which is called ARIMAX, to find the relationship between dependent variable (health outcome) and exogenous variables (temperature and web data). This model assumes constant mean (stationarity) and variance (homoscedasticity) of data. In addition, the residuals are also expected to be randomly distributed with a mean of zero, constant variance, and follow a normal distribution.
ARMA-GARCH (p, q) is a more flexible time series model used to measure non-constant health outcome variance and unexplained autocorrelation . We modeled the mean equation with an ARMA process and the variance equation with a GARCH process where P is the autoregressive and q the moving average order. We also added exogenous explanatory variables in this model to find the association between dependent variable (health outcome) and exogenous variables (temperature and web data). The GARCH model uses a non-constant conditional variance (heteroscedasticity) which reverts back to a constant unconditional variance (homoscedasticity). The conditional variance is explicitly modeled using the squared values of preceding observations and variances .
To identify and select the best model, we first used 1) a time series plot, 2) ACF and PACF of the data, and 3) ACF and PACF of the squared data. Next, we tested and compared the model fit (AICs) of all possible models up to four orders of AR and MA. If the models had similar goodness of fit (AICs difference < 1, or area under the receiver operating characteristics curve [AUC] < 0.01), we selected the most parsimonious model. In a similar vein if the AICs difference between models were higher than 1, we considered it as model improvement. Lastly, we rechecked the statistical assumptions of the final model such as 1) no autocorrelations of the residuals (ACF/PACF) and 2) standardized residuals tests.
Table 2 summarizes the demographic characteristics of each county’s cases. Similar to each county’s population size, Miami-Dade County had the highest number of patients and Leon County had the lowest. Among the five study counties, cardiovascular disease was the most common illness, followed by respiratory, renal, dehydration, and heat-related illness. Respiratory disease and heat-related illness had more ED than hospitalization cases while the reverse was true for dehydration and renal disease. Cardiovascular disease had a similar number of ED and hospitalization cases. In terms of age, hospitalized patients tended to be older than ED patients for all health outcomes. The median age of respiratory disease, heat-related illness, and dehydration ED patients was between 20 and 30 years old, whereas the median cardiovascular and renal disease patient age was > 50. We found a disproportionate disease burden by sex for some disease categories. There were proportionately more male than female heat-related illness and renal disease cases while the opposite was true for cardiovascular disease, respiratory disease, and dehydration. We also compared the patient demographics to countywide demographics from the 2014 U.S. census . In terms of race, we found proportionately more African-Americans and fewer Anglo Americans ED and hospitalization cases compared to their population size. This trend was especially apparent in cardiovascular, respiratory, renal, and heat-related illness ED cases.
Exploratory linear regression investigated potential multicollinearity between maximum temperature and web keywords (Additional file 1: Figure S2). The overall mean Pearson Coefficient was 0.35 (0.02 ~ 0.57) for heat and 0.34 (0.18 ~ 0.50) for AC. Nearly all Twitter keywords were significantly related (p < 0.05) to maximum temperature for all study counties except Miami-Dade County. We suspect “heat” tweets in the county might contain non-relevant reference to the Miami Heat professional basketball team. For example, some ambiguous tweets could refer either to the weather or the professional basketball team (e.g. heat!). In addition, the concurrent day’s maximum temperature exhibited the strongest relationship to Twitter data than temperature over the preceding three days. As the temporal lag increased, the Pearson’s correlation coefficient correspondingly decreased, and p-value increased.
For Google search keywords, the pool and tired keywords show the highest and lowest overall mean Pearson’s correlation coefficient corresponding to 0.34 and 0.05. Several Google search keywords such as park, pool, swim, and water were significantly related with maximum temperature in at least four out of five counties at the p < 0.05 level. Other keywords including AC repair, heat exhaustion, and heat stroke were also significantly associated in two or three out of five counties. On the other hand, beer and tired were insignificantly related. While there were some significant associations between web data and maximum temperature, the consistency of the association for both Twitter and Google, < 0.60 Pearson correlation coefficient, suggests multicollinearity would not be problematic.
We first analyzed the relationship between heat-related illness and web data using a GLM (logit family, binary link function) due to the small number of cases. We tested three different models to see how additional independent variables improved model fit: the initial model (days of week), the second model (days of week and maximum temperature), and the third group of models (days of week, maximum temperature, and one web data term). In almost all models, heat-related illness cases didn’t exhibit a weekly cycle (Additional file 1: Table S3, S4). Only hospitalization cases in Orange showed a weak weekly cycle, having more patients on Thursday compared to Tuesday. Not surprisingly, including maximum temperature significantly improved model performance in all five counties for both ED and hospitalizations. Hillsborough County exhibited the largest AUC improvement 0.53 to 0.79 while Miami-Dade County showed the smallest from 0.67 to 0.75. Correspondingly, AICs also significantly decreased after adding maximum temperature in the model, ranging from 15.81 (Miami-Dade) to 48.15 (Duval). Heat-related illness cases tended to be significantly and positively related to the maximum temperature at the p < 0.05 level. The odds ratios of maximum temperature for both ED and hospitalization cases ranged from 1.19 to 1.52, which means one unit change in maximum temperature increased the odds of a heat-related illness by 19 to 52%.
Adding one of web data (up to 3 lag days) term modestly improved model fit (Fig. 2). At lag 0, multiple keywords including AC, beer, drink, heat exhaustion, heat stroke, hot weather, pool, swim, and tired for ED and AC, drink, heat, heat exhaustion, heat stroke, hot weather, and park for hospitalizations showed model improvement (AICs difference > 1). The largest AICs decrease was 6.17 for ED and 8.91 for hospitalizations. In particular, AC, beer, and heat stroke for ED and heat and park for hospitalization improved the models in two out of five counties. At lags 1 to 3, we also observed model improvement from AC, AC repair, drink, heat, heat exhaustion, heat stroke, hot weather, pool, swim, tired, and water for ED and AC, AC repair, beer, drink, heat exhaustion, heat stroke, park, pool, swim, and water for hospitalizations. To provide more detail, heat exhaustion and hot weather improved ED models in four out of five counties. Drink, heat stroke, and pool also improved ED models in two out of five counties. On the other hand, AC repair and park improved hospitalization models in three out of five counties. AICs decreased up to 5.89 for ED and 8.74 for hospitalization after adding one lagged web data term to the model. More details can be found from Additional file 1: Tables S5 and S6.
To succinctly illustrate web search and health outcome relationships, Fig. 3 reports the direction of the significant beta coefficients (i.e. plus or minus). Overall, the web search relationships were consistent across the five counties. Heat-related illness cases showed positive associations with most of the search terms (heat, AC, drink, heat stroke, park, swim, and tired) at lag 0. We also found positive relationships between the preceding day(s) search terms for heat, AC, AC repair, beer, drink, park, pool, swim, and water and heat-related illness. Notably, AC, drink, park, and swim had positive relationships with the number of heat-related illness cases in three out of five study counties. The odds ratio of AC at lag 0 was 1.49 (95% confidence interval (CI): 1.04, 2.13) for Duval County and 1.35 (95% CI: 1.08, 1.68) for Hillsborough County. The search term drink had relatively low odds ratios: Leon County (1.03, 95% CI: 1.00, 1.06) and Miami-Dade County (1.05, 95% CI: 1.01, 1.10). Similarly, park also exhibited low odds ratios: Leon County (1.06, 95% CI: 1.00, 1.12) and Hillsborough County (1.05, 95% CI: 1.00, 1.11). All of these results indicate that more Twitter tweets or Google search results could be linked to more heat-related patients. However, we also found that the direction of the associations was counterintuitive for heat exhaustion and heat stroke, particularly at longer temporal lags.
Next, GLM with a negative binomial distribution examined dehydration’s relationship to the weekly cycle, maximum temperature, and web data. Dehydration hospitalizations but not ED exhibited a strong weekly cycle where weekends tended to have a lower number of cases than weekdays (Additional file 1: Tables S7, S8). Interestingly, adding maximum temperature in the model did not always translate into model improvements. Only Duval, Hillsborough, and Miami-Dade County showed small improvements. Relatedly, maximum temperature marginally to significantly (beta coefficients range from 0.01 to 0.39) increased the risk of ED and hospitalization.
Comparable to temperature, adding one web data term moderately improved model fit (Fig. 2). At lag 0, the following terms were significant for ED: AC, AC repair, heat, heat stroke, hot weather, park, pool, swim, and water. Relatedly, AC, beer, drink, heat exhaustion, and hot weather web data were systematically related to hospitalizations. Park and pool, in particular, improved ED models in three out of five counties. For hospitalization cases, only the heat exhaustion search term improved fit in two out of five counties. AICs decreased up to 9.95 for ED and 6.13 for hospitalization. At lags of 1–3 days, all keywords from ED and hospitalization showed improvement. The search terms heat exhaustion, swim, and water improved ED while AC and heat exhaustion improved hospitalization models in three out of five counties. AICs decreased up to 14.93 for ED and 7.25 for hospitalization. More details can be found from Additional file 1: Tables S9 and S10.
Most of the web data were positively associated with dehydration ED cases (Fig. 3). Dehydration was positively correlated with heat, AC, AC repair, heat stroke, park, pool, swim, and water. Distinctly, park, pool, swim, and water tended to show a consistent positive relationship from lag 0 to lag 3. The beta coefficients for park and pool ranged from 0.00 to 0.01 in three counties at lag 0. AC tweets exhibited higher beta coefficients ranging from 0.02 to 0.04 in two counties at lag 0. Thus, a ten unit change in search volume increases the number of dehydration patients by up to 0.4.
Negative binomial regression also investigated the relationship between renal illness, the weekly cycle, maximum temperature, and web data. Similar to dehydration, renal illness exhibited a weak ED but strong hospitalization weekly cycle (Additional file 1: Tables S11, S12). More patients sought health care during weekdays than weekends. Compared to heat-related illness, maximum temperature was inconsistently associated with the number of renal illnesses. Maximum temperature only significantly increased renal illness cases in Miami-Dade County for ED (beta coefficient: 0.13~0.17) and in Duval County for hospitalization (beta coefficient: 0.18~0.26).
Including a web search term slightly improved the model fit for both ED and hospitalizations (Fig. 2). At lag 0, keywords such as AC, AC repair, and pool improved ED models in one county. Drink, heat stroke, and swim were related to renal ED visits in two counties. Correspondingly, beer, drink, heat exhaustion, and pool improved one county’s hospitalization models and heat, park, and water improved hospitalization models in two counties. AICs decreased up to 5.89 for ED and 8.57 for hospitalization. At lags of 1 to 3 days, AC, drink, heat exhaustion, heat stroke, hot weather, park, pool, swim, tired, and water were significantly related to ED visits. Similarly, lagged AC, beer, heat, heat exhaustion, heat stroke, park, pool, swim, and water terms were related to hospitalizations. AICs decreased up to 7.07 for ED and 7.52 for hospitalization. Unlike other illnesses, we found inconsistent and place-specific associations from heat stroke, park, pool, and tired. In addition, web data except for heat and AC showed negative association with health outcomes. These results suggest the people at risk may be not well captured by Twitter or Google search. More details can be found from Additional file 1: Tables S13 and S14.
We used ARMA-GARCH models to investigate the relationship between cardiovascular illness and web data after controlling for temporal autocorrelation. Adding the weekly cycle improved model performance based on mean absolute error and AIC (Additional file 1: Tables S15, S16). Not surprisingly, more patients sought healthcare on Mondays and other weekdays compared to weekends. Adding maximum temperature improved models for ED cases in Hillsborough and Miami-Dade Counties and hospitalization cases in Duval, Hillsborough, and Leon County. The significant temperature beta coefficients fell between 0.90 and 2.05 for ED. Somewhat surprisingly, Leon and Duval County’s ED visits were negatively associated with hospitalizations which contradicts the study hypothesis. The results suggest ED visits are more sensitive than hospitalizations to temperature increases. Figure 4 summarizes the direction of the ARMA-GARCH model beta coefficients. We found beer, drink, heat exhaustion, park, pool, and water tend to consistently have a negative relationship with cardiovascular illness cases in three out of five counties. Other keywords tended to show relatively inconsistent associations. Adding web data only slightly improved some ED and hospitalization models (Additional file 1: Figure S3, Tables S17, S18).
In the case of respiratory illness, we observed strong weekly cycles where weekdays had more cases than weekends (Additional file 1: Tables S19, S20). Including maximum temperature did not improve ED but slightly improved hospitalization models in Hillsborough and Orange County. Based on the significant negative beta coefficients, fewer patients were hospitalized when the temperature rose. Compared to other illnesses, respiratory illnesses showed more inconsistent associations between web data and health outcomes. The terms park and beer respectively exhibited the strongest negative and positive relationships with respiratory illnesses cases. While web search terms were significantly related to cases, the strength of the association did not improve either ED or hospitalization models (Additional file 1: Figure S3, Tables S21, S22).
The study examined the relationship between heat sensitive health outcomes and web data including Twitter and Google search volumes over time. We hypothesized that more frequent Twitter tweets or Google search results mentioning heat-related keywords are positively associated with health outcomes. The results partially supported our hypothesis. We found that heat-related illness and dehydration cases are positively associated with the concurrent day’s keywords such as heat, AC, park, pool, swim, and water. Other keywords were also positively associated with health outcomes when lagged effects were considered. The best fitting temporal lag varied by keyword. For example, the concurrent day’s AC and heat keywords from Twitter showed the strongest association with health outcomes. This finding aligns with how people use Twitter to express their feelings and thoughts in real time. On the other hand, Google search tended to show lagged effects between search terms and health outcomes. Specifically, park, pool, swim, and water search volumes increased before heat-related illness and dehydration cases. This finding might reflect behavioral patterns. For example, when temperature is forecast to rise, people may start making plans to visit cool places. For cardiovascular and renal disease, we were not able to find any strong association with web data. This is likely impacted by the age of patients suffering these illnesses. Because these illnesses are more common to advanced age, they might not Twitter and Google users.
Our study builds upon Li et al.  which examines Baidu web searches and heat stroke in Shanghai, China. Our paper investigates a wider range of heat sensitive outcomes, considers both social media and search engine data, and uses statistical analysis that controls for residual temporal autocorrelation. Our study shows that Twitter has slightly stronger and consistent associations with health outcomes than Google search. The Shanghai study found that the incidence of heat stroke exhibited a stronger correlation with heat stroke Internet searches than maximum temperature. Our study found the opposite where temperature accounted for more variability. This may be related to different climate conditions. Florida experiences higher and more extreme temperature events than Shanghai. These harsh climate environments could possibly give higher impacts on human health compared to Shanghai. The different media environment in China may also factor into this result. China’s state-run media may more effectively spread heat stroke prevention messages compared to other countries. The present study also found a consistent relationship between searching for water and dehydration cases. We speculate that migrant or minorities households may use search engines to look for filtered or bottled water . The results suggest web data could enhance existing heat-related and dehydration surveillance systems.
This paper also suggests that activity patterns for reducing heat stress are associated with several health outcomes. More heat-related illness and dehydration patients were found when more people searched for park, pool and swim. This result is well aligned with Lane et al. ‘s qualitative heat study. They reported that about 51% of people went to cool places such as public place, place of business, and other places during very hot weather. On the other hand, Hayden  reported that people are not going to the park when temperature is too high in Phoenix, Arizona. We think this opposite behavioral pattern could stem from regional differences in climate and heat coping strategies. Notably, the results suggest web data can be as useful as maximum temperature for anticipating health outcomes that are exacerbated by heat. However, somewhat unexpectedly, park and pool keywords were negatively related with the number of cardiovascular and respiratory patients. It is possible that these terms are more commonly paired with non-heat related activities such as parking space or pool games.
We also investigated the relationship between maximum temperature and five different types of health outcomes. Overall, maximum temperature provided the strongest and most consistent relationships with the number of heat-related illness cases. This result aligns with previously published papers. Basu et al.  reported high ED heat-related illness risk (393.3%) during high temperature days. Ostro et al.  similarly showed an increase in heat stroke hospitalizations (166%) per 10 °F change in maximum temperature. The other four disease categories, however, showed a less consistent association with maximum temperature. For dehydration, Duval, Hillsborough, and Miami-Dade County showed positive relationship with maximum temperature whereas Leon and Orange County did not show any significant relationships. We also found a positive relationship between renal illness cases and maximum temperature in Duval and Miami-Dade County. On the other hand, Hillsborough, Leon, and Orange County did not show any significant temperature associations. We suspect the relationships reflected demographic characteristics of each county. Some types of illnesses such as renal and cardiovascular illness are more common with advanced age. They tend to be more sensitive to high temperature due to degraded organ functions and high prevalence of chronic and degenerative diseases. Relatively younger median ages in Leon and Orange County could be one reason for insignificant association with maximum temperature. In addition, our study’s ED/hospitalization dataset does not capture heat-related illness from tourists whose billing address is outside of the state. Thus, heat-related illness may be underreported from Orange County which hosts many theme parks frequented by domestic and international tourists.
This paper contains several key limitations. First, the Internet and Twitter users may not be representative of the U.S. population. Perrin and Duggan  described that only 58% of American adults over 65 years old use the Internet. They also pointed out important racial differences. They found that smaller percentages of African-Americans adults (78%) and Hispanics (81%) use the Internet than whites (85%) and English-speaking Asian Americans (97%). In addition, the level of education and average income are related to the internet use. Ünver  showed people with more education and higher average income are more likely to use internet than those with less education and lower average income. Web data could underestimate the cases for less educated and low income people who generally lie at high heat-related risk. Twitter users may be even less representative of the general population. Greenwood et al.  reported that while more than one third of Internet users between 18 and 29 years old use Twitter, only 10 % of Internet users over 65 years old use Twitter. Duggan and Brenner  also shows that non-Caucasian people uses Twitter more commonly. Furthermore, we only used English language Tweets and Google search terms, which could possible miss or underestimate Hispanic people. These demographic discrepancies add additional uncertainty and errors to the web data. Therefore, this technique is not a perfect stand-alone tool for heat surveillance but may be used in conjunction with other surveillance tools.
This study uses ICD billing codes to classify heat-related health outcomes. Several papers point out that the billing codes contain multiple errors [64, 65]. For example, O’Malley et al.  enumerated steps that may affect coding accuracy: 1) the communication between the patient and his/her admitting clerk or physician, 2) clinician’s knowledge about the best diagnostic tests and procedures, 3) clinicians’ delay in gaining new medical advances or diagnostic tools, 4) the use of synonyms and abbreviations, 5) physicians’ or other staffs’ mistakes including omissions and transcription (from voice to record), 6) physician’s effort to check the accuracy of the codes, 7) coders’ experience, attentions, and persistence, and 8) upcoding (selecting codes of high reimbursement value). These potential errors could also introduce additional uncertainty and error into the analysis.
Furthermore, the discrepancy between the health and web search geographic boundaries may weaken the strength of observed associations. To recap, the Google search data are aggregated to commercial direct marketing area boundaries which include several counties. In contrast, the heat-related health outcomes are reported at the county level. The modifiable areal unit problem, called MAUP, could be one major error when aggregating data into a certain type of spatial partition. This problem is well studied by many researchers [67, 68].
In spite of these weaknesses, public health researchers will continue to explore the utility of web search data due to its low maintenance/operating cost and promptness in detecting illnesses. Social media and web search data could be most helpful for jurisdictions without real time surveillance or an extreme heat early warning system. We understand that a small number of governments can operate web data-based surveillance system due to limited resources, employees, and familiarity with technology. Perhaps the federal government or a consortium of governments, academics, and non-profits may pool their resources to disseminate this information. We hope this research will stimulate other researchers to improve current surveillance systems.
Availability of data and materials
The weather and social media datasets used in this study are available from the corresponding author upon request. Based on our data use agreement, we cannot share the health outcomes dataset. The data can be requested from Florida’s Agency for Health Care Administration.
Johnson H, Kovats RS, McGregor G, Stedman J, Gibbs M, Walton H, Cook L, Black E. The impact of the 2003 heat wave on mortality and hospital admissions in England. Health Stat Q. 2005;25:6–11.
Kovats RS, Johnson H, Griffiths C. Mortality in southern England during the 2003 heat wave by place of death. Health Stat Q. 2006;29:6–8.
Garssen J, Harmsen C, Beer JD. The effect of the summer 2003 heat wave on mortality in the Netherlands. Eurosurveillance. 2005;10:165–7.
Vandentorren S, Suzan F, Medina S, Pascal M, Maulpoix A, Cohen J-C, Ledrans M. Mortality in 13 French cities during the august 2003 heat wave. Am J Public Health. 2004;94:1518–20.
Fouillet A, Rey G, Wagner V, Laaidi K, Empereur-Bissonnet P, Le Tertre A, Frayssinet P, Bessemoulin P, Laurent F, De Crouy-Chanel P, Jougla E, Hémon D. Has the impact of heat waves on mortality changed in France since the European heat wave of summer 2003? A study of the 2006 heat wave. Int J Epidemiol. 2008;37:309–17.
Laaidi K, Zeghnoun A, Dousset B, Bretin P, Vandentorren S, Giraudet E, Beaudeau P. The impact of heat islands on mortality in Paris during the august 2003 heat wave. Environ Health Perspect. 2011;120:254–9.
Conti S, Meli P, Minelli G, Solimini R, Toccaceli V, Vichi M, Beltrano C, Perini L. Epidemiologic study of mortality during the summer 2003 heat wave in Italy. Environ Res. 2005;98:390–9.
Grize L, Huss A, Thommen O, Schindler C, Braun-Fahrländer C. Heat wave 2003 and mortality in Switzerland. Swiss Med Wkly. 2005;135:200–5.
Simón F, Lopez-Abente G, Ballester E, Martínez F. Mortality in Spain during the heat waves of summer 2003. Euro Surveill. 2005;10:156–61.
Naughton MP, Henderson A, Mirabelli MC, Kaiser R, Wilhelm JL, Kieszak SM, Rubin CH, McGeehin MA. Heat-related mortality during a 1999 heat wave in Chicago. Am J Prev Med. 2002;22:221–7.
Hajat S, Armstrong B, Baccini M, Biggeri A, Bisanti L, Russo A, Paldy A, Menne B, Kosatsky T. Impact of high temperatures on mortality: is there an added heat wave effect? Epidemiology. 2006;17:632–8.
Huang W, Kan H, Kovats S. The impact of the 2003 heat wave on mortality in Shanghai, China. Sci Total Environ. 2010;408:2418–20.
Gao J, Sun Y, Liu Q, Zhou M, Lu Y, Li L. Impact of extreme high temperature on mortality and regional level definition of heat wave: a multi-city study in China. Sci Total Environ. 2015;505:535–44.
Ward K, Lauf S, Kleinschmit B, Endlicher W. Heat waves and urban heat islands in Europe: a review of relevant drivers. Sci Total Environ. 2016;569:527–39.
Kilbourne EM, Choi K, Jones TS, Thacker SB. Risk factors for heatstroke: a case-control study. J Am Med Assoc. 1982;247:3332–6.
Braga ALF, Zanobetti A, Schwartz J. The time course of weather-related deaths. Epidemiology. 2001;12:662–7.
Sheridan SC. A survey of public perception and response to heat warnings across four north American cities: an evaluation of municipal effectiveness. Int J Biometeorol. 2007;52:3–15.
Ostro B, Rauch S, Green R, Malig B, Basu R. The effects of temperature and use of air conditioning on hospitalizations. Am J Epidemiol. 2010;172:1053–61.
Alberini A, Gans W, Alhassan M. Individual and public-program adaptation: coping with heat waves in five cities in Canada. Int J Environ Res Public Health. 2011;8:4679–701.
Gupta S, Carmichael C, Simpson C, Clarke MJ, Allen C, Gao Y, Chan EYY, Murray V. Electric fans for reducing adverse health impacts in heatwaves. Cochrane Db Syst Rev. 2012;7:CD009888.
Parsons K. Maintaining health, comfort and productivity in heat waves. Glob Health Action. 2009;2:2057.
Bouchama A, Knochel JP. Heat stroke. N Engl J Med. 2002;346:1978–88.
Howe AS, Boden BP. Heat-related illness in athletes. Am J Sports Med. 2007;35:1384–95.
Kalkstein LS, Davis RE. Weather and human mortality: an evaluation of demographic and interregional responses in the United States. Ann Am Assoc Geogr. 1989;79:44–64.
Weisskopf MG, Anderson HA, Foldy S, Hanrahan LP, Blair K, Török TJ, Rumm PD. Heat wave morbidity and mortality, Milwaukee, Wis, 1999 vs 1995: an improved response? Am J Public Health. 2002;92:830–3.
Rey G, Fouillet A, Bessemoulin P, Frayssinet P, Dufour A, Jougla E, Hémon D. Heat exposure and socio-economic vulnerability as synergistic factors in heat-wave-related mortality. Eur J Epidemiol. 2009;24:495–502.
Uejio CK, Wilhelmi OV, Golden JS, Mills DM, Gulino SP, Samenow JP. Intra-urban societal vulnerability to extreme heat: the role of heat exposure and the built environment, socioeconomics, and neighborhood stability. Health Place. 2011;17:498–507.
Bradley CA, Rolka H, Walker D, Loonsk J. BioSense: implementation of a national early event detection and situational awareness system. MMWR Morb Mortal Wkly Rep. 2005;54:11–9.
Yan P, Chen H, Zeng D. Syndromic surveillance systems. Annu Rev Inf Sci Technol. 2008;42:425–95.
Fricker RD. Syndromic surveillance. Encyclopedia of quantitative risk analysis and assessment; 2008. p. 1743–52.
Paul MJ, Dredze M, Broniatowski DA, Generous N. Worldwide influenza surveillance through twitter. In: Workshops at the twenty-ninth AAAI conference on artificial intelligence; 2015.
Li T, Ding F, Sun Q, Zhang Y, Kinney PL. Heat stroke internet searches can be a new heatwave health warning surveillance indicator. Sci Rep. 2016;6:37294.
Austin BJ. Perspectives of weather and sensitivities to heat: social media applications for cultural climatology. Ph.D. Dissertation. Kent: Kent State University; 2014.
Baylis P. Temperature and temperament: evidence from a billion tweets. Working paper. Berkeley: Energy Inst., Univ. Calif.; 2015.
Jung J, Uejio CK. Social media responses to heat waves. Int J Biometeorol. 2017;61:1247–60.
U.S. Census Bureau. https://factfinder.census.gov/faces/nav/jsf/pages/searchresults.xhtml?refresh=t&keepList=t. Accessed 29 Jul 2016.
Fielding RT, Taylor RN. Architectural styles and the design of network-based software architectures. Ph.D. Dissertation. Irvine: University of California; 2000.
Sullivan-Bolyai JZ, Lumish RM, Smith EW, Howell JT, Bregman DJ, Lund M, Page RC. Hyperpyrexia due to air-conditioning failure in a nursing home. Public Health Rep. 1979;94:466–70.
Kaiser R, Rubin CH, Henderson AK, Wolfe MI, Kieszak S, Parrott CL, Adcock M. Heat-related death and mental illness during the 1999 Cincinnati heat wave. Am J Foren Med Path. 2001;22:303–7.
O’Neill MS, Zanobetti A, Schwartz J. Disparities by race in heat-related mortality in four US cities: the role of air conditioning prevalence. J Urban Health. 2005;82:191–7.
Anderson BG, Bell ML. Weather-related mortality. Epidemiology. 2009;20:205–13.
Nunes B, Paixão E, Dias CM, Nogueira P, Falcão JM. Air conditioning and intrahospital mortality during the 2003 heatwave in Portugal: evidence of a protective effect. Occup Environ Med. 2011;68:218–23.
Pitts GC, Johnson RE, Consolazio FC. Work in the heat as affected by intake of water, salt and glucose. Am J Physiol-Legacy Content. 1944;142:253–9.
Hamilton MT, Gonzalez-Alonso J, Montain SJ, Coyle EF. Fluid replacement and glucose infusion during exercise prevent cardiovascular drift. J Appl Physiol. 1991;71:871–7.
Keatinge WR. Death in heat waves. Br Med J. 2003;327:512–3.
Worfolk JB. Heat waves: their impact on the health of elders. Geriatr Nurs. 2000;21:70–7.
Booth ML, Owen N, Bauman A, Clavisi O, Leslie E. Social–cognitive and perceived environment influences associated with physical activity in older Australians. Prev Med. 2000;31:15–22.
Humpel N, Owen N, Leslie E. Environmental factors associated with adults’ participation in physical activity: a review. Am J Prev Med. 2002;22:188–99.
Trost SG, Owen N, Bauman AE, Sallis JF, Brown W. Correlates of adults’ participation in physical activity: review and update. Med Sci Sports Exerc. 2002;34:1996–2001.
Thom EC. The discomfort index. Weatherwise. 1959;12:57–61.
Knowlton K, Rotkin-Ellman M, King G, Margolis HG, Smith D, Solomon G, Trent R, English P. The 2006 California heat wave: impacts on hospitalizations and emergency department visits. Environ Health Perspect. 2008;117:61–7.
Kingsley SL, Eliot MN, Gold J, Vanderslice RR, Wellenius GA. Current and projected heat-related morbidity and mortality in Rhode Island. Environ Health Perspect. 2016;124:460–7.
Box GEP, Jenkins GM, Reinsel G. Time series analysis: forecasting and control Holden-day, San Francisco, CA; 1970.
Bollerslev T. Generalized autoregressive conditional heteroskedasticity. J Econom. 1986;31:307–27.
Engle R. GARCH 101: the use of ARCH/GARCH models in applied econometrics. J Econ Perspect. 2001;15:157–68.
Rosinger AY, Herrick KA, Wutich AY, Yoder JS, Ogden CL. Disparities in plain, tap and bottled water consumption among US adults: National Health and nutrition examination survey (NHANES) 2007–2014. Public Health Nutr. 2018;21:1455–64.
Lane K, Wheeler K, Charles-Guzman K, Ahmed M, Blum M, Gregory K, Graber N, Clark N, Matte T. Extreme heat awareness and protective behaviors in new York City. J Urban Health. 2014;91:403–14.
Hayden MH, Brenkert-Smith H, Wilhelmi OV. Differential adaptive capacity to extreme heat: a Phoenix, Arizona, case study. Weather Clim Soc. 2011;3:269–80.
Basu R, Pearson D, Malig B, Broadwin R, Green R. The effect of high ambient temperature on emergency room visits. Epidemiology. 2012;23:813–20.
Perrin A, Duggan M. Americans’ internet access: 2000–2015. Washington, DC: Pew Research Center; 2015.
Ünver H. Explaining education level and internet penetration by economic reasoning-worldwide analysis from 2000 through 2010. Int J Inf Secur. 2014;7:898–912.
Greenwood S, Perrin A, Duggan M. Social media update 2016. Washington, DC: Pew Research Center; 2016.
Duggan M, Brenner J. The demographics of social media users - 2012. Washington, DC: Pew Research Center; 2013.
Corn RF. The sensitivity of prospective hospital reimbursement to errors in patient data. Inquiry. 1981;18:351–60.
Lloyd SS, Rissing JP. Physician and coding errors in patient records. J Am Med Assoc. 1985;254:1330–6.
O’Malley KJ, Cook KF, Price MD, Wildes KR, Hurdle JF, Ashton CM. Measuring diagnoses: ICD code accuracy. Health Serv Res. 2005;40:1620–39.
Parenteau M-P, Sawada MC. The modifiable areal unit problem (MAUP) in the relationship between exposure to NO2 and respiratory health. Int J Health Geogr. 2011;10:58.
Flowerdew R, Manley DJ, Sabel CE. Neighbourhood effects on health: does it matter where you draw the boundaries? Soc Sci Med. 2008;66:1241–55.
Previously presented: American Association of Geographers (AAG) April 2018, New Orleans, Louisiana.
This research received no financial support from any agency in the public, commercial, or not-for-profit sectors. No funding source or external agency played any role in study design, data collection, data analysis, data interpretation, or writing of this report.
Ethics approval and consent to participate
The study had been reviewed and approved by Florida State university Human Subjects Office (HSC #: 2019.26730).
Consent for publication
The authors declare that they have no competing interests.
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Figure S1. Google commercial boundary. Research areas are in dark grey. Figure S2. Pearson correlation coefficients between maximum temperature and web data. We only colored significant Pearson’s correlation coefficients. Maximum temperatures up to three lag days were considered. Figure S3. AIC changes after adding one of web data to the second model (days of week and maximum temperature). Minus (blue) means model improvement. Table S1. Demographic estimate summary of each county in 2014 from the U.S. Census Bureau’s American Community Survey. Table S2. Descriptive summary on weather conditions and AICs. Table S3. Heat-related-illness ED model specifications (*** < 0.05, ** 0.05 ~ 0.10, * 0.10 ~ 0.15). Table S4. Heat-related-illness hospitalization model specifications (*** < 0.05, ** 0.05 ~ 0.10, * 0.10 ~ 0.15). Table S5. Heat-related-illness ED model specifications up to three lag days (*** < 0.05, ** 0.05 ~ 0.10, * 0.10 ~ 0.15). Table S6. Heat-related-illness hospitalization model specifications up to three lag days (*** < 0.05, ** 0.05 ~ 0.10, * 0.10 ~ 0.15). Table S7. Dehydration ED model specifications (*** < 0.05, ** 0.05 ~ 0.10, * 0.10 ~ 0.15). Table S8. Dehydration hospitalization model specifications (*** < 0.05, ** 0.05 ~ 0.10, * 0.10 ~ 0.15). Table S9. Dehydration ED model specifications up to three lag days (*** < 0.05, ** 0.05 ~ 0.10, * 0.10 ~ 0.15). Table S10. Dehydration hospitalization model specifications up to three lag days (*** < 0.05, ** 0.05 ~ 0.10, * 0.10 ~ 0.15). Table S11. Renal illness ED model specifications (*** < 0.05, ** 0.05 ~ 0.10, * 0.10 ~ 0.15). Table S12. Renal illness hospitalization model specifications (*** < 0.05, ** 0.05 ~ 0.10, * 0.10 ~ 0.15). Table S13. Renal illness ED model specifications up to three lag days (*** < 0.05, ** 0.05 ~ 0.10, * 0.10 ~ 0.15). Table S14. Renal illness hospitalization model specifications up to three lag days (*** < 0.05, ** 0.05 ~ 0.10, * 0.10 ~ 0.15). Table S15. Cardiovascular illness ED model specifications (*** < 0.05, ** 0.05 ~ 0.10, * 0.10 ~ 0.15). Table S16. Cardiovascular illness hospitalization model specifications (*** < 0.05, ** 0.05 ~ 0.10, * 0.10 ~ 0.15). Table S17. Cardiovascular illness ED model specifications up to three lag days (*** < 0.05, ** 0.05 ~ 0.10, * 0.10 ~ 0.15). Table S18. Cardiovascular illness hospitalization model specifications up to three lag days (*** < 0.05, ** 0.05 ~ 0.10, * 0.10 ~ 0.15). Table S19. Respiratory illness ED model specifications (*** < 0.05, ** 0.05 ~ 0.10, * 0.10 ~ 0.15). Table S20. Respiratory illness hospitalization model specifications (*** < 0.05, ** 0.05 ~ 0.10, * 0.10 ~ 0.15). Table S21. Respiratory illness ED model specifications up to three lag dayss (*** < 0.05, ** 0.05 ~ 0.10, * 0.10 ~ 0.15). Table S22. Respiratory illness hospitalization model specifications up to three lag days (*** < 0.05, ** 0.05 ~ 0.10, * 0.10 ~ 0.15). (DOCX 1020 kb)
About this article
Cite this article
Jung, J., Uejio, C.K., Duclos, C. et al. Using web data to improve surveillance for heat sensitive health outcomes. Environ Health 18, 59 (2019). https://doi.org/10.1186/s12940-019-0499-x
- Heat wave
- Extreme heat
- Public health
- Surveillance system
- Google search
- Social media