Google is extremely transparent about the Location History it has on you. You can check it out on the timeline feature in the Google Maps application on the phone, or on https://www.google.com/maps/timeline It is possible that you have that turned off, and in that case, consider yourself lucky.
If there is data there, you can view it online, or Download and Analyze it yourself.
- To extract that data, you can go to takeout.google.com and request for the Location History data from there.
- This gets generated as a JSON file which you should download.
- You can then convert that JSON file to a CSV, by using https://gist.github.com/devdattaT/c9dcae2107622215ff2e798dd185087e
- Finally load that data in https://kepler.gl/#/demo to view locations on a Map
Note: The conversion script has been updated on 2024-06-24, to match the updated format which is now generated by Google Takeout
Which file does this process? I have tried Records.json which returns a blank file and also one of the monthly files below Semantic Location History.. The latter prints records to the screen ending with
[datetime.datetime(2013, 7, 31, 18, 37, 0, 689000), '2013-07-31', '18:37:00', datetime.datetime(2013, 8, 1, 7, 5, 31, 822000), '2013-08-01', '07:05:31', -1.5501967, 47.2090939, 'CueZO6d0gRwhIJA1y_T-raagsZM', 'An address record', 73.671555, 'N/A', 'N/A']
Traceback (most recent call last):
File "/home/clive/to.py", line 113, in
for r in reader:
File "/home/clive/to.py", line 58, in make_reader
activity_type = segment['activityType']
KeyError: 'activityType'
Thanks