1 Scripts to Count Messages from Google
2 ==============================================================
4 Author: Benjamin Mako Hill (mako@atdot.cc)
5 License: GNU General Public License version 3 or any later version
6 Home: http://projects.mako.cc/
8 1. Parse your mailbox using the count_gmail.py script
9 --------------------------------------------------------------
11 I ran the script like this:
13 $ python count_gmail.py ~/incoming/mail/default > mail_metadata.tsv
15 2. Parse the output using analysis.R
16 --------------------------------------------------------------
18 I run R interactively in Emacs/ESS but you might want to use RStudio
19 if you are not familiar with Emacs. Alternatively, if you also output
20 into mail_metadata.tsv, you can just run:
22 $ R --no-save < analysis.R
24 It will create the two PDFs files of graphs for you in the local directory.
26 The I converted the PDFs into PNGs with imagemagick's mogrify:
28 $ mogrify -format png *pdf