6e6da5447be2bbc6090c0dbf5c0d5b22b528d3e2
[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 Home: http://projects.mako.cc/
7
8 1. Parse your mailbox using the count_gmail.py script
9 --------------------------------------------------------------
10
11 I ran the script like this:
12
13 $ python count_gmail.py ~/incoming/mail/default > mail_metadata.tsv
14
15 2. Parse the output using analysis.R
16 --------------------------------------------------------------
17
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:
21
22 $ R --no-save < analysis.R
23
24 It will create the two PDFs files of graphs for you in the local directory.
25
26 The I converted the PDFs into PNGs with imagemagick's mogrify:
27
28 $ mogrify -format png *pdf

Benjamin Mako Hill || Want to submit a patch?