Giter VIP home page Giter VIP logo

pleonova / data-diary Goto Github PK

View Code? Open in Web Editor NEW
18.0 1.0 2.0 2.94 MB

My life dashboard - automatically track and visualize your data. Using common tracker APIs to create a minute by minute representation of your day.

License: MIT License

Python 1.27% Jupyter Notebook 98.73%
quantified-self rescue-time fitbit-api fitbit moving-average welch-t-test atimelogger atimelogger-timetrack before-and-after

data-diary's Introduction

My Data Diary

Goals

  1. Automatically upload data from various sources through APIs (RescueTime, Fitbit, aTimeLogger etc)
  2. Visualize data in an meaningful manner
  3. Change behavior
  4. Maintain a timecapsule of my life
  5. Predict future behavior

Motivation

I used to actively journal when I was a kid. Those entries are a timecapsule of my life; those memories would have mostly been forgotten had I no record of them. That is the motivation for this project, a more automated and perhaps more objective approach to journaling - for me and for anyone else who wants to use my templates.

I often believe I spent x time on something or didn't do y, but my data can tell me otherwise. It's through the active process of revisiting my data and idenitifying anomolies and finding interesting patterns, that I am able to tell a more cohesive story about different periods of my life and perhaps even make some changes in behavior. It's also helped me realize how finite time truly is.

Overview

  • API connection to 3 data streams: Fitbit (Movement and Sleep), RescueTime (Device and Applications) and aTimeLogger (Easy data logging)
  • Data aggregation
  • Helper functions for visualizing data in Python
  • Adaptation of the stacked bar plot for visualizing daily minutes on different activities
  • Lots of charts!

Related Content

My Posts

Mentions

Sample Visualizations

A two week chart of my sleep, device and active time, by the minute.

My screen time before and during the shelter-in-place (total 4 months worth of data).

Differences between the two time periods.

Running a Welch's t-test results in a pvalue of .001, meaning I am spent a lot more time on a device during shelter-in-place.

Next Steps

  • Add a more detailed section in the Readme about the different files
  • Incorporate heartrate data
  • Extract GPS data from Google Maps
  • Clean up helper function files
  • Append mobile app usage with search history (RescueTime no longer captures website data)
  • Store data more permanently in a database (postgres)
  • Move more of data prep steps into a separate .py file

If anyone has suggestions for the above steps, especially the GPS one, I would greatly appreciate your input!

Acknowledgements

I wanted to speficially thank those who had documented/shared with me their API syntax for extracting data:

I also wanted to give a special shout out to Mad and Bastian for creating the OpenHumans platform, a rich community for self research which served as continued inspiration to keep chipping away at this passion project of mine.

data-diary's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.