Quick script to generate a top 20 of places visited from your Google Timeline
- Download your Google Timeline data here: https://takeout.google.com/ (only select Location History).
- You should receive a compressed file containing a
Semantic Location History/
directory. Enclosed is a list of twelve directories split up by year, containing a JSON file for each month of that year.
- You should receive a compressed file containing a
- Set up your constants, including your
DIRECTORY
path. Make sure that it points to a single year (i.e./2023/
only) - You can select to view your top 20 by either frequency of visits (count) or total amount of time in
SORT_BY
. - Run
python timeline_analysis.py
.