fixed link to the projects/source page and docs on sending patches
[gmail-maildir-counter] / README
1 Scripts to Count Messages from Google
2 ==============================================================
3
4 Author: Benjamin Mako Hill (mako@atdot.cc)
5 License: GNU General Public License version 3 or any later version
6 Code: http://projects.mako.cc/source/?p=gmail-maildir-counter
7
8 I wrote this code in order to do the analysis I posted in this blog
9 post:
10
11 http://mako.cc/copyrighteous/google-has-most-of-my-email-because-it-has-all-of-yours
12
13 If you want to send me patches or bugfixes, details on how to do that
14 are here:
15
16 http://projects.mako.cc/source/
17
18 1. Parse your mailbox using the count_gmail.py script
19 --------------------------------------------------------------
20
21 I ran the script like this:
22
23 $ python count_gmail.py ~/incoming/mail/default > mail_metadata.tsv
24
25 2. Parse the output using analysis.R
26 --------------------------------------------------------------
27
28 I run R interactively in Emacs/ESS but you might want to use RStudio
29 if you are not familiar with Emacs. Alternatively, if you also output
30 into mail_metadata.tsv, you can just run:
31
32 $ R --no-save < analysis.R
33
34 It will create the two PDFs files of graphs for you in the local directory.
35
36 The I converted the PDFs into PNGs with imagemagick's mogrify:
37
38 $ mogrify -format png *pdf

Benjamin Mako Hill || Want to submit a patch?