Urban Data Science: Transport Analytics, Sensors and Liveable Cities

Episode 1 53 min

Rachel Lim Urban data scientist

Episode 1 · Urban Data Science: Transport Analytics, Sensors and Liveable Cities

53 min

What we talked about

Rachel Lim is a data engineer in Singapore who works on urban data and transport planning. She has a bachelor's degree in geography and a master's in urban informatics from New York University. Before moving into data engineering, she worked as a transport scientist, analyzing travel patterns to support long-term planning. Alexey asks how data helps make cities more livable and what her work involves.

Rachel describes transport science as applying data to public transport and planning, mostly in government agencies and consultancies. Short-term work covers bus routes and service frequencies, while long-term work projects demand for roads and rail lines. Singapore's buses carry GPS transponders, which reveal bus bunching, when several buses reach the same stop together. Fare card taps show where passengers board and alight. Alexey notes that in Berlin riders can board without tapping, so planners there would need computer vision to measure passenger flow.

Rachel describes urban design as walkable streets, sidewalks, planter boxes that separate pedestrians from traffic, and public spaces where people linger. A livable city offers efficient transport, affordable housing, green space and digital access to government services. Singapore plans 15 years ahead through Master Planning and is moving from housing estates toward placemaking and car-free streets. Forecasts combine projected population in a district with past travel patterns.

GPS and fare events are collected in real time, while aggregation happens later. Transfers made within 45 minutes count as one trip, and fares depend on total distance. Kafka and Apache Spark process the data before it reaches a warehouse, where historical records support projections. During the F1 night race, taxi GPS speeds act as a proxy for congestion around closed roads. Data quality checks catch problems such as a bus transponder that stops sending correctly.

Rachel is building a text-to-SQL tool so policy specialists can query fare data in plain language. Metadata from the warehouse and catalog is chunked into a vector database, and an LLM turns questions into SQL. Accuracy depends on prompt examples, and insert, update and delete statements are blocked. Singapore masks fields such as fare card numbers before publishing data on data.gov.sg and DataMall. For further reading, Rachel recommends Jane Jacobs' The Death and Life of Great American Cities and Charles Montgomery's Happy City. Her advice is that subject matter experts should drive analysis, because requests passed through several people can lose their original intent.

Chapters

  1. 1:56 Guest Introduction: Rachel Lim, urban data scientist 1 min
  2. 2:52 Career Path: Geography to urban informatics and data engineering 2 min
  3. 4:47 Transport Scientist Role: public sector and consultancy applications 1 min
  4. 5:34 Planning Horizons: short-term operations vs long-term infrastructure 1 min
  5. 6:47 Data Sources for Transport: GPS, sensors, fare cards, ride-hailing 1 min
  6. 7:40 Fare Card Systems: tap-in/tap-out travel data mechanics 1 min
  7. 8:20 Computer Vision for Passenger Flow where fare data is absent 1 min
  8. 8:55 Professional Motivation: internships, World City Summit, master’s study 3 min
  9. 11:26 Urban Design Principles: walkability, public spaces, human-scale streets 2 min
  10. 13:49 Livability Criteria: transport, housing, green space, digital access 2 min
  11. 15:48 Singapore Planning Practices: Master Plan and placemaking initiatives 3 min
  12. 18:24 Open Data & Collaboration: public datasets enabling research and apps 3 min
  13. 21:09 Travel Demand Forecasting: predicting movements for infrastructure planning 2 min
  14. 23:01 Data Pipelines & Warehousing: aggregation of real-time and historical data 1 min
  15. 24:09 Real-Time Monitoring: traffic management and event analytics (F1 example) 1 min
  16. 25:10 Operational Response: cameras, recovery services, traffic marshals 3 min
  17. 27:59 Generative AI in Data Engineering: natural-language access to data 5 min
  18. 33:19 Text-to-SQL Architecture: metadata, vector DB, RAG and LLMs 2 min
  19. 35:18 Prompt Engineering & Query Safety: reliability and SQL restrictions 1 min
  20. 36:32 Dataset Scale: millions of fare card records and demand analytics 2 min
  21. 38:34 Infrastructure Stack: Kafka, Apache Spark, sensors, real-time APIs 1 min
  22. 39:27 Journey Logic & Aggregation: trip definition and fare computation 2 min
  23. 41:08 Data Quality Management: anomaly detection and sensor reliability 1 min
  24. 42:17 Generative AI Use Cases: synthetic data and conversational search 3 min
  25. 45:40 Privacy & Publishing: masking sensitive data before release <1 min
  26. 46:00 Singapore Open Data Portals: data.gov.sg and DataMall resources 1 min
  27. 47:05 Project Ideas for Learning: car parking and real-time taxi datasets 2 min
  28. 49:16 Recommended Resources: DataTalks.Club, Jane Jacobs, Happy City 3 min
  29. 52:42 Episode Wrap-Up and Closing Remarks 1 min

About Rachel Lim

Rachel Lim Urban data scientist

Rachel Lim is an urban data scientist dedicated to creating liveable cities through data. With a background in geography and a master's degree in urban data science, she blends qualitative and quantitative analysis to tackle urban challenges. Rachel works on transport analytics, using data from sensors, fare card systems, GPS traces, and computer vision for travel demand forecasting, real-time monitoring, and placemaking. She is passionate about combining data-driven techniques with urban design to foster sustainable and equitable urban environments.

Topics in this episode

The wiki pages this conversation is filed under, the strongest first.

Computer Vision

Computer vision as applied perception across images, sensors, labels, deployment constraints, multimodal retrieval, and project work.

Data Engineering

Data engineering across pipelines, platforms, data quality, role boundaries, business enablement, and the shift toward AI-ready data systems.

Data Science

Data science through decision-first analysis, modeling, experimentation, trust, production handoff, and neighboring domains.

LLMs

Large language models with links to retrieval, agents, evaluation, production, and security pages.

Business Intelligence

How business intelligence connects metrics, dashboards, data products, governance, product analytics, and AI-assisted analysis.

Privacy Engineering for ML

Privacy engineering for ML across access governance, privacy-enhancing technologies, and production LLM privacy tradeoffs.

Synthetic Data

Synthetic data for medical imaging, speech augmentation, industrial tabular data, privacy, and validation limits.

Text-to-SQL

Podcast takeaways on text-to-SQL, metadata retrieval, governed metrics, query safety, and production testing for conversational BI.

Related books

Fundamentals of Data Engineering

31 questions answered

Data engineering has grown rapidly in the past decade, leaving many software engineers, data scientists, and analysts looking for a comprehensive view of this practice. With this practical book, you'll learn how to plan and build systems to serve the needs of your organization and customers by evaluating the best technologies available through the framework of the data engineering lifecycle.

Joe Reis Matthew Housley

Optional analytics

Optional analytics are off unless you allow them. Your choice does not affect access to DataTalks.Club, Slack, events, or courses.

Current choice: not chosen.

Privacy Policy

If you allow analytics, self-hosted Umami counts anonymous public pageviews without analytics cookies. Private account and learning pages are excluded. Read the Privacy Policy for the complete data boundary.

Want to learn more about our community?

How it started, who's here, and everything that goes on here: courses, events, Slack, and more.

About DataTalks.Club