Readme: This dataset contains part of the data and scripts as described in “Yang, Y., Heppenstall, A., Turner, A., & Comber, A. (2019). Who, Where, Why and When? Using Smart Card and Social Media Data to Understand Urban Mobility. ISPRS International Journal of Geo-Information, 8(6), 271.” This study contains two major types of data: (1) Smart card data in transit system in five weekdays; (2) Social media check-in data (not publicly available). Several variables in the data are in Chinese. 1. “POI_Reclassification.csv”contains the Reclassification form/rules for POI land-use; 2. “SCD.txt” contains the download link to the Smart Card Data; 3. “Script.R” contains the R file for (1) identifying trip purpose using "Change Rate" measure; and (2) User segmentation based on travel (boarding) time profile.