Coder Social home page Coder Social logo

glenwatson / daylio-csv-parser Goto Github PK

View Code? Open in Web Editor NEW

This project forked from michaelcurrin/daylio-csv-parser

0.0 0.0 0.0 121 KB

Improve the usability of the Daylio CSV export and explore reports around your data ☺️ πŸ“† 🐍

Home Page: https://michaelcurrin.github.io/daylio-csv-parser/

License: MIT License

Python 91.47% Makefile 7.56% Dockerfile 0.96%

daylio-csv-parser's Introduction

Daylio CSV Parser ☺️ πŸ“† 🐍

Improve the usability of the Daylio CSV export and explore reports around your data

GitHub tag License

Made with Python Made with SQLite dependency - statsmodels dependency - pandas

This Python 3 CLI took will convert a Daylio CSV export into a more usable CSV and a SQLite database.

About Daylio CSV

What is Daylio? Read on this doc page.

This daylio-csv-parser application parses a CSV exported from Daylio (in premium mode) to create a more useful CSV.

In particular, the activities column with multiple activities listed in a single cell is split out into multiple columns, with appropriate names and values as 0 or 1.

Sample usage

A summary of the command-line API is covered below.

Main feature

Run the main script to read CSV exported from Daylio at a configured location and create a clean CSV.

$ make csv

Other features

Assuming you have created a clean CSV using the step above, you can run any of these commands if you wish to. The order does not matter.

Database

Create a database file from the cleaned CSV. You can then access data in the database.

$ make db

Aggregate mood report

View a report around mood score aggregate stats.

$ ./mood_report.py

Regression report

View a report on a stats model which was fitted your data.

$ ./fit_model.py

Documentation

view - Online docs

License

Released under MIT by @MichaelCurrin.

daylio-csv-parser's People

Contributors

michaelcurrin avatar anthx avatar gwatson-indeed 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.