Introduction

Hot-spring tourism is a developing form of tourism wherein hot-spring locations are utilised for conducting various activities, including entertainment, commercial conferences, health preservation, and leisure (Chen et al. 2011; Mi et al. 2019). Over the years, hot spring tourism has become one of the most attractive tourism sectors globally, thereby attracting thousands of domestic and international tourists annually (Mi et al. 2019). With the rapid growth of economic and wellness tourism in China, people have begun to pursue new types of leisure (Xie et al. 2021). Hot-spring tourism is rapidly transforming into one of the most popular forms of leisure tourism (GWI 2019). It offers services such as spas, catering, healthcare, and other recreational activities (Hsieh et al. 2008; Kardeş 2021). In a sense, hot-spring tourism acts as a barometer for the local ecosystem, economy, and culture (Chaiyat et al. 2020; Channing 2017). Both environmental pollution and climate change could alter the temperature, pH, and microbes of hot springs, which would influence the ecological balance (Bennett Annastacia et al. 2022; Canora and Sdao 2022). Meanwhile, hot-spring tourism, which could provide different types of leisure and cultural experiences, has been sought after widely by the upper middle class (Chang et al. 2022; Wang and Lin 2021). Therefore, the income from hot-spring tourism is closely related to the local economy and culture. Over the last few decades in China, the high-speed growth of the economy has spawned huge numbers of the upper middle class, leading to numerous investments in tourism, which provides an unprecedented opportunity for developing fields such as hot-spring tourism (Liu et al. 2020). According to the 2018 Global Wellness Institute report, the hot-spring market has continued to grow as more people have relied on water and associated activities for stress-relieving, recovery, and social interaction (GWI 2019). As of 2017, the market has observed an increase of $5.2 billion in 2 years, and facilities have grown from 27,000 to 34,000 during the same period. China remains one of the most lucrative regions for hot springs, accounting for 31.2% of the global revenues in thermal/mineral spring tourism (GWI 2019; Mi et al. 2019).

According to a World Health Organization report, climate change has had the most significant influence on humans in this century (WHO 2018). Tourism is closely associated with the environment and climate, and it is more adversely affected by weather than other industries (Anna et al. 2021; Matthews et al. 2021; Wang et al. 2020). Economists, tourism enterprises, and news media have different opinions on whether the weather affects the tourism industry. It is generally believed that climate change will lead to an increase in extreme weather conditions, such as storms, heat waves, or intense and prolonged rainfall, which will harm tourist experiences (Hewer 2020; Hübner and Gössling 2012; Sibitane et al. 2022). However, Marshall et al. (2013) found that many tourism operators can offset weather vulnerability by developing reasonable climate adaptation plans. These findings have the capacity to stimulate research and development on climate-resilient tourism (Scott and Gössling 2022). Most existing studies have focused on the association between weather events and outdoor tourism, indicating that variations in meteorological factors may have an immediate or delayed impact on the outdoor tourist market (Craig and Feng 2018; R.-Toubes et al. 2020; Wang et al. 2018). However, the water temperature of most hot springs is generally not affected by environmental temperature (Yan et al. 2017). Therefore, existing studies have neglected the fact that the effects of environmental temperature variations on hot springs may differ from those of outdoor scenic spots, and the same strategies should not be used to cope with environmental temperature variations in the case of hot springs. To bridge this gap, this study aims to examine the impact of environmental temperature variations on hot-spring tourism.

The data on tourist volumes are usually accurate but difficult to obtain in a timely manner. Therefore, these data are unsuitable for modelling and analysis (Xie et al. 2021). Some scholars have emphasised that online search data can reflect tourist behaviour and provide a new and accurate method for tourism research (Yang et al. 2015). In the last few decades, search engines, including Baidu and Google, have opened a new era in various social disciplines. Search engines provide information (scenic spot introduction, tourism service products, traffic routes, etc.) for people while recording their online search behaviours, which represent potential tourist demands. Compared with traditional statistics or survey data, these online search data have advantages including greater representativeness, timing, and availability (Yao et al. 2021; Zhang et al. 2021). Thus, we used the Baidu Index to analyse the effects of environmental temperature variations on tourist arrivals at hot-spring scenic spots in 31 provincial capital cities and 13 s-tier cities in China from 2017 to 2019, and seasonal modifications on the effects were also examined.

Materials and methods

Baidu Index

Baidu (www.baidu.com) is the most popular search engine in China. The Baidu Index was launched to provide the daily Internet search frequency data of different keywords. It is a massive data-sharing platform reflecting ‘user awareness’ and ‘media attention’ of different keywords. The Baidu Index serves a similar function as the Google Index. One can enter keywords in the Baidu Index search bar, selecting the searched time, range, and region, clicking on the ‘Baidu’ button, and then obtaining the keyword’s daily search volume within the corresponding period and region.

Since the collection and publication of actual travel data often lag well behind events and can be based on insufficient sample numbers, Chinese scholars began to explore the use of Internet data to substitute for traditional statistical data. Through empirical studies on different Internet data sources (e.g., Baidu, Google, Airbnb, TripAdvisor, and Ctrip) and different types of tourism destinations, the Baidu Index was found to have a stronger correlation with tourist arrivals in China than other indices (Pearson correlation coefficient > 0.75) (Huang et al. 2017; Sun et al. 2019). People may sometimes visit scenic spots without searching for them online, and other times they may search for tourist attractions online without visiting them. Nonetheless, this research still shows that there is a long-term equilibrium relationship and Granger causality relationship between the observed number of tourists and related keywords in the Baidu Index. It was confirmed that the research conclusions were valid when using the Baidu Index. Thus, increasing studies began to adopt the Baidu Index as a substitution variable for tourist arrivals (Li et al. 2020; Wang et al. 2020; Xie et al. 2021; Yao et al. 2021).

Study area

This study was conducted in 44 cities in China (including 4 municipalities, 27 provincial capital cities, and 13 s-tier cities). The second-tier cities included in this study refer to the second-largest city in each province; further, cities lacking the Baidu Index or weather data were excluded. Figure 1 shows the cumulative Baidu Indices for these cities from 2017 to 2019. We focused on Mainland China because Baidu is not the first choice of search engine in Taiwan, Hong Kong, and Macao. We set 2019 as the endpoint of the study period to avoid the impact of the COVID-19 pandemic on the tourism industry.

Fig. 1
figure 1

Locations of 44 cities and cumulative Baidu Indices for each city from 2017 to 2019

Data collection

After referring to related literature, this study selected three possible keywords (hot spring, hot spring tourism, and hot spring spots) (Wang et al. 2020; Xie et al. 2021; Yang et al. 2015). The search records of these keywords in 44 cities in China from 2017 to 2019 were obtained from Baidu (https://index.baidu.com) and were generated from two sources: personal computers (PC trend) and mobile terminals. Owing to the comprehensive nature of this research, the sum of these two sources (overall trend) was selected as the dependent variable.

Weather data were obtained from the National Meteorological Information Center (http://data.cma.cn) and included daily average temperature (°C), relative humidity (%), wind speed (m/s), rainfall (mm), and sunshine duration (h). These meteorological factors have been shown to have important impacts on tourist travel decisions (Givoni et al. 2003).

Statistical analysis

Previous studies have employed various methods to investigate the relationship between weather and tourism. Many researchers who are interested in the impacts of extreme weather events are likely to use analysis models with classified variables (Hewer 2020; Hübner and Gössling 2012; Sibitane et al. 2022). Some linear models are also widely used to estimate the impact of meteorological variables on tourism (Ciobotaru et al. 2019; Serquet and Rebetez 2011; Wilkins et al. 2017). However, other studies have shown that the relationships between climate factors and people’s behaviour are generally nonlinear (Moral-Carcedo and Vicéns-Otero 2005; Theofilatos and Yannis 2014; Yoon 2019). Therefore, effective nonlinear models are needed to solve such problems.

The generalised additive model (GAM) is an extension of the generalised linear model (GLM). GAMs provide more flexibility than GLMs, as the former relax the assumption of linearity while retaining coherent inference between the dependent and independent variables (Reiss 2006). Thus, GAMs are widely used in examining the associations between meteorological factors and tourism (Fotiadis et al. 2021; Saenz-de-Miera and Rosselló 2014; Sottini et al. 2021; Tiwari et al. 2021; Yoon 2019) owing to their ability to describe static nonlinearities, i.e. nonlinear effects that are stable over time (Aldrin and Haff 2005). Furthermore, GAMs can incorporate new components with a simple additive transformation, which makes them easy to interpret.

The main drawback of GAMs lies in the estimation of smooth functions, and there are different ways to address this (Barrio et al. 2013). One of the most common alternatives is based on splines, which allow the GAM estimation to be reduced to the GLM context (Currie et al. 2006). Thin-plate regression splines have been frequently chosen for their advantages in minimising squared residuals and increasing prediction precision (Yoon 2019). In cases without clear prior knowledge of their functional form and knot locations, this type of spline finds an optimal solution balancing the fidelity to the data and smoothness of the function (Wood 2006). In addition, since the daily count of the Baidu Index approximately followed a Gaussian distribution, we estimated the associations between temperature variations and tourist arrivals by creating a GAM with a Gaussian family, and then we selected the thin-plate regression splines for the meteorological variables.

By considering the precursory nature of online searches on tourism behaviour and the impact of the weather forecast on online searches, we measured the volume of tourist arrivals with a 1-day Baidu Index (all_avg1), 2-day (today and yesterday) Baidu Index (all_avg2), and 3-day (today, yesterday, and the day before yesterday) Baidu Index (all_avg3) (Wang et al. 2020). First, we investigated the effects of temperature in a single meteorological variable model without other weather factors to avoid collinearity (Zhang et al. 2019). The basic model used was as follows: 

$$\mathrm{ln}\left({all\_avg}_{i,t}\right)=\alpha +{TEM}_{i,t}+{city}_{i}+{year}_{y}+{DOW}_{t}+{Holiday}_{t}$$
(1)

where \({all\_avg}_{i,t}\) is the tourist arrivals (all_avg1, all_avg2, and all_avg3) for hot springs in city i on day t, ln(∙) refers to the log link function, \(\alpha\) is the intercept, \({TEM}_{i,t}\) is the daily average temperature in city i on day t, \({city}_{i}\) indicates city i, \({year}_{y}\) indicates year y (2017–2019), \({DOW}_{t}\) indicates the day of the week (Monday to Sunday), \({Holiday}_{t}\) indicates public holidays (yes, no), i = 1, 2, …, 31, and t = 1, 2, …, 1095.

In Model (1), only the temperature was considered a parameter for the analysis, and the association between the dependent and independent variables was presumed to be linear. However, tourists might also consider other weather factors before planning their travel, and the relationships between meteorological variables and tourist arrivals are probably nonlinear; thus, all meteorological variables and thin-plate regression splines were introduced into Model (1) to obtain Model (2), as follows:

$$\mathrm{ln}\left({all\_avg}_{i,t}\right)=\alpha +s\left({TEM}_{i,t}\right)+s\left({RHU}_{i,t}\right)+s\left({WIN}_{i,t}\right)+s\left({RAF}_{i,t}\right)+s\left({SSD}_{i,t}\right)+{city}_{i}+{year}_{y}+{DOW}_{t}+{Holiday}_{t}$$
(2)

where s(∙) indicates the thin-plate regression splines (with the use of spline, the function becomes less smooth but more flexible, providing a better fit to the data); \({RHU}_{i,t}\), \({WIN}_{i,t}\), \({RAF}_{i,t}\), and \({SSD}_{i,t}\) refer to relative humidity, wind speed, rainfall, and sunshine duration in city i on day t, which were previously noted to be related to tourist experience and comfort (Matzarakis 2006); and \(\mathrm{ln}\left({all\_avg}_{i,t}\right)\), \({city}_{i}\), \({year}_{y}\), \({DOW}_{t}\), and \({Holiday}_{t}\) are the same as in Model (1).

Figure 2 displays the exposure–response curves of temperature and daily tourist arrivals in Model (2). The results suggest that the relationship between temperature and tourist arrivals was approximately linear, illustrating that the assumptions in Model (1) were acceptable. Thus, we modified Model (2) to quantitatively evaluate the percentage change in tourist arrivals correlated with the temperature variations:

Fig. 2
figure 2

Exposure–response curves of temperature and daily tourist arrivals using the multiple meteorological variable model. The x axis indicates the temperature, and the y axis represents the contribution of the smoother to the fitted values

$$\mathrm{ln}\left({all\_avg}_{i,t}\right)=\alpha +{TEM}_{i,t}+s\left({RHU}_{i,t}\right)+s\left({WIN}_{i,t}\right)+s\left({RAF}_{i,t}\right)+s\left({SSD}_{i,t}\right)+{city}_{i}+{year}_{y}+{DOW}_{t}+{Holiday}_{t}$$
(3)

Furthermore, we examined the possible effect of temperature change according to different seasons (spring, March to May; summer, June to August; autumn, September to November; and winter, December to February).

The time lags between temperature and tourist arrivals were also examined. Tourist arrivals exhibit a distinct monthly cycle, and cyclical changes may be incorrectly associated with temperature variations (Yoon 2019). Therefore, this study explored the lag in impact up to 30 days after temperature variations to determine whether the effects were immediate or delayed.

The monthly effect of temperature on tourist behaviour should also be considered. Thirty days may not capture the true association between searches, which occur at the planning stage, and actual travel, which occurs months after the initial searches. Considering the seasonal effects on hot-spring tourism, we set 3 months as the maximum lag period and defined the monthly model as follows:

$$\mathrm{ln}\left({all\_avg}_{i,m}\right)=\alpha +{TEM}_{i,m}+s\left({RHU}_{i,m}\right)+s\left({WIN}_{i,m}\right)+s\left({RAF}_{i,m}\right)+s\left({SSD}_{i,m}\right)+{city}_{i}+{year}_{y}$$
(4)

where \({all\_avg}_{i,m}\) indicates the total tourist arrival (monthly sum of all_avg1, all_avg2, and all_avg3) for hot springs in city i in month m and \({TEM}_{i,m}\), \({RHU}_{i,m}\), \({WIN}_{i,m}\), \({RAF}_{i,m}\), and \({SSD}_{i,m}\) are the monthly average values of the meteorological variables in city i in month m.

Three sensitivity analyses were then conducted to test the robustness of the results. First, the conclusion was re-evaluated using the PC trend as the dependent variable. Second, the independent variable was re-evaluated in East China. Third, the sample size was reduced from 2017 to 2018. All analyses were performed using R software (version 3.6.3; R Development Core Team, Vienna, Austria) and the mgcv package (version 1.8–35). Statistical significance was set at P < 0.05 for all analyses. The estimated effects are shown as percentage change (%) in tourist arrivals associated with a 1 °C increase in temperature.

Results

Data description

Table 1 shows the descriptive statistics for the daily tourist arrivals and meteorological variables. The locations and Baidu Indices of each city are listed in Supplementary Table S1. The dataset included 45,398 valid records from 44 cities. During the observation period, this study included 4,954,649 search records with an average of 109.14. The Baidu Index was found to be the highest in the winter. The averages of daily mean temperature, relative humidity, wind speed, rainfall, and sunshine duration were 14.35 °C, 65.54%, 2.25 m/s, 2.54 mm, and 5.81 h, respectively. As the most developed cities in China, Beijing (349,641 times), Guangzhou (236,092 times), and Shanghai (233,969 times) had the highest number of search records. There were a higher number of records in central, southern, and eastern China as compared to western and northern China. According to the Spearman correlation analysis (Table 2) conducted in this study, the correlation coefficients between temperature and other meteorological variables were small.

Table 1 Descriptive statistics of daily tourist arrivals and meteorological variables across all cities, from January 2017 to December 2019
Table 2 Spearman correlation coefficients between temperature and other meteorological variables across all cities, from January 2017 to December 2019

Relationship between temperature and tourist arrivals

Figure 2 shows the associations between temperature and daily tourist arrivals in the multiple meteorological variables model. Above − 10 °C, tourist arrivals began to decrease rapidly with increasing temperature. However, the 95% confidence interval (CI) was quite wide below − 10 °C, and the statistical significance of the result was uncertain for this segment.

Figure 3 illustrates the effect of temperature variations on the all_avg1 values, and Table S1 shows the specific values. The all_avg1 values were negatively correlated with an increase in temperature (percentage change (%): − 1.81, 95% CI: − 1.93 to − 1.69), which implied that a 1 °C increase in temperature was associated with a decrease in tourist arrivals by 1.81%. We also observed continuous significantly negative correlations between temperature and tourist arrivals at a lag of 0–30 days, as the 95% CIs were consistently below the zero point. Temperature variations showed positive associations with tourist arrivals in summer (percentage change (%): 2.18, 95% CI: 1.32 to 3.04), and the 95% CIs were above the zero point at a lag of 0–28 days. The relationship between temperature and tourist arrivals peaked at a lag of 14 days in summer (percentage change (%): 2.97, 95% CI: 2.10 to 3.84) and reached a nadir at a lag of 18 days in winter (percentage change (%): − 2.92, 95% CI: − 3.50 to − 2.35). The differences between these two extrema and percentage changes in other seasons are significant (Table 3). The relationship between all_avg2, all_avg3, and temperature variations showed a similar trend to that of all_avg1 (Tables S3 and S4).

Fig. 3
figure 3

Percentage change (%) and 95% CI of daily tourist arrivals associated with 1 °C increase in temperature using the multi-meteorological variables model on 0–30 lag days

Table 3 Extremum of percentage change (%) and 95% CI of daily tourist arrivals with 1-day Baidu Index associated with 1 °C increase in temperature in different seasons

Figure 4 displays the monthly associations of temperature variations according to Model (3). The decrease in temperature was significantly associated with an increase in the volume of tourist arrivals in the current month and the following month (lag 0: 3.71, 95% CI: 0.71 to 6.72; lag 1: 7.19, 95% CI: 2.83 to 11.56). The percentage change was higher in the following month than in the current month, but the 95% CIs overlapped. The 95% CI contained the zero point at a lag of 2–3 months, and the statistical significance of the result was uncertain for this segment. The specific values are listed in Table S5.

Fig. 4
figure 4

Percentage change (%) and 95% CI of monthly tourist arrivals associated with 1 °C increase in monthly average temperature using the multi-meteorological variable model over 0–3 lag months, the baseline of zero point is represented by dashed line: a results of monthly tourist arrivals with 1-day Baidu Index, b results of monthly tourist arrivals with 2-day Baidu Index, and c results of monthly tourist arrivals with 3-day Baidu Index

Robustness test

The results of the robustness analysis are shown in Fig. 5. Overall, the associations between temperature variations and tourist arrivals were robust to variations in the Baidu Index types, study area, and sample range, the specific values of which are listed in Table S6.

Fig. 5
figure 5

Robustness test for temperature using the multi-meteorological variable model: a effects measured with the PC trend of Baidu Index, b effects measured throughout East China, and c effects measured during 2017–2018

Discussion

In this study, we employed the GAM to estimate the relationship between temperature variations and daily tourist arrivals for hot-spring tourism in 44 cities in China. Hot-spring tourism is more popular in central, southern, and eastern China. The daily Baidu Index was used as the substitution variable for tourist arrivals to hot springs and identified an approximately linear relationship between daily average temperature and hot-spring tourism. Tourist arrival increased as the temperature decreased. The significant association between the temperature decrease and volume of tourist arrivals persisted for 2 months. The associations showed significant seasonal variation; for example, summer was found to have the opposite trend. According to the robustness analyses, the results were reliable. This study can help us understand the impact of temperature on tourism and provide useful experience on scenic spots for policymakers to implement adequate measures to cope with temperature variations.

The impact of ambient temperature on economic sectors, especially those involving human behaviour and activities, is not well understood, but tourism is a sector in which this form of research has been conducted more frequently. The decrease in temperature can be perceived by tourists as a potential health risk or disruption to their tourism experience, leading to changes in travel plans (Ciobotaru et al. 2019; Fisichelli et al. 2015; Friedrich et al. 2020; R.-Toubes et al. 2020; Tervo 2008). In contrast, our study found that hot-spring tourism follows the opposite trend. The impact of weather changes on tourist spots is usually considered immediate (Matthews et al. 2021; R.-Toubes et al. 2020). However, a continuous significant association between temperature variations and tourist arrivals at hot springs was observed in our study. Finally, high summer temperatures have a negative impact on most scenic spots (Day et al. 2021; Hewer 2020). Unexpectedly, tourist arrivals to hot springs increased as the temperature increased in summer in the study area.

An increasing number of studies have dealt with several aspects of tourism seasonality, causes, and impacts (Giachino et al. 2020; Lozano et al. 2020; Vatsa 2021). As a natural tourist destination, seasonal peaks in hot-spring spots have been observed worldwide and are widely discussed. For example, Hsieh et al (2008) found that winter is the peak season for hot-spring tourism, whereas summer is the off-season. However, another study found that hot springs have distinct winter and summer seasonal characteristics (Yu and Wang 2020). In the present study, seasonal patterns were also observed in online searches for hot-spring tourism in China (Table 1). According to the analysis, there may be regional differences in the seasonality of hot-spring tourism. Temperature, as the strongest indicator of domestic tourism, may trigger fluctuations in hot-spring tourism (Bigano et al. 2005). Additionally, significant regional differences were observed (Fig. 1). In central, southern, and eastern China, the high-speed economic growth and large populations provide incomparable opportunities for the hot-spring tourism market (Alfarhan et al. 2022; Min et al. 2016).

Based on the push–pull theory (Dann 1981), an influential theory in tourism, factors affecting tourist behaviour can be summarised as push and pull (Wang et al. 2020). Tourist motivations such as cultural experience and physical and mental relaxation belong to ‘push' factors. The attractiveness of the destination, including the environment, food, and distinctive culture, belongs to the ‘pull’ factor (Jafari and Dann 2015). According to the theory, temperature variations in residential locations play a ‘push’ role that can promote the ‘escape’ of tourists from the city. Conversely, a pleasant hot-spring environment plays a positive role in attracting more tourists.

The above discussion clarifies the reason for the significant increase in tourist arrivals at hot springs when environmental temperature decreases. From a biological perspective, possible pathways linking exposure to a low-temperature environment with human discomfort may involve organ injuries caused by a decrease in the core body temperature (Min et al. 2021; Xu et al. 2021). One study suggested that, in temperate regions, warm conditions could promote human thermal comfort (Lin 2009). Hot springs can regulate core body temperature and glucocorticoid concentrations in humans and create physically and mentally pleasant conditions for people in cold environments (Takeshita et al. 2018). The water temperature of hot-spring resorts in China ranges between 30 and 60 °C, and the partial maximum temperature can reach 80 °C (Guo et al. 2020; Wu et al. 2021). This can lead to a warm and comfortable environment under cold weather conditions. Another related study indicated that most hot springs were formed by tectonic terrain depression, which could protect the spa from cold winds in autumn and winter (Valjarević et al. 2017). Therefore, hot-spring spots can provide a suitably warm environment in cold-wave weather, which has a strong ‘pull’ effect on tourists.

Interestingly, the effect of the temperature decrease was less significant in extremely cold weather (below − 10 °C). It is known that people significantly reduce their outdoor activities during extremely cold weather (Alberto et al. 2021). This can improve thermal comfort in severely cold weather and reduce the damage caused by low temperatures (Coccolo et al. 2016; Yin et al. 2021). Furthermore, ice and snow on the roads will cause inconvenience to traffic, which may reduce the desire of people to travel (Datla and Sharma 2010).

Notably, it was observed that the number of tourists visiting hot springs increased significantly with an increase in temperature in summer. Therefore, hot weather may have increased the attractiveness of hot-spring tourism to urban residents. Under global warming, cool-weather tourism has become popular during hot summers (Demiroglu and Hall 2020; Førland et al. 2013). Tourists carefully consider the temperatures of their destinations when planning their travel. The water temperature of hot springs is constant throughout the four seasons. Moreover, hot springs provide good water quality and various chemical ions. In addition, the indoor environment of hot-spring spots can reduce the harmful effects of solar radiation on the human body (Lee et al. 2020). Thus, hot-spring tourism can provide urban residents with a pleasantly cool environment and different types of natural locations in summer, which improves the well-being and vitality of people (Korpela et al. 2017).

As shown in Fig. 3 and Table 3, the relationships between hot-spring tourism and temperature variations are more significant in the summer and winter seasons. The estimations of seasonal differences are consistent with theoretical expectations, illustrating that tourists may have a stronger desire to go to hot springs in extreme temperature weather. This result could be explained by the ‘push’ effect of extreme temperature and the ‘pull’ effect of hot springs. The pursuit of thermal comfort was the primary factor in promoting tourist arrivals (Budiawan and Tsuzuki 2021; Huang et al. 2019). The appeal of hot-spring attractions in extreme temperature weather is widely observed globally (Li and Chi 2014; Takeshita et al. 2018). Thermal sensitivity is another important factor affecting tourists’ intentions. One study on the ‘thermal acceptable range’ showed that the fitted curve of thermal unacceptability and temperature variations is approximately U-shaped (Cohen et al. 2013). Accordingly, people are more sensitive to each 1 °C change in cold and hot seasons, which is consistent with our results.

The above findings indicate that the motivation of tourists may vary with changing seasons. Therefore, hot-spring scenic spots should provide different tourism products and adopt different marketing strategies in different seasons (Grossi and Mussini 2021; Li and Chi 2014). The marketing departments could also develop some cultural and entertainment products to weaken the seasonality of hot-spring scenic spots (Gvozdjáková et al. 2022; Zhang et al. 2022).

Additionally, we observed a continuous significant association between temperature variation and tourist arrivals at hot springs within 2 months. We speculated that some people may not go to hot-spring spots immediately after cooling down but may make travel plans after many weeks. Surprisingly, it was observed that the change in tourist arrivals related to temperature variations was slightly higher in the second month of a 2-month interval. This phenomenon may be caused by multiple visits by local tourists (Tan 2017). These previous visitors may consider a second visit due to attractions or experiences that they missed during their first visit or to relive the experience they had. Thus, repeat visitation is a cost-effective and desirable market segment for the hot-spring marketing department (Maghrifani et al. 2022). The marketing department should formulate strategies to improve repeat tourist engagement, experience, and value cocreation, which may help to increase the number of repeat visits (Rather et al. 2022; Tan 2017). However, these findings remain inconclusive and require further investigation in a larger population.

To the best of our knowledge, this is the first study to examine the effect of ambient temperature on hot-spring tourism in multiple cities in China. This study constructed GAMs to estimate the associations between temperature variations and tourist arrivals to hot springs, providing a new perspective on climate change and tourism research. This result contributes to the tourism industry in three ways: First, such findings provide evidence for tourism authorities to reacquaint themselves with the impacts of weather and adopt coping strategies to increase tourism income. Public authorities can report the influence of weather on different scenic spots via the Internet and help tourists rationally make travel plans (Wang et al. 2020). Second, tourism enterprises should adjust and upgrade their products and services and conduct more publicity to minimise the adverse effects of climate change. For hot-spring spots, health and entertainment elements can be integrated according to the climate to attract potential visitors (Gvozdjáková et al. 2022). Finally, tourists should change their stereotypical attitude of travelling only in fine weather and choose their preferred scenic spots according to different weather conditions.

Despite these important findings, our study had several limitations. First, the effects of temperature variations during different seasons were adequately considered in our study. However, we lacked the characteristics of tourists (demographic and socioeconomic information) and could not explore the impact of weather from more perspectives. Second, we analysed only the overall demand for hot-spring tourism. Therefore, the demand for hot-spring tourism in new markets and for various types of tourism products needs to be further investigated. Third, using the Baidu Index instead of the actual travel data may lead to measurement errors. However, these measurement errors rarely affect the consistency of the estimations, possibly because there is a sufficient empirical basis for employing the Baidu Index as the substitution variable for tourist arrivals. Specifically, existing studies have shown an equilibrium relationship between the Baidu Index and tourist volume (Huang et al. 2017; Li et al. 2020; Yao et al. 2021). Finally, similar to the Baidu Index, social media data, such as those extracted from microblogs and Twitter, might also be utilised.

Conclusion

Based on panel data, this study analysed the association between temperature variations and daily tourist arrivals in hot-spring tourism. We adopted the daily Baidu Index as the substitution variable for tourist arrivals to hot springs. This study suggests that environmental temperature is negatively associated with tourist arrivals at hot springs, where a decreasing temperature leads to an increase in tourist arrivals. However, the effects of temperature variation differ depending on the season. Moreover, the significant association between temperature variation and tourist arrivals is continuous. These findings could provide valuable information on hot-spring spots, which may have implications for travel agencies that manage tourist visits.