Live Data Feeds
Real-Time Data Sources
Section titled “Real-Time Data Sources”These update every few minutes and serve as proxy indicators for population movement.
| Feed | Source | Interval | Use Case |
|---|---|---|---|
| Hospital A&E Wait Times | Hospital Authority | ~15 min | Demand/population proxy |
| Border Crossing Queues | Immigration Dept | ~5 min | Mainland visitor flow |
| Parking Vacancy | Transport Dept | Real-time | Car-based customer access |
| Weather Warnings | HK Observatory | As needed | Foot traffic impact |
Example: A&E Wait Times
Section titled “Example: A&E Wait Times”curl "https://www.ha.org.hk/opendata/aed/aedwtdata2-en.json"Returns current wait times across all public hospitals. Spikes in Western District hospitals (Queen Mary) correlate with higher population density in the area.
Example: Border Queues
Section titled “Example: Border Queues”curl "https://secure1.info.gov.hk/immd/mobileapps/2bb9ae17/data/CPQueueTimeR.json"Weekend border crossing surges → increased mainland tourist foot traffic in tourist-heavy areas (not directly Sheung Wan, but Central spillover).
The Full Picture
Section titled “The Full Picture”3,712
Total Datasets
20
Categories
84
Live Feeds
Free
No API Key
Live feeds aren’t used directly in the models but provide validation data: if your model predicts 40% of customers come via MTR, you can cross-check against real-time ridership patterns.