git-shogg / Google_Timeline_Summary

A python function for summarizing your GPS location in relation to a point of interest for a given timeframe.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Google Timeline Summary

Overview:

The python function (in the main.py file) enables you to summarize your GPS location in relation to a point of interest for a given timeframe.

Medium Article: Interrogating Google's Timeline Data

Setup:

  1. Navigate Google Takeout.

  2. Deselect all of the data.

    google takeout

  3. Scroll down until you find the "Location History". Select this data. location history

  4. Scroll to the bottom of the webpage, click "Next Step".

  5. Setup your delivery method, I just used Google's recommendation.

  6. Wait for your download to be made available.

  7. Once the download is available. Download it.

  8. Open the zipped folder and extract the "Location History.json" file, place in the same working directory as the main.py.

  9. You're ready to go!

Quick Start:

Find all of the times you have been within 100 meters of the Sydney Opera house since the 1st of July 2021.

df = df_google_timeline_summary((-33.85538908610386, 151.21570005901881),start_date='01/07/2021',distance_from_point_of_interest=0.1)

Author:

Stephen Hogg

About

A python function for summarizing your GPS location in relation to a point of interest for a given timeframe.


Languages

Language:Python 100.0%