Next Article in Journal
Testing Different Interpolation Methods Based on Single Beam Echosounder River Surveying. Case Study: Siret River
Next Article in Special Issue
A GIS-Based Multi-Criteria Decision Analysis Model for Determining Glacier Vulnerability
Previous Article in Journal
Spatiotemporal Distribution of Nonseismic Landslides during the Last 22 Years in Shaanxi Province, China
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Analyzing the Spatiotemporal Patterns in Green Spaces for Urban Studies Using Location-Based Social Media Data

1
School of Communication & Information Engineering, Shanghai University, Shanghai 200444, China
2
Institute of Smart City, Shanghai University, Shanghai 200444, China
*
Author to whom correspondence should be addressed.
ISPRS Int. J. Geo-Inf. 2019, 8(11), 506; https://0-doi-org.brum.beds.ac.uk/10.3390/ijgi8110506
Submission received: 29 August 2019 / Revised: 2 November 2019 / Accepted: 6 November 2019 / Published: 10 November 2019
(This article belongs to the Special Issue GIS-Based Analysis for Quality of Life and Environmental Monitoring)

Abstract

:
Green parks are vital public spaces and play a major role in urban living and well-being. Research on the attractiveness of green parks often relies on traditional techniques, such as questionnaires and in-situ surveys, but these methods are typically insignificant in scale, time-consuming, and expensive, with less transferable results and only site-specific outcomes. This article presents an investigative study that uses location-based social network (LBSN) data to collect spatial and temporal patterns of park visits in Shanghai metropolitan city. During the period from July 2016 to June 2017 in Shanghai, China, we analyzed the spatiotemporal behavior of park visitors for 157 green parks and conducted empirical research on the impacts of green spaces on the public’s behavior in Shanghai. Our main findings show (i) the check-in distribution of users in different green spaces; (ii) the seasonal effects on the public’s behavior toward green spaces; (iii) changes in the number of users based on the hour of the day, the intervals of the day (morning, afternoon, evening), and the day of the week; (iv) interesting user behavior variations that depend on temperature effects; and (v) gender-based differences in the number of green park visitors. These results can be used for the purpose of urban city planning for green spaces by accounting for the preferences of visitors.

1. Introduction

Urban green spaces and public green parks are strategically important for the quality of life in our increasingly urbanized society. Indeed, increasing empirical proof has shown that the existence of natural resources (e.g., parks, forests, and green spaces) and components (e.g., plants and water) in urban environments contribute to living standards in many aspects, including the purification of air and water, the filtration of air and noise, and the stability of the microclimate [1]. Urban areas currently account for half of the global population and are expected to grow to two-thirds of the world’s population by 2050 [2]. With this fast urbanization of cities, an emphasis is being placed on ensuring the well-being of urban residents [3]. In response, urban planners are attempting to integrate green places into urban areas since green spaces are believed to enhance the health and quality of life of residents in urban areas. Many urban planners and decision-makers have intended to make residential public spaces livable [4]. Livability, however, is highly dependent on the values of the people and their expectations, so planners must try to understand these expectations on an individual scale [5]. In urban environments, parks play a multipurpose role that offers social, financial, and environmental benefits [6]. In the 19th century, the first public open spaces were developed in the United Kingdom and the United States with the objective of improving the health and dignity of the working class who were living in miserable conditions [7]. The value of green spaces was also expressed in the latest UN Sustainable Development Goals, which include the specific objective of providing all urban inhabitants with affordable green spaces [8]. Given the significance of green spaces, researchers have also shown interest in this subject, increasingly so in recent years [9].
Every city is special in its features, and this complexity is a fundamental aspect of all cities [10]. One complicating aspect is the continuous mobility of hundreds of thousands or even millions of individuals who are spending more time in public areas, such as green parks. In addition, urban green spaces affect people differently [11], partially as environmental services [12]. It is apparent that access to green spaces or parks is directly linked to the well-being of urban residents in terms of physical and mental health [13]. This influence is evidenced by changes in air quality [14], climate [15], social cohesion [16], and stress mitigation [17]. Features and facilities [18], security and access [19], or even area or perceived greenness [20] are the most appropriate considerations for parks. In designing livable, sustainable, and healthy cities, accessibility to urban green spaces is becoming increasingly relevant [21,22]. National Recreation and Park Association (NRPA) has stated that parks and recreation have three characteristics that make them vital services in societies: economic value, environmental and health advantages, and social importance [23]. According to Casandra Campbell [24], parks serve eight important functions: rainwater collection, minimization of the urban heat island effect, community center, breathable air, mental health improvement, a place for physical exercise, a place for children to be outside, and protection of natural ecosystems.
Parks or green areas are surely the best way to motivate individuals to become involved in physical activities. In this study, we examined the spatiotemporal behavior of visitors to green parks. We assessed 157 parks with about 30,000 user check-ins using a location-based social network (LBSN) service called Sina Weibo, also referred to as Weibo [25]. Established in August 2009, Weibo is among the largest social media platforms and a popular microblogging site in China that enables users to post their day-to-day activities to share with their social group. The word “check-in” indicates that a user voluntarily shares or confirms his or her location on the LBSN by broadcasting where they are—generally through a location-sensing mobile device—while engaging in some activity [26].
In this empirical research, we aimed to investigate the impacts of green space visits on the check-in behavior of users. We used a sample of data to study green park-related check-in behavior, such as liking and disliking, as a representation of the general public’s behavior or interests in certain activities while utilizing park facilities. In the same manner, we aimed to answer the following study questions: (i) What are the spatial characteristics of the selected parks, and how do these characteristics relate to park visits? (ii) How does the time of day and season of visits to green spaces affect the general public’s behavior toward parks? (iii) How does the temperature affect the general public’s behavior toward green park visits? In order to better understand the connection between green space and user behavior, we investigated the spatiotemporal patterns of users in urban green spaces using a large-scale dataset from July 2016 to June 2017. The study was carried out within the municipal boundaries of Shanghai city located to the southeast of China. Our main findings show the check-in distribution of users in different parks and interesting changes in behavior depending on the time of day in 24 h, the interval of the day, and the day of the week. In addition, we explored seasonal effects on the public’s behavior toward green spaces to reflect real-life trends. By studying these factors, the utilization of urban green space and its variation over a range of temporal scales can be examined. This approach to capturing the behavior of visitors in urban green space is an effort to overcome constraints in previous studies. This strategy paves the way for using crowdsourced and social network data in socio-ecological research rather than relying on the outcomes of subjective reporting and observational data.
The rest of this paper is organized as follows. Section 2 presents an overview of studies on green parks. Section 3 describes our study area and the dataset that we used for our research. In Section 4, we discuss the process of dataset collection and the analysis framework, and Section 5 highlights the outcomes of our research using Weibo data. Section 6 provides a discussion on the obtained results, and finally, Section 7 concludes and summarizes the paper and describes future work.

2. Related Work

The population pressure has risen in metropolitan areas worldwide, with individuals thronging the cities in search of a better life. The total population in urban areas in 2019 is estimated to be 2.26 billion, 53% of the world’s urban population [27]. There is no doubt that urbanization has an important effect on ecology, economy, and society at local, regional, and global scales. Studies have noted the major effect of urban green areas, including urban forestry, green parks, play areas, domestic gardens, open areas along the road, and urban vegetation [28]. Besides their intrinsic advantage, they also promote the construction of high-quality human settlements since green spaces serve as the city’s “lungs” [29]. Given the significance of green areas, they have attracted researchers’ interest in recent years [30]. Previous research has addressed the expressive advantages of green spaces in urban regions [31]. These studies have mainly employed user polls, questionnaires, and case studies, which are traditionally either small in scale or require explicit user involvement. Furthermore, these traditional techniques often make it time-consuming and expensive for investigators to conduct a participant-involved longitudinal study or fine-grained research.
Parks also encourage people to experience open spaces for leisure practices that support emotional stability and enhance the standard of life [32]. In other words, the accessibility of affordable and pleasant green spaces is an essential component of urban living standards. In the urban framework, green spaces provide areas such as parks, gardens, urban forests, nature preserves, waterway paths, and playgrounds, as well as other casual green areas [33]. Unplanned and unofficial settlements in most developing cities have led to increased social and spatial inequality, consumption of resources, and environmental destruction [34]. Accessibility can be simply defined by how quickly or far an individual has to travel. In densely populated regions, when park facilities satisfy high requirements for park services, the supply is considered sufficient; therefore, the accessibility in these places is considered convenient. This shows that parks are accessible if they are planned according to the spatial distribution and population of the urban area [35].
Over the past few years, various analytical attempts to use social media data have been made for urban planning purposes, and the fields of application are vibrant and increasing, varying from simple tasks to rather complex analysis, such as urban shape and function identification. In particular, Weibo, Facebook, Twitter, and other big data platforms have been used to evaluate human behavior and mobility, with measurements varying from inter-urban to global [36] since it is almost impossible to identify finer temporal and spatial levels of these two phenomena using traditional techniques, such as survey questions or in-situ observations. In addition, LBSN data can be used for sociospatial analysis [37] with methods such as the extraction of users’ tweet content or the exploration of emotions and their differences over time and space [38] while also considering health aspects, such as diet or physical exercise. Campagna [39] proposed the concept of “Social Media Geographic Information” as a means of investigating “people’s perceptions” and people’s views and interests in time and space to support spatial scheduling and geo-design using spatiotemporal analysis. With data sources other than surveys, such as mobile data, it is possible to more appropriately describe the spatiotemporal aspects of the urban setting [40].
The accessibility of data has been the main obstacle in LBSN studies, mainly because of personal privacy and security. With the capability of LBSNs, sharing the current geolocation of users and their friends introduces major concerns about users’ privacy. Privacy is a matter of not only the individual but also organizational or institutional users who share their details in LBSNs. Sometimes, users share their private data voluntarily, while other times, the data can be obtained extrinsically by providing some rewards and advantages to users for their information. The location of a user can be identified through LBSN services such as WeChat Nearby, Google Latitude, and Fire Eagle. Some LBSN services provide features that identify his or her friend’s location, as well [41].
The kernel density estimation (KDE) approach has been used for the spatial modeling of geolocation data, and it provides a more general and flexible framework for spatial density estimation. KDE has been used to examine environmental characteristics such as health resources [42], the food environment [43], and park access. It increases the access count or distance measurements by converting point data into something akin to a continuous surface and permitting the density of a feature to be estimated at any point on the surface of the map [44]. The authors in [45] researched connections between destination allocation, walking speed, and sufficient physical activity using KDE. KDE has also been used to study the allocation of locations such as food shops in relation to variables such as Body Mass Indexing (BMI) [46], obesity [47], and nutritional intake [48]. In [49], the researchers used the KDE method to investigate the comparative significance of external factors linked to the spatial and temporal distribution of users in urban green areas. Given the good spatial and temporal scale, the detection and assessment of incidents or disasters and their impact on regular urban planning routines are another excellent potential use of social media network data [50].

3. Materials

3.1. Study Area

This work used Shanghai City as a case study since it is one of China’s fastest-developing cities [51]. Shanghai, China, is situated at the eastern edge of the Yangtze River Delta between 30°40′–31°53′ N and 120°52′–122°12′ E [52,53]. Regarded as the financial center of China, Shanghai is also known as the world’s most populous “city proper”, with a population growth rate of 37.53% from 16,737,734 in 2000 and 6.6 million individuals moving to the city every year. With 6000 individuals per square kilometer in 2012, the population of Shanghai is also significantly greater than that of other major cities in the world, such as New York (1800/km2), Paris (3800/km2), and Tokyo (4300/km2) [27]. The migration rate increased from 18.6% in 2000 to 39% in 2010 [54]. The municipal government of Shanghai is placing a strong emphasis on providing the local ecological system with green recreational services and adding important public benefits, including access to clean air, increased recreation, and aesthetic enjoyment. In 2011, the green spaces in the city of Shanghai exceeded 37.1 km2, which is twice that in 1997, according to statistical yearbooks of Shanghai (2000–2011). Further, from 2000 to 2011, the green coverage percentage increased from 22.2% to 38.2%, while the green area per capita grew to 13.1 m2 from 4.6 m2 in 2000 [55].
This research was carried out in the metropolitan city of Shanghai, and the study area comprised 15 districts and 1 county, namely, Baoshan, Changning, Fengxian, Hongkou Huangpu, Jiading, Jingan, Jinshan, Minhang, Pudong New Area, Putuo, Qingpu, Songjiang, Yangpu, Xuhui, and Chongming, as shown in Figure 1.
“Urban Green Space Classification Standard China” [56] describes urban green spaces as recreational amenities and facilities available to the public, and they are primarily used for environmental improvement and disaster prevention and minimization. Urban green areas can be categorized into green parks, green spaces on the road, and belt-shaped spaces. Green parks facilitate recreational activities, and they are large in scale and appropriate for outdoor activities. Moreover, green parks primarily offer physical activities to urban residents [49].

3.2. Dataset

The dataset used for our research was collected from the Weibo Chinese microblog. Shortly after its launch on 14 August 2009, Weibo, one of the largest LBSNs in China, saw an exponential boom in activity and awareness and has now reached maturity. We used Weibo data not only because it is one of the most important LBSNs but also because it includes geodata of distinct modalities and offers different social features that encourage individuals to check in constantly and frequently. Weibo declared that, in 2018, they had more than 500 million registered users actively using the platform; in December 2018, the number of monthly active users hit 462 million [57]. Furthermore, we focused on users who frequently use the Weibo service to investigate user activity patterns. The data gathered from the LBSN service involve serious concerns about privacy and limitations. In China, it is very difficult to find open and reliable data that report geolocations. For this research, the LBSN dataset was taken from Weibo during the period between July 2016 and June 2017. Weibo is an open geodatabase and can be accessed using a python-based Weibo application programming interface (API) [58].
The Weibo dataset contains information that includes user ID, time and date of activity, as well as additional data such as geolocations (longitude and latitude) and location names, but no personal information is accessible for the privacy of users. Weibo check-ins record the user’s daily activity patterns and their behaviors, which depict the everyday operations of users. Shanghai was selected as the study area because of the huge number of Weibo check-ins and more active users in this city. Within the administrative boundaries of Shanghai, we gathered 29,890 check-ins in 157 parks using the Weibo API. Weibo data were preprocessed to remove noise, wildcard entries, duplications, and invalid records. For data preprocessing and cleaning, the following criteria were taken into consideration:
  • The geographical location of the data must be in Shanghai;
  • The minimum number of check-ins per park must be 100 in the study period;
  • Each record must be geolocated (latitude and longitude), and the time, day, month, year, and gender must be included.
The temperature dataset was acquired from the U.S. National Oceanic and Atmospheric Administration (NOAA) National Climatic Data Center. A global land-based observation station in Shanghai records historical meteorological data that can be downloaded from the NOAA online repository. An example of a temperature dataset can be seen in Table 1.

4. Methodology

4.1. Data Preparation

Check-in data are available to the public via the Weibo API. Therefore, data downloading and subsequent evaluation do not infringe on the privacy of users. The data collection includes all the check-ins made within the Shanghai boundary from 1 July 2016 to 30 June 2017. The downloaded data are available in multiple JavaScript Object Notation (JSON) files. Figure 2 reflects the process flow of data preparation.
JSON is a Java programming platform format that is the most widely used data format, and Java is regarded as the main programming language with open-source public reader and writer modules [59]. The data were processed into a comma-separated values (CSV) format file through MongoDB so that all user information, including geolocations, were listed irrespective of the publication time. The data were stored as shown in Figure 2. For databases and spreadsheets, CSV format is the most common and important format and distinguishes commas as delimiters of different values. Keys (ID, Latitude, Longitude, etc.) in JSON file format are used as headers for the CSV file format, and values (5404478798, 121.544449, 31.268159, etc.) are descriptive data. Table 2 presents an example of “check-in” data in the CSV file.
Given the heterogeneity issue, it was necessary to select only parks with more than 100 check-ins to constitute the sample of users in order to ensure a relatively high level of representativeness. After retrieving all the locations of parks, every park location was found using Google Maps to verify the effectiveness of our data. After checking it through Google Maps, we found some location IDs such as parking areas that were not part of any green park, so we removed these location IDs from our research.

4.2. Social Media Data Analytics

The distribution of Weibo users affects the spatiotemporal distribution of check-in data [60]. In this section, we highlight the general framework of the spatiotemporal heterogeneity of Weibo users’ distribution, as shown in Figure 3. We describe the spatiotemporal analysis that was conducted to verify the effectiveness of our study and obtain the temporal and spatial results from our research in this data analytics framework.
The number of users in urban green areas in one year was gathered as statistical data. From the data, a spatiotemporal analysis was carried out using statistical graphs and tables, and the distribution of check-ins was analyzed by applying the KDE method.

4.2.1. Statistical Analysis

Statistical Package for Social Sciences (SPSS v25) was used to perform statistical analysis. SPSS is a commonly used program in social science for statistical analysis. This statistical software can solve a range of study issues and is used by industry and health researchers, survey firms, government educational experts, marketing agencies, data mining companies, and many others. It offers a variety of functions, including ad hoc analysis, hypothesis checking and reporting, and data management simplification. SPSS Statistics provides a base edition to improve predictive analytic capacities with optional add-ons.
Table 3 shows the correlation between the variables used in this study and reveals that the variables are significant.
Table 4 shows the descriptive statistics for correlated variables and demonstrates that there is no skewness in our data.
Table 5 shows the descriptive statistics and reveals that there is no irrelevance. The data seem to be normally distributed about the mean.
Table 6 indicates the check-in frequencies throughout the year.

4.2.2. Temporal Analysis

In order to trace the changes in visitor behavior, we divided timestamps with check-ins into different temporal categories. Daily trends indicate the hourly distribution of check-ins throughout the day. We aggregated the distribution into three different time intervals, that is, morning, afternoon, and evening. The weekly trend determines whether green parks are more utilized on weekends than during the week on the basis of recorded check-ins. Seasonal patterns and climate factors can affect the functionality of a park. Winter patterns can provide fascinating data because a park works well if it can also attract visitors during the colder seasons. We did not describe seasons by specific dates in our study but instead used simpler groupings of months: March–May is spring; June–August is summer; September–November is autumn; and December–February is winter.

4.2.3. Spatial Analysis

We used KDE in order to construct a smooth density surface in geographic space for check-in hotspots. KDE is a nonparametric technique for the density estimation of a random data sample [61]. Each data point is smoothed by KDE in a small density bump, and then all these small bumps are combined to achieve a final density estimate. It is an evolving spatial technique that has been implemented in previous studies [62,63] to examine multiple elements of big data analysis, such as human influence and movement patterns [64], check-in behavior [65], the definition of area boundaries [66], and recommended points of interest [67]. It has also been used to analyze characteristics of the environment, such as the food environment, health resources [43], and park access [68]. This approach allows investigators to more intensively identify destinations that are widely distributed and their range of distribution because it examines the distribution of locations in neighborhoods.
KDE is an efficient measurement of the spatial structure of visitor density within the study area. KDE is a statistical approach used to estimate a smooth and continuous distribution from a limited set of observed points [69]. The data considered in our study are in the form of geotagged check-ins. Let “E” be a collection of historical check-in data, i.e., E = {e1, . . . . . , en}, where ei = < x, y > is a check-in geolocation, 1 < i < n, of individual i at time “t”, where “E” represents the dataset that we used. The sum of the functions of the kernel was scaled to create a smooth curve that is an area of the unit. This results in the following form of a KDE bivariate:
f K D ( e | E , h ) = 1 n   i = 1 n K h ( e , e i )
K h = 1 2 π h exp ( 1 2 ( e , e i ) t h 1 ( e , e i ) )
where “e” refers to the check-in location in dataset “E”, along with the bandwidth “h”. “h” is assumed to be dependent on the estimated density “fKD”, thereby generating a smooth density surface around “E” at the data point “ei”.
ArcGIS 10.0 was used for spatial analysis in order to analyze the spatial distribution of check-ins in space. ArcGIS 10.0 (Environmental Systems Research Institute, Inc., Redlands, CA, USA) software with a Shanghai map generated in 2016 with Geodetic Coordinate System WGS_1984 was used. Base map hierarchical data include the major transport lines (line layer) and administrative units (polygon layer, along with district layers), with the latest subway lines and entrances (point layer) from OpenStreetMap.

5. Results

Shanghai City is among the world’s fastest-growing cities, with a population of 22,125,000 in an area of 4,015 square kilometers [27]. The total number of green spaces in the Shanghai municipal boundaries is 366 [55], which motivates the residents of the city to engage in healthy activities. After filtering the data collected from Weibo, 157 green parks were selected for this study.
The distribution of green parks considered in this study can be seen in Figure 4, which clearly indicates that the parks are sparsely distributed all over Shanghai City, except for the downtown area, which includes the districts Changning, Hongkou, Huangpu, Jingan, Pudong New Area, Putuo, and Xuhui [58].
For a more specific overview of green parks’ distribution in Shanghai City, the green parks were broken down to the district level. Figure 5 shows that the distribution of parks in the district of Pudong is the highest, followed by the district of Minhang. One reason for such behavior is that these districts are larger in size compared with the other districts. Another point to be noted is that the distribution of parks is higher in the downtown area compared with suburban areas.
To examine the Weibo geolocation check-in dataset, we used KDE to analyze the spatial distribution of check-in data, and ArcGIS was used for visualization. Figure 6 shows the overall check-in density in Shanghai from July 2016 to June 2017. The areas shaded in red indicate a higher density of people, higher activity frequency, and higher concentration of social media use. It is no surprise that the green spaces in the city center have large clusters of activity.
To analyze visitors’ temporal distribution features, we split a day into three intervals according to the rhythms of daily life. In 157 urban green parks, we analyzed the numbers of visitors according to daily time intervals, namely, morning, afternoon, and evening, to measure temporal differences and variations during a 24 h day.
Figure 7 reveals temporal differences in the number of visitors in 24 h and in three intervals of the day. Among the parks considered in the research, visitors were present during all three intervals of the day, but the highest number of check-ins was recorded at 16:00. The trend also continuously increased until midnight. This finding shows that green parks in Shanghai have rapidly become important recreational destinations for Shanghai citizens.
The weekly patterns are quite normal, with nearly the same numbers of check-ins for each weekday and a much higher number on weekends. Figure 8a presents the general weekly check-in pattern, which indicates that female users prefer to use Weibo more than male users throughout the week and on weekends.
We analyzed gender (male and female) data in Shanghai to explore differences in check-in frequency and behavior. Figure 8b reveals the gender check-in density in Shanghai. It is noted that female visitors prefer to use Weibo compared with male visitors; therefore, the outcome in Figure 8a is supported.
Male and female user check-ins were compared for different days of the week as well as different districts to evaluate the variation between male and female users in Shanghai. We used the relative difference (dr) [70] to calculate gender-based differences for different Shanghai districts and different days of the week. This metric is mostly used as a quantitative indicator of quality control and quality assurance and is determined as follows.
d r = | P m P f | ( | P m | + | P f | 2 )
Table 7 and Table 8 show the outcomes of the relative difference measured by using differences between male and female users for different days of the week and districts. The results are displayed at the cumulative level. We computed the gender differences in the number of check-ins by day of the week and districts as a percentage of total accumulated check-ins generated in the study period. Table 7 shows the relative differences for the days of the week, which were computed using Equation (3). For Tuesday and Friday, the comparative difference values are considerably higher than the values for other days.
The results in Table 8 show that the gender difference in the number of check-ins is relatively significant in the districts Fengxian, Qingpu, and Xuhui. The results indicate that female users are much more likely than male users to use Weibo on all days of the week and in all districts. In addition, as shown in Figure 6, a high concentration of check-ins is located at the district boundaries linked to the center of the city. One of the reasons could be the availability of financial and commercial activities. Finally, all the findings indicate that female users are more likely than males to use Weibo in our study area.
Table 9 demonstrates the mean and standard deviation among the various district groups and shows the distribution and spread of male and female users around the mean. The number of females in each district is higher than that of males, and significant variation is found in the sample.
Seasonal variations in visitors to green parks for autumn, winter, spring, and summer were examined. Prominent seasonal variations in user check-ins were identified, and several factors were explored in an attempt to explain these variations, in accordance with similar studies [5,71]. The seasonal distribution in Figure 9 shows that a greater proportion of check-ins are made in parks during summer and spring. It is interesting to note that winter check-ins are slightly lower than autumn check-ins.
Previous research has shown that the influence of temperature varies in relation to park visitors and physical activities. Some studies have identified temperature as an important factor for explaining the variability in park visits between seasons [30].
Figure 10 shows the overall park visiting behaviors during the study period. The temperature has a significant effect on the frequency of check-ins for each month. There are many factors that can influence the determination of an individual’s reaction to the climate and its impact on a person’s involvement in outdoor activities. The check-ins are much higher during the months of April, May, and June, which supports the results for seasonal variation that indicate that spring and summer have a large number of check-ins.

6. Discussion

The analysis reveals that Weibo data constitute a useful resource for assessing the features of urban green parks and analyzing spatiotemporal aspects. The benefit of using social media data for analyzing urban green space is that we can extract qualitative and large-scale information for a whole city in more detail.
Some green parks in Shanghai are always crowded, whereas others have fewer visitors. This research aimed to determine the behavioral modifications of park visitors by verifying that the use of green spaces can be influenced by weather or seasons. We investigated the spatiotemporal pattern of the distribution of check-ins in green parks in Shanghai. In this research, we performed an in-depth empirical analysis of check-in behavior using trend graphs and density maps constructed from LBSN data. The spatiotemporal patterns of check-ins were investigated from different perspectives, including differences based on gender, day of the week, and hour of the day. From the temporal perspective, the number of visitors in green parks varied within the day and among the three intervals of the day. From the spatial perspective, the level of spatial agglomeration in urban green parks was greater in the center of the city because this is also the center of activity for other activities [58]. In particular, spatial agglomeration was the highest in the districts Changning and Hongkou.
This study used geotagged social media check-in data as a proxy to estimate the number of urban park visits in Shanghai, which was used as a case study. This technique is more time-efficient than time-and labor-intensive surveys and can provide exceptional spatial coverage. However, this technique has its own constraints. We did not have access to observed visitor rates, so we were unable to assess whether there was a strong correlation between check-in data and visitations observed in the planning and evaluation of urban areas. The connection between the check-in frequency of Weibo and actual visitation may vary across green parks. A major issue is that, in contrast to traditional census data, social media data generally do not directly provide certain demographic information such as ethnicity and marital status. However, there are ways to extract these variables indirectly [37].
The key reasons for increasing urbanization are the ever-growing population and booming industrialization [72]. Despite the potential of LBSN data to assess the characteristics of urban parks and analyze spatial, temporal, and content-specific aspects, the representativeness of the gathered information does have limitations due to contradictions in the georeferenced locations of the users. However, we can infer that at least the population extremes in age (very young and old) and social situations minimize the use of LBSNs; therefore, their influence on the general public’s behavior is minimal in the data. In urban planning and the analysis of urban green parks, geotagged data and demographic data, such as age and ethnicity, are significant factors. It is a problem that social media data typically do not directly provide information that includes names, home addresses, phone numbers, or email addresses—all of which are attainable from conventional census data—but there are ways to collect this information indirectly [37]. In our case, besides the general representativeness issue, the main limitation is the low number of check-ins per user while visiting a park. This resulted in a less than an ideal number of data points per user.
To the best of our knowledge, this research might be the first case study using Weibo data to analyze the use of urban green parks by using check-in behavior for a large number of green parks in Shanghai. The broad spatial coverage of this study provides useful information that could enhance urban green space planning and development in other large cities. The efficient use of urban green areas has substantial potential to encourage moderate to vigorous physical activities among urban inhabitants. These results emphasize the significance of the use of urban green parks in order to improve the health of urban residents around the world.

7. Conclusions and Future Work

Urban green spaces are areas in which people can participate in health-enhancing physical activities. Using geotagged data from social media platforms to evaluate the variation in visitation allows for the coverage of a larger geographical area compared with conventional techniques, such as visitor surveys and on-site counting. We analyzed the spatiotemporal pattern of urban green areas in Shanghai by using a Weibo dataset. In the present research, which used intensity maps and trends using LBSN data, we conducted an in-depth empirical analysis of check-in behavior. The findings reveal the check-in distribution of users in parks, and the results show that the parks located in the downtown area are more crowded than parks in other districts. The analysis of the seasonal effects on the public’s behavior toward green parks indicates that the number of check-ins is much higher in spring and summer than autumn and winter. The number of Weibo users based on the hour of day and interval of the day (morning, afternoon, evening) reveals that the peak time of park utilization is from noon to the evening. Interesting variations in user behavior based on temperature effects were observed, and the patterns show that April, May, and June are the most popular months in terms of check-ins. Finally, gender-based differences in green park visitors were calculated, and results show that female users are more active in their utilization of social media services while visiting green parks. More facilities such as transport and the area of the park can attract more visitors since this study shows that the visitors to parks in the downtown area are denser compared with other regions. These results can be helpful in urban city planning for green spaces by accounting for the priorities of visitors.
Further research can be carried out using the technique and outcomes of this study. Possible future directions for measuring the patterns of recreational visits to urban green parks include the use of geotagged photographic data to establish patterns of recreational activities. The current research approach can provide more informative results for the behavioral transitions of park visitors if user-profile information such as age, income, marital status, and hometown city can be acquired in the future. Similarly, social media content posted by park users can be further interpreted to help recognize the emotions or feelings of visitors and assess the numerous advantages that urban parks provide. Furthermore, similar research can be carried out in other megacities to evaluate common problems that affect the use of urban green spaces.

Author Contributions

Hidayat Ullah and Wanggen Wan conceived the research; Hidayat Ullah and Saqib Ali Haidery designed the research; Hidayat Ullah, Saqib Ali Haidery, Naimat Ullah Khan, Zeinab Ebrahimpour and Tianhang Luo performed the simulations; Hidayat Ullah and Saqib Ali Haidery wrote the article and Wanggen Wan proof read the article for language editing. All authors read and approved the final manuscript.

Funding

This work was supported by the National Natural Science Foundation of China (61711530245) and a project of Shanghai Science and Technology Commission (18510760300).

Conflicts of Interest

The authors declare no conflict of interests.

References

  1. Mougiakou, E.; Photis, Y.N. Urban green space network evaluation and planning: Optimizing accessibility based on connectivity and raster GIS analysis. Eur. J. Geogr. 2014, 5, 19–46. [Google Scholar]
  2. UN. World Urbanization Prospects; UN: New York, NY, USA, 2018. [Google Scholar]
  3. Hartig, T.; Kahn, P.H. Living in cities, naturally. J. Sci. 2016, 352, 938–940. [Google Scholar] [CrossRef] [PubMed]
  4. Kashef, M. Urban livability across disciplinary and professional boundaries. Front. Archit. Res. 2016, 5, 239–253. [Google Scholar] [CrossRef] [Green Version]
  5. Kovacs-Györi, A.; Ristea, A.; Kolcsar, R.; Resch, B.; Crivellari, A.; Blaschke, T. Beyond spatial proximity—Classifying parks and their visitors in London based on spatiotemporal and sentiment analysis of Twitter data. ISPRS Int. J. Geo Inf. 2018, 7, 378. [Google Scholar] [CrossRef]
  6. Saleem, A.; Kamboh, K. Why people visit parks? The role of gender, age and education among urban park visitors in Faisalabad. Int. J. Asian Soc. Sci. 2013, 3, 2196–2203. [Google Scholar]
  7. Giles-Corti, B.; Broomhall, M.H.; Knuiman, M.; Collins, C.; Douglas, K.; Ng, K.; Lange, A.; Donovan, R.J. Increasing walking: How important is distance to, attractiveness, and size of public open space? Am. J. Prev. Med. 2005, 28, 169–176. [Google Scholar] [CrossRef] [PubMed]
  8. UN Sustainable Development Goals. Available online: http://www.un.org/sustainabledevelopment/cities/ (accessed on 5 April 2019).
  9. Dadvand, P.; Sunyer, J.; Alvarez-Pedrerol, M.; Dalmau-Bueno, A.; Esnaola, M.; Gascon, M.; Pascual, M.D.C.; Basagaña, X.; Morgan, I.G.; Nieuwenhuijsen, M.J. Green spaces and spectacles use in schoolchildren in Barcelona. Environ. Res. 2017, 152, 256–262. [Google Scholar] [CrossRef] [PubMed]
  10. Batty, M. The New Science of Cities; Mit Press: Cambridge, MA, USA, 2013. [Google Scholar]
  11. Keniger, L.; Gaston, K.; Irvine, K.; Fuller, R. What are the benefits of interacting with nature? Int. J. Environ. Res. Public Health 2013, 10, 913–935. [Google Scholar] [CrossRef] [PubMed]
  12. Costanza, R.; d’Arge, R.; De Groot, R.; Farber, S.; Grasso, M.; Hannon, B.; Limburg, K.; Naeem, S.; O’neill, R.V.; Paruelo, J. The value of the world’s ecosystem services and natural capital. Nature 1997, 387, 253. [Google Scholar] [CrossRef]
  13. Sturm, R.; Cohen, D. Proximity to urban parks and mental health. J. Ment. Health Policy Econ. 2014, 17, 19. [Google Scholar] [PubMed]
  14. Wolch, J.R.; Byrne, J.; Newell, J.P. Urban green space, public health, and environmental justice: The challenge of making cities ‘just green enough’. Landsc. Urban Plan. 2014, 125, 234–244. [Google Scholar] [CrossRef]
  15. Maimaitiyiming, M.; Ghulam, A.; Tiyip, T.; Pla, F.; Latorre-Carmona, P.; Halik, Ü.; Sawut, M.; Caetano, M. Effects of green space spatial pattern on land surface temperature: Implications for sustainable urban planning and climate change adaptation. ISPRS J. Photogramm. Remote Sens. 2014, 89, 59–66. [Google Scholar] [CrossRef] [Green Version]
  16. Chiesura, A. The role of urban parks for the sustainable city. Landsc. Urban Plan. 2004, 68, 129–138. [Google Scholar] [CrossRef]
  17. Tyrväinen, L.; Ojala, A.; Korpela, K.; Lanki, T.; Tsunetsugu, Y.; Kagawa, T. The influence of urban green environments on stress relief measures: A field experiment. J. Environ. Psychol. 2014, 38, 1–9. [Google Scholar] [CrossRef]
  18. Bedimo-Rung, A.L.; Mowen, A.J.; Cohen, D.A. The significance of parks to physical activity and public health: A conceptual model. Am. J. Prev. Med. 2005, 28, 159–168. [Google Scholar] [CrossRef] [PubMed]
  19. Takano, T.; Nakamura, K.; Watanabe, M. Urban residential environments and senior citizens’ longevity in megacity areas: The importance of walkable green spaces. J. Epidemiol. Community Health 2002, 56, 913–918. [Google Scholar] [CrossRef] [PubMed]
  20. Kothencz, G.; Blaschke, T. Urban parks: Visitors’ perceptions versus spatial indicators. Land Use Policy 2017, 64, 233–244. [Google Scholar] [CrossRef]
  21. Transforming Our World: The 2030 Agenda for Sustainable Development. Available online: https://sustainabledevelopment.un.org/post2015/transformingourworld/publication (accessed on 14 June 2019).
  22. United Nations General Assembly Transforming OurWorld: The 2030 Agenda for Sustainable Development. 2015.
  23. Brantly, H.B. National Recreation and Park Association (NRPA). Vis. Leis. Bus. 1983, 2, 14. [Google Scholar]
  24. Casandra, C. 8 Reasons Why Parks are Important. Available online: http://www.gardinergreenribbon.com/why-parks-are-important/ (accessed on 14 May 2019).
  25. Weibo. Available online: https://www.weibo.com (accessed on 25 June 2019).
  26. Zhen, F.; Cao, Y.; Qin, X.; Wang, B. Delineation of an urban agglomeration boundary based on Sina Weibo microblog ‘check-in’data: A case study of the Yangtze River Delta. Cities 2017, 60, 180–191. [Google Scholar] [CrossRef]
  27. Demographia World Urban Area, 2019. Available online: http://www.demographia.com/db-worldua.pdf (accessed on 14 June 2019).
  28. Ummeh, S.; Toshio, K. Classification of Urban Parks and their Regional Characteristics in Dhaka City, Bangladesh. J. Environ. Sci. Eng. 2017, B6, 41–54. [Google Scholar]
  29. Jim, C.Y.; Chen, W.Y. Perception and attitude of residents toward Urban green space in Guangzhou (China). Environ. Manag. 2006, 38, 338–349. [Google Scholar] [CrossRef] [PubMed]
  30. Wang, Y.; de Groot, R.; Bakker, F.; Wörtche, H.; Leemans, R. Thermal comfort in urban green spaces: A survey on a Dutch university campus. Int. J. Biometeorol. 2017, 61, 87–101. [Google Scholar] [CrossRef] [PubMed]
  31. Hartig, T.; Mitchell, R.; De Vries, S.; Frumkin, H. Nature and health. Annu. Rev. Public Health 2014, 35, 207–228. [Google Scholar] [CrossRef] [PubMed]
  32. Lee, G.; Hong, I. Measuring spatial accessibility in the context of spatial disparity between demand and supply of urban park service. Landsc. Urban Plan. 2013, 119, 85–90. [Google Scholar] [CrossRef]
  33. La Rosa, D. Accessibility to green spaces: GIS based indicators for sustainable planning in a dense urban context. Ecol. Indic. 2014, 42, 122–134. [Google Scholar] [CrossRef]
  34. Gould, P.R. Spatial Diffusion, Resource Paper No. 4; Association of American Geographers: Washington, DC, USA, 1969. [Google Scholar]
  35. Wolch, J.; Wilson, J.P.; Fehrenbach, J. Parks and park funding in Los Angeles: An equity-mapping analysis. Urban Geogr. 2005, 26, 4–35. [Google Scholar] [CrossRef]
  36. Hasan, S.; Ukkusuri, S.V. Urban activity pattern classification using topic models from online geo-location data. Transp. Res. Part C Emerg. Technol. 2014, 44, 363–381. [Google Scholar] [CrossRef]
  37. Longley, P.A.; Adnan, M. Geo-temporal Twitter demographics. Int. J. Geogr. Inf. Sci. 2016, 30, 369–389. [Google Scholar] [CrossRef]
  38. Frank, M.R.; Mitchell, L.; Dodds, P.S.; Danforth, C.M. Happiness and the patterns of life: A study of geolocated tweets. Sci. Rep. 2013, 3, 2625. [Google Scholar] [CrossRef] [PubMed]
  39. Campagna, M. The geographic turn in Social Media: opportunities for spatial planning and Geodesign. In Proceedings of the International Conference on Computational Science and Its Applications, Guimarães, Portugal, 30 June–3 July 2014; pp. 598–610. [Google Scholar]
  40. Sagl, G.; Resch, B.; Hawelka, B.; Beinat, E. From social sensor data to collective human behaviour patterns: Analysing and visualising spatio-temporal dynamics in urban environments. In Proceedings of the GI-Forum; Herbert Wichmann Verlag: Berlin, Germany, 2012; pp. 54–63. [Google Scholar]
  41. Lowry, P.B.; Cao, J.; Everard, A. Privacy concerns versus desire for interpersonal awareness in driving the use of self-disclosure technologies: The case of instant messaging in two cultures. J. Manag. Inf. Syst. 2011, 27, 163–200. [Google Scholar] [CrossRef]
  42. Smiley, M.J.; Roux, A.V.D.; Brines, S.J.; Brown, D.G.; Evenson, K.R.; Rodriguez, D.A. A spatial analysis of health-related resources in three diverse metropolitan areas. Health Place 2010, 16, 885–892. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  43. Thornton, L.E.; Pearce, J.R.; Macdonald, L.; Lamb, K.E.; Ellaway, A. Does the choice of neighbourhood supermarket access measure influence associations with individual-level fruit and vegetable consumption? A case study from Glasgow. Int. J. Health Geogr. 2012, 11, 29. [Google Scholar] [CrossRef] [PubMed]
  44. Thornton, L.E.; Pearce, J.R.; Kavanagh, A.M. Using Geographic Information Systems (GIS) to assess the role of the built environment in influencing obesity: A glossary. Int. J. Behav. Nutr. Phys. Act. 2011, 8, 71. [Google Scholar] [CrossRef] [PubMed]
  45. King, T.L.; Thornton, L.E.; Bentley, R.J.; Kavanagh, A.M. The use of kernel density estimation to examine associations between neighborhood destination intensity and walking and physical activity. PLoS ONE 2015, 10, e0137402. [Google Scholar] [CrossRef] [PubMed]
  46. Moore, K.; Roux, A.V.D.; Auchincloss, A.; Evenson, K.R.; Kaufman, J.; Mujahid, M.; Williams, K. Home and work neighbourhood environments in relation to body mass index: The Multi-Ethnic Study of Atherosclerosis (MESA). Epidemiol. Community Health 2013, 67, 846–853. [Google Scholar] [CrossRef] [PubMed]
  47. Jones-Smith, J.C.; Karter, A.J.; Warton, E.M.; Kelly, M.; Kersten, E.; Moffet, H.H.; Adler, N.; Schillinger, D.; Laraia, B.A. Obesity and the food environment: Income and ethnicity differences among people with diabetes: The Diabetes Study of Northern California (DISTANCE). Diabetes Care 2013, 36, 2697–2705. [Google Scholar] [CrossRef] [PubMed]
  48. Buck, C.; Börnhorst, C.; Pohlabeln, H.; Huybrechts, I.; Pala, V.; Reisch, L.; Pigeot, I. Clustering of unhealthy food around German schools and its influence on dietary behavior in school children: A pilot study. Int. J. Behav. Nutr. Phys. Act. 2013, 10, 65. [Google Scholar] [CrossRef] [PubMed]
  49. Li, F.; Zhang, F.; Li, X.; Wang, P.; Liang, J.; Mei, Y.; Cheng, W.; Qian, Y. Spatiotemporal patterns of the use of urban green spaces and external factors contributing to their use in central Beijing. Int. J. Environ. Res. Public Health 2017, 14, 237. [Google Scholar] [CrossRef] [PubMed]
  50. Kovacs-Gyori, A.; Ristea, A.; Havas, C.; Resch, B.; Cabrera-Barona, P. London2012: Towards citizen-contributed urban planning through sentiment analysis of twitter data. Urban Plan. 2018, 3, 75–99. [Google Scholar] [CrossRef]
  51. Li, Z.; Wu, F. Tenure-based residential segregation in post-reform Chinese cities: A case study of Shanghai. Trans. Inst. Br. Geogr. 2008, 33, 404–419. [Google Scholar] [CrossRef]
  52. Li, J.; Fang, W.; Wang, T.; Qureshi, S.; Alatalo, J.; Bai, Y. Correlations between socioeconomic drivers and indicators of urban expansion: Evidence from the heavily urbanised shanghai metropolitan area, China. Sustainability 2017, 9, 1199. [Google Scholar] [CrossRef]
  53. Guo, R. Regional China: A Business and Economic Handbook; Springer: Berlin, Germany, 2013. [Google Scholar]
  54. NBS National Bureau of Statistics. Sixth National Population Census of the People’s Republic of China; NBS: Beijing, China, 2010. [Google Scholar]
  55. Xiao, Y.; Wang, Z.; Li, Z.; Tang, Z. An assessment of urban park access in Shanghai—Implications for the social equity in urban China. Landsc. Urban Plan. 2017, 157, 383–393. [Google Scholar] [CrossRef]
  56. Chiquet, C.; Dover, J.W.; Mitchell, P. Birds and the urban environment: The value of green walls. Urban Ecosyst. 2013, 16, 453–462. [Google Scholar] [CrossRef]
  57. Weibo Statistics. Available online: http://ir.weibo.com/news-releases/news-release-details/weibo-corporation-report-fourth-quarter-and-fiscal-year-2018 (accessed on 10 June 2019).
  58. Rizwan, M.; Wan, W.; Cervantes, O.; Gwiazdzinski, L. Using location-based social media data to observe check-in behavior and gender difference: Bringing weibo data into play. ISPRS Int. J. Geo Inf. 2018, 7, 196. [Google Scholar] [CrossRef]
  59. Xie, Z.; Yan, J. Kernel density estimation of traffic accidents in a network space. Comput. Environ. Urban Syst. 2008, 32, 396–406. [Google Scholar] [CrossRef]
  60. Chen, Z.; Luo, N.; Gao, T. Research of typhoon disaster assessment based on VGI [J]. Geomat. Spat. Inf. Technol. 2016, 10, 33–34. [Google Scholar]
  61. Silverman, B.W. Density Estimation for Statistics and Data Analysis; Routledge: Abingdon, UK, 2018. [Google Scholar]
  62. Wu, C.; Ye, X.; Ren, F.; Wan, Y.; Ning, P.; Du, Q. Spatial and social media data analytics of housing prices in Shenzhen, China. PLoS ONE 2016, 11, e0164553. [Google Scholar] [CrossRef] [PubMed]
  63. King, T.L.; Bentley, R.J.; Thornton, L.E.; Kavanagh, A.M. Using kernel density estimation to understand the influence of neighbourhood destinations on BMI. BMJ Open 2016, 6, e008878. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  64. Hasan, S.; Zhan, X.; Ukkusuri, S.V. Understanding urban human activity and mobility patterns using large-scale location-based data from online social media. In Proceedings of the 2nd ACM SIGKDD International Workshop on Urban Computing, Chicago, IL, USA, 11 August 2013; p. 6. [Google Scholar]
  65. Li, L.; Goodchild, M.F.; Xu, B. Spatial, temporal, and socioeconomic patterns in the use of Twitter and Flickr. Cartogr. Geogr. Inf. Sci. 2013, 40, 61–77. [Google Scholar] [CrossRef]
  66. Sun, Y.; Fan, H.; Li, M.; Zipf, A. Identifying the city center using human travel flows generated from location-based social networking data. Environ. Plan. B Plan. 2016, 43, 480–498. [Google Scholar] [CrossRef]
  67. Li, H.; Ge, Y.; Hong, R.; Zhu, H. Point-of-interest recommendations: Learning potential check-ins from friends. In Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, San Francisco, CA, USA, 13–17 August 2016; pp. 975–984. [Google Scholar]
  68. Maroko, A.R.; Maantay, J.A.; Sohler, N.L.; Grady, K.L.; Arno, P.S. The complexities of measuring access to parks and physical activity sites in New York City: A quantitative and qualitative approach. Int. J. Health Geogr. 2009, 8, 34. [Google Scholar] [CrossRef] [PubMed]
  69. Maia, M.; Almeida, J.; Almeida, V. Identifying user behavior in online social networks. In Proceedings of the 1st Workshop on Social Network Systems, Glasgow, Scotland, 1 April 2008; pp. 1–6. [Google Scholar]
  70. Van Iddekinge, C.H.; Lanivich, S.E.; Roth, P.L.; Junco, E. Social media for selection? Validity and adverse impact potential of a Facebook-based assessment. J. Manag. 2016, 42, 1811–1835. [Google Scholar] [CrossRef]
  71. Roberts, H.; Sadler, J.; Chapman, L. Using Twitter to investigate seasonal variation in physical activity in urban green space. Geo Geogr. Environ. 2017, 4, e00041. [Google Scholar] [CrossRef]
  72. Ramaiah, M.; Avtar, R. Urban green spaces and their need in cities of rapidly urbanizing India: A review. Urban Sci. 2019, 3, 94. [Google Scholar] [CrossRef]
Figure 1. Study area.
Figure 1. Study area.
Ijgi 08 00506 g001
Figure 2. Process flow of data preparation.
Figure 2. Process flow of data preparation.
Ijgi 08 00506 g002
Figure 3. Data analytics framework.
Figure 3. Data analytics framework.
Ijgi 08 00506 g003
Figure 4. Parks’ distribution in Shanghai.
Figure 4. Parks’ distribution in Shanghai.
Ijgi 08 00506 g004
Figure 5. Parks’ distribution at the district level in Shanghai.
Figure 5. Parks’ distribution at the district level in Shanghai.
Ijgi 08 00506 g005
Figure 6. Check-in density of parks in Shanghai.
Figure 6. Check-in density of parks in Shanghai.
Ijgi 08 00506 g006
Figure 7. Temporal variations in a day: (a) hourly, (b) morning, (c) afternoon, (d) evening.
Figure 7. Temporal variations in a day: (a) hourly, (b) morning, (c) afternoon, (d) evening.
Ijgi 08 00506 g007
Figure 8. Check-in distribution by (a) the day of the week and (b) gender.
Figure 8. Check-in distribution by (a) the day of the week and (b) gender.
Ijgi 08 00506 g008
Figure 9. Seasonal variations in the number of park visitors.
Figure 9. Seasonal variations in the number of park visitors.
Ijgi 08 00506 g009
Figure 10. Variation in the number of park visitors with respect to temperature.
Figure 10. Variation in the number of park visitors with respect to temperature.
Ijgi 08 00506 g010
Table 1. Example of a temperature dataset.
Table 1. Example of a temperature dataset.
DateWeatherAir TemperatureWind DirectionSunny
(Days)
Rain
(Days)
Cloudy (Days)Average
(Month)
1 July 2016Overcast/cloudy34/26 °CSouth wind 3–4/south wind 3–409160934/27 °C
9 August 2016Shower/thunder shower33/28 °CDongfeng ≤3/Southeast 3–405122133/27 °C
2 September 2016Cloudy/cloudy35/25 °CWest wind ≤3/Dongfeng ≤301161528/23 °C
5 January 2017Moderate rain/light rain12/10 °CDongfeng ≤3/Dongfeng ≤308081910/05 °C
14 March 2017Sunny/clear12/5 °CNorth wind ≤3/north wind ≤306091714/18 °C
17 June 2017Sunny/cloudy29/21 °CDongfeng ≤3/Dongfeng ≤3040151728/22 °C
Table 2. Example of Weibo check-in data.
Table 2. Example of Weibo check-in data.
Building_idUser_idMonthDateDayTimeYearGenderLonLatAddress
B2094554D064ABF4429###0824Wed0:00:032016F121.665031.14363ZhaoHang_Park
B2094757D06FA0F8409D###1111Frit1:24:452016F121.524431.265614Jiangpu_Park
B2094757D06FA6FB409B###0529Mon3:02:192017M121.378731.34228Gucun_Park
Table 3. Correlation matrix.
Table 3. Correlation matrix.
MonthWeekdaysGenderHoursDateYear
Month10.0040.027 **−0.019 **−0.028 **−0.806 **
Week Days0.004100.030 **−0.037 **−0.01
Gender0.027 **01−0.037 **0.002−0.050 **
Hours−0.019 **0.030 **−0.037 **1−00.006
Date−0.028 **−0.037 **0.002-0.0021−0.017 **
Year−0.806 **−0.007−0.050 **0.006−0.017 **1
** Correlation is significant at the 0.01 level (two-tailed).
Table 4. Descriptive statistics of correlated variables.
Table 4. Descriptive statistics of correlated variables.
MeanStd. Deviation
Month6.172.825
Weekdays4.32.111
Gender0.350.478
Hours14.585.648
Date15.548.79
Year2016.70.47
Table 5. Descriptive statistics.
Table 5. Descriptive statistics.
MeanMedianStd. DeviationMinQ1Q3Max
6.1762.82514812
Table 6. Check-in frequencies.
Table 6. Check-in frequencies.
MonthFrequencyPercentValid PercentCumulative Percent
Jan12123.93.93.9
Feb13754.74.78.6
Mar20986.96.915.5
Apr448815.215.230.7
May445714.914.945.6
Jun384012.812.858.5
Jul432514.614.673.1
Aug16685.65.678.8
Sep15104.94.983.7
Oct18636.16.189.8
Nov14945.15.194.9
Dec15605.15.1100
Table 7. Gender differences on different days of the week.
Table 7. Gender differences on different days of the week.
DayCheck-in %FemaleMaledr
Mon14.26%9.26%4.998%0.597
Tue12.26%8.03%4.232%0.619
Wed11.43%7.22%4.229%0.522
Thu11.75%7.60%4.108%0.596
Fri12.66%8.29%4.365%0.620
Sat17.37%11.23%6.149%0.584
Sun20.27%13.18%7.109%0.598
Table 8. Gender differences in districts of Shanghai.
Table 8. Gender differences in districts of Shanghai.
DistrictCheck-in %FemaleMaledr
Baoshan7.06%4.47%2.581%0.540
Changning6.26%3.98%2.287%0.540
Fengxian1.45%0.92%0.507%0.579
Hongkou2.51%1.45%1.061%0.309
Huangpu7.86%4.89%2.970%0.488
Jiading4.27%2.59%1.694%0.418
Jingan2.86%1.75%1.110%0.448
Minhang10.32%6.47%3.855%0.506
Pudong New Area29.66%18.84%10.823%0.540
Putuo8.63%5.22%3.424%0.415
Qingpu1.67%1.08%0.591%0.585
Songjiang9.38%6.23%3.345%0.602
Xuhui3.72%2.22%1.504%0.384
Yangpu4.35%2.58%1.777%0.368
Table 9. Summary statistics in districts.
Table 9. Summary statistics in districts.
DistrictFemaleMaleDifference
NMeanSTD-DevNMeanSTD-Dev
Baoshan11950.570.0129150.430.0520.14
Changning11860.630.0116850.360.0620.27
Fengxian2800.650.0211530.350.1320.30
Hongkou4240.570.0213260.430.1260.14
Huangpu14440.610.0109050.390.0540.22
Jiading7830.610.0144930.390.0730.22
Jingan6010.700.0122540.300.1070.40
Minhang19800.640.00811040.360.0490.28
Pudong New Area61130.690.00427520.310.0320.38
Putuo15880.620.0109910.380.0510.24
Qingpu3780.750.0131250.250.1560.50
Songjiang17740.630.00910290.370.0510.26
Xuhui6470.580.0164650.420.0730.16
Yangpu7550.580.0155450.420.0680.16

Share and Cite

MDPI and ACS Style

Ullah, H.; Wan, W.; Ali Haidery, S.; Khan, N.U.; Ebrahimpour, Z.; Luo, T. Analyzing the Spatiotemporal Patterns in Green Spaces for Urban Studies Using Location-Based Social Media Data. ISPRS Int. J. Geo-Inf. 2019, 8, 506. https://0-doi-org.brum.beds.ac.uk/10.3390/ijgi8110506

AMA Style

Ullah H, Wan W, Ali Haidery S, Khan NU, Ebrahimpour Z, Luo T. Analyzing the Spatiotemporal Patterns in Green Spaces for Urban Studies Using Location-Based Social Media Data. ISPRS International Journal of Geo-Information. 2019; 8(11):506. https://0-doi-org.brum.beds.ac.uk/10.3390/ijgi8110506

Chicago/Turabian Style

Ullah, Hidayat, Wanggen Wan, Saqib Ali Haidery, Naimat Ullah Khan, Zeinab Ebrahimpour, and Tianhang Luo. 2019. "Analyzing the Spatiotemporal Patterns in Green Spaces for Urban Studies Using Location-Based Social Media Data" ISPRS International Journal of Geo-Information 8, no. 11: 506. https://0-doi-org.brum.beds.ac.uk/10.3390/ijgi8110506

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop