Giter Club home page Giter Club logo

zoomchattr's Introduction

zoomchattr

zoomchattr takes the directory of Zoom chat files that’s been accumulating on your computer for the past two years, parses them either individually or en masse, and makes them into a tibble with one chat message per row.

Installation

You can install the development version of zoomchattr like so:

remotes::install_github("kjhealy/zoomchattr")

Example

On my Mac, Zoom stores chat files and recordings in ~/Documents/Zoom. Each meeting is a separate folder which can possibly contain a text file named either chat.txt or meeting_saved_chat.txt. Zoom chat files come in two varieties, depending on the Zoom version. The package has functions to read both kinds, but the main function should read both types. Either zip up your ~/Documents/Zoom folder (or equivalent) and unzip it in your project directory, or get the files directly from their source. (The package does not edit or overwrite any chat transcripts, it just reads them in). For example, to get the filenames them from the native directory on a Mac, do e.g.

library(tidyverse)
library(zoomchattr)

fnames <- get_zoom_names(path = "~/Documents/Zoom")

fnames
#> /Users/kjhealy/Documents/Zoom/2022-04-21 10.11.23  Data Wrangling with R (April 2022)/meeting_saved_chat.txt
#> /Users/kjhealy/Documents/Zoom/2022-04-21 16.12.25  Data Wrangling with R (April 2022)/meeting_saved_chat.txt
#> /Users/kjhealy/Documents/Zoom/2022-04-22 10.10.36  Data Wrangling with R (April 2022)/meeting_saved_chat.txt
#> /Users/kjhealy/Documents/Zoom/2022-04-22 16.06.06  Data Wrangling with R (April 2022)/meeting_saved_chat.txt
#> /Users/kjhealy/Documents/Zoom/2022-04-23 10.34.58  Data Wrangling with R (April 2022)/meeting_saved_chat.txt

Then, read in the files with parse_all_zoom_chat():

df <- parse_all_zoom_chat(fnames)

dim(df)
#> [1] 111   5

colnames(df)
#> [1] "file"    "time"    "from"    "to"      "message"

head(df)
#> A tibble: 6 × 5
#> file                                               time                from          to          message                                       
#> <chr>                                              <dttm>              <chr>         <chr>       <chr>                                         
#> /Users/kjhealy/Documents/Zoom/2022-04-21 10.11.23… 2022-04-21 10:11:23 Kaity       Kieran Hea… "Hi Kieran, I’ll be logging out now. Please t…
#> /Users/kjhealy/Documents/Zoom/2022-04-21 10.11.23… 2022-04-21 11:04:58 lausmither… Kieran Hea… "How do you get to R studio preferences with …
#> /Users/kjhealy/Documents/Zoom/2022-04-21 10.11.23… 2022-04-21 11:05:28 Kieran Healy laursmither… "It should be under \"Tools > Global Options”"
#> /Users/kjhealy/Documents/Zoom/2022-04-21 10.11.23… 2022-04-21 11:07:56 lauraabcder… Kieran Hea… "Ok thx"                                      
#> /Users/kjhealy/Documents/Zoom/2022-04-21 10.11.23… 2022-04-21 11:21:12 Laura Grpea… Everyone    "Is there a keyboard shortcut for the pipe op…
#> /Users/kjhealy/Documents/Zoom/2022-04-21 10.11.23… 2022-04-21 11:23:06 Taylor Fnam… Everyone    "Ctrl + Shift + M (Windows)"                  

Individual chat files can be parsed with parse_zoom_chat(), which takes a single file path only.

zoomchattr's People

Contributors

kjhealy avatar

Stargazers

 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.