blog | 14.05.2020 | Nick Bailey

Apples and pears? Comparing Google and Apple mobility data

In response to the COVID-19 pandemic, several private organisations have begun publishing indicators that shed light on the social, economic or environmental changes resulting from ‘lockdown’.

These included Google and Apple who have both produced measures of mobility, albeit using quite different methodologies. The measures are designed to inform policy decisions, as well as public debate, and have been widely used - including by the UK government.

Criticisms have been made of such use, notably due to the lack of transparency in the construction of the measures and the absence of any commitment to consistency or continuity (see for example Tracking lockdown, supporting recovery: the potential and the pitfalls of big data). This blog adds to the discussion by looking at what the measures show in practice.

Methods

The measures have quite different underlying methodologies. Details are very scant, but it is clear that Apple base their measures on requests for directions while Google base theirs on mobile phone locations. The two companies also cover very different geographies. In the UK, Apple spans the four nations but just four cities in England are covered by them, whereas Google covers 152 local areas. And as we shall see, they appear to define cities rather differently. Apple provides measures based on how people travel (driving, public transport and walking) whereas Google provides them based on where people travel (e.g. parks, workplaces or transit stations).

Google data

Google puts out data based on trip destinations with six categories. If we look across the four cities which are also covered by Apple (here, defined as metropolitan areas), we see a high degree of similarity in the changes reported.

  • ‘Grocery’ and ‘Pharmacy’ destinations rose to a peak in the week before lockdown before falling to 30-40 below average
  • Trips to parks show the largest daily variation, perhaps indicating the influence of weather but also possibly a lack of data points creating a large amount of noise. They are down slightly in the post-lockdown period.
  • ‘Residential’ is up in every case by near-identical proportions, reflecting the fact that more of us are constrained to our home neighbourhoods through lockdown.
  • ‘Retail’ and ‘Recreation’ is down by around three quarters, reflecting the closure of the great majority of destinations.
  • ‘Workplaces’ and ‘Transit Stations’ also show very substantial declines, although the former by slightly less and this is gradually creeping back up.
Graphs showing weekly Google relative mobility trends for six categories of trip desitinations (Grocery and Pharmacy, Parks, Residential, Retail and Recreation, Transit Stations and Workplaces) in four 'cities' (West Midlands, West Yorkshire, Greater London and Greater Manchester) from week commencing 17th February 2020 to end of week commencing 4th May 2020. Data accessed from https://www.google.com/covid19/mobility/ on 12th May 2020. Trends explained in blog text.

We can compare trends across the four cities through correlation coefficients, presenting these as a ‘heatmap’, using categories (bands) to make things clearer. We see a very high degree of similarity in the changes across the four cities. In fact, the correlations are surprisingly high. Apart from ‘Parks’, almost all the correlations are above .99. The one exception is London concerning grocery shopping where the correlations with the other three are .98! The policy change at this time was nationwide and actively enforced. Nevertheless, we might have expected to see more variation between the cities given they have very different industrial and spatial structures. The lower correlations for ‘Parks’ reinforce the idea that this measure is much noisier, i.e. based on limited data points.

Graphs showing correlations between four 'cities' (West Midlands, West Yorkshire, Greater London and Greater Manchester) for Google relative mobility trends for six categories of trip desitinations (Grocery and Pharmacy, Parks, Residential, Retail and Recreation, Transit Stations and Workplaces). Data accessed from https://www.google.com/covid19/mobility/ on 12th May 2020. Trends explained in blog text.

Apple

To make comparisons, it helps to put the Apple data on the same basis as the Google data. Apple provides the data scaled relative to a single day in January (13th) so variations across the days of the week are captured by the measure, whereas Google scales data relative to the median for that weekday removing weekly cycles. It also uses a five-week period (early January to early February). With Apple, the index day is set to 100 compared with zero for Google. We, therefore, rescale the Apple data by taking a similar five-week period (the five weeks up to 17th February as these were the earliest available), take the median activity level for each weekday and adjust all the data to be relative to those benchmarks, rescaling so that the benchmark period is zero rather than 100.

The figure shows very dramatic drops in all three categories. Whereas use of public transport remains low (around 75-90% below pre-lockdown levels), driving is showing clear signs of bouncing back - albeit that it remains well below the benchmark period. Perhaps surprisingly, walking is down by a similar amount to driving.

Graphs showing weekly Apple relative mobility trends (re-based to similar basis as Google) for three modes of travel (Driving, Transit and walking) in four cities (Birmingham, Leeds, London and Manchester) from week commencing 13th January 2020 to end of week commencing 4th May 2020. Data accessed from https://www.apple.com/covid19/mobility on 12th May 2020. Trends explained in blog text.

As previously, we see a high degree of correlation in the changes between cities though marginally less, especially in relation to walking. The noisiness of this measure is also apparent in the previous figure.

Graphs showing correlations between four cities (Birmingham, Leeds, London and Manchester) for Apple relative mobility trends for three modes of travel (Driving, Transit and walking). Data accessed from https://www.apple.com/covid19/mobility on 12th May 2020. Trends explained in blog text.

Comparing Google and Apple

Here we use the shorter city names from Apple, as these are more familiar to most, but this does not mean that the two datasets are referring to the same geographical areas.

We can start with the three Google categories for work, grocery shopping and leisure, and put these alongside Apple’s measure for driving. Some smoothing is applied here and in the next two figures. There is a strong similarity between Google’s measures of workplace journeys and Apple’s driving measure. Both show levels gradually creeping up in the weeks after lockdown.

Graphs showing Google vs Apple mobility measures for retail, work and driving in four cities (Birmingham, Leeds, London and Manchester) from week commencing 17th February 2020 to end of week commencing 4th May 2020. Data accessed from https://www.google.com/covid19/mobility/ and https://www.apple.com/covid19/mobility on 12th May 2020. Trends explained in blog text.

Second, we can compare the two measures of public transport usage. The picture here is very similar. If anything, Apple registers even less recovery in public transport than Google. It will be interesting to see how this changes once data are available for the current week, given the encouragement by the Government for people in England to return to work.

Graphs showing Google vs Apple mobility measures for public transport in four cities (Birmingham, Leeds, London and Manchester) from week commencing 17th February 2020 to end of week commencing 4th May 2020. Data accessed from https://www.google.com/covid19/mobility/ and https://www.apple.com/covid19/mobility on 12th May 2020. Trends explained in blog text.

Lastly, we bring together the Google measures for activity in residential areas and in parks with Apple’s measures of walking. Here there is a striking difference. Google shows increased activity in areas around the home and broadly stable activity in parks, which suggests people are being physically active. By contrast, Apple shows a decline in levels of walking of around 60-75% across the four cities.

One possibility is that this reflects differences in geographical areas covered. If the Apple data do refer to the core local authority, rather than the whole city-region, part of the drop they record may reflect the absence of commuters.

On the other hand, it may be that the Apple data are reminding us that much of the walking that people do is as part of a journey which also includes driving and/or use of public transport. In this case, the Apple data are indicating that small amounts of daily activity around the home neighbourhood may not be a substitute for the amount of exercise people get in a normal day of working, studying or socialising. That may have significant longer-term implications for the nation’s physical and mental health.

Graphs showing Google vs Apple mobility measures for residential, parks and walking in four cities (Birmingham, Leeds, London and Manchester) from week commencing 17th February 2020 to end of week commencing 4th May 2020. Data accessed from https://www.google.com/covid19/mobility/ and https://www.apple.com/covid19/mobility on 12th May 2020. Trends explained in blog text.

Summary

The measures from these two companies are interesting and neatly demonstrate the power of big data to provide insights into an otherwise hard-to-measure aspect of society. At the same time, they lack transparency in their methods so it is not clear what we are really getting, as has been noted already.

Two further questions over these data emerge from the analysis here. The first is that they seem to show an extremely high correlation in measures of change between the different cities. This raises questions about the underlying methodology and the extent to which reported measures reflect models which have been applied to the data rather than changes in actual activity levels.

The second is the gap between Apple’s measure of walking, which shows enormous decline, and the measures of activity in residential areas and parks from Google which suggest no change - or indeed an increase - in activity. If the former measure includes the walking done in association with journeys by car or public transport, it perhaps reminds us that activity in the neighbourhood may not be a substitute for the levels of physical exercise most people would get under normal conditions. On the other hand, it may be that Apple’s measure based on trips doesn’t reflect the quantity of exercise done in a given journey.

Although the companies use very similar names to describe their data, we should be wary of making comparisons between them - it looks rather like a case of apples and pears.

Data sources and code

 

Nick Bailey

Nick Bailey is Director of the Centre. He is a Professor in Urban Studies, based in the School of Social and Political Sciences at the University of Glasgow.

Leave a comment. Please refer to our Comments Policy before posting.

Your comment

Comments

    Replying to Ian Thomas: Thanks for the comments. On the first point, I agree that tracking these further might tell us more about the 'hidden' methods. Do the data pick up local lockdowns (e.g Leicester, Aberdeen) or variations between regions with some degree of policy autonomy (e.g. the devolved governments of the UK)? If they don't, then it does raise interesting questions about the quality of the local data and/or methods. The code is all there if anyone wants to extend the analysis. On the second, a good point and a likely explanation which I hadn't thought of.

  • 3 years ago
  • |
  • Nick Bailey

    A great article, thanks Nick. My thoughts on the 2 main conclusions are: 1) "all cities appear the same" - I assume this is because for the initial lockdown rules being very severe and not varying much by location specific industries... as lockdown rules develop it will be very interesting to see if the correlations change, and 2) apple's large decline in "walking" is likely driven by whether people's walks require directions from the apple app, which then count in the apple data. Work related walking probably has a higher propensity to get directions than local based lockdown walks. Will be fascinating to see how it develops.

  • 3 years ago
  • |
  • Ian Thomas

    A great article, thanks Nick. My thoughts on the 2 main conclusions are: 1) "all cities appear the same" - I assume this is because for the initial lockdown rules being very severe and not varying much by location specific industries... as lockdown rules develop it will be very interesting to see if the correlations change, and 2) apple's large decline in "walking" is likely driven by whether people's walks require directions from the apple app, which then count in the apple data. Work related walking probably has a higher propensity to get directions than local based lockdown walks. Will be fascinating to see how it develops.

  • 3 years ago
  • |
  • Ian Thomas

    Replying to Ian Thomas: Thanks for the comments. On the first point, I agree that tracking these further might tell us more about the 'hidden' methods. Do the data pick up local lockdowns (e.g Leicester, Aberdeen) or variations between regions with some degree of policy autonomy (e.g. the devolved governments of the UK)? If they don't, then it does raise interesting questions about the quality of the local data and/or methods. The code is all there if anyone wants to extend the analysis. On the second, a good point and a likely explanation which I hadn't thought of.

  • 3 years ago
  • |
  • Nick Bailey

JOINTLY FUNDED BY