Skip to content

Learn

Guides for mobility researchers, grouped by what you want to do. Start at chapter 1 if this is your first time. Each chapter mixes notebooks (run end to end in Colab or Binder from a clean environment, with real public data wherever possible, each stating its data source and download size) and concept pages (the ideas and the choices that change your results, with no code to run). Looking for a specific function? Use the API reference; each of its entries links to the notebook that runs it.

1. Getting started

What does mobility data look like, and how do I use it?

2. Preparing trajectories

How do I turn noisy GPS fixes into trips, stops and places?

3. Measuring mobility

How far, how often and how predictably do people move, and where does the population go?

4. Spatial and network analysis

What happens on the road network, and who meets whom?

5. Modelling, evaluating and protecting

Which law or model describes my data, how well, and how identifiable are the people in it?

  • Compare your data to mobility laws: notebook, Brightkite. Jump lengths, the visitation law and daily places.
  • How the fits work: concept page. The estimators behind the distance and gravity fits, their uncertainty and what to report.
  • Validate against census flows: notebook, synthetic reference table and Brightkite. Home-to-work flows from trajectories, expansion weights, gravity distance decay with a confidence interval, gravity against radiation.
  • Validate mobility with GeoLife: notebook, GeoLife GPS tracks. The full cycle from raw tracks to a distance law with confidence intervals, a gravity distance-decay parameter, and a held-out gravity against radiation comparison.
  • Generate mobility with models: notebook, synthetic data. Exploration and return models, diaries, social ties, gravity and radiation flows.
  • Fit and compare distributions: notebook, Brightkite. Error, information, distribution and common-part metrics.
  • Privacy risk of trajectories: notebook, Brightkite. Re-identification risk under eight attacker models.

6. Charting results

How do I draw what I measured?

  • Chart your results: notebook, Brightkite and GeoLife. Distributions, bars, boxes, scatters and heatmaps from any result, and the charts for activities, mobility profiles, motifs and fitted laws.