Giter Site home page Giter Site logo

jlumbroso / text-message-analysis-notebook Goto Github PK

View Code? Open in Web Editor NEW
11.0 3.0 2.0 928 KB

Jupyter notebook with examples on how to visualize the dataset of personal texts 📱, after extracting from an iPhone with PhoneView.

License: MIT License

Python 13.85% Jupyter Notebook 86.15%
text-messages text-message-history pandas quantified-self jupyter-notebook

text-message-analysis-notebook's Introduction

Text Message Analysis Notebook

This notebook shows how to visualize the number of text messages exchanged (with a specific person, or overall), and the volume of characters exchanged.

Example of the plot of the number of texts received/sent with a specific person over time

Example of the plot of the rescaled number of texts received/sent with a specific person over time

Rationale

It is surprising to notice how much information can be extracted from the visualization of the patterns of communication alone—without the contents of the messages. For instance, in the example above, it is clear that the person sending messages (in green) is more invested in the relationship: In the rescaled plot, we can see that in the beginning, both of the correspondents are responsible for about 50% of the messages; but this trend quickly changes over time.

Requirements

  • PhoneView: This is the app I recommend to extract text messages from your iPhone. It is able to handle SMS, iMessage and WhatsApp seamlessly. It costs $29.95 for a Lifetime License, and has been available and reliable since 2008—but there is also a trial version that will work for this.

  • Jupyter Notebook and pandas: These are the tools I use in this notebook to analyze and plot my text messages.

For Windows & Android users

For Windows computers, you can use iExplorer; for Android phones, you can use the SMS Backup and Restore app. Read this DigitalTrends article for more information. The notebook provided here may need to be adapted.

text-message-analysis-notebook's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  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.