Skip to content

This repository offers functions to analyse whatsapp group chats exported as .txt-file.

Notifications You must be signed in to change notification settings

Schlagoo/whatsapp_data_analysis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Project: Whatsapp Data Analysis

Preview

This repository contains functions written in python to analyse a whatsapp group chat.

Getting Started

These instructions will help you to run the script on your maschine. First of all you need python3 installed, as well as following packages:

matplotlib==2.1.1

Installing

Before running the script clone the repository to your desired directory:

cd /path/to/desired/directory
git clone git@github.com:Schlagoo/whatsapp_data_analysis.git

Afterwards you need to export your whatsapp group chat (see here).

Now you need to define the path to your whatsapp .txt-file. Therefore open the whatsapp_data_analysis.py with your editor or ide of choice and declare the path_to_chat_file variable.

Next read the function documentaries to choose one of the two options (run help(function-name) or read it inline):

  1. count_messages_and_words_by_name
  2. show_activity_by_time

After calling the desired function with all arguments, you can run the script from the terminal (linux) via:

(Make shure you the file is executable: sudo chmod +x whatsapp_data_analysis.py!)

./whatsapp_data_analysis.py

Built with

Author

  • Pascal Schlaak - Student/intern at BMW - Schlagoo

About

This repository offers functions to analyse whatsapp group chats exported as .txt-file.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages