aboutsummaryrefslogtreecommitdiff
path: root/tests/emails/report.R
diff options
context:
space:
mode:
Diffstat (limited to 'tests/emails/report.R')
-rw-r--r--tests/emails/report.R14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/emails/report.R b/tests/emails/report.R
new file mode 100644
index 0000000..928597a
--- /dev/null
+++ b/tests/emails/report.R
@@ -0,0 +1,14 @@
+library(tidyverse)
+library(lubridate)
+read_csv("imap_commands_summary.csv") -> cmd
+
+ggplot(cmd, aes(x=command, y=count)) +
+ geom_bar(stat = "identity")+
+ theme_classic() +
+ facet_wrap(~aggregation, ncol=1, scales = "free")
+
+read_csv("mailbox_email_sizes.csv") -> mbx
+ggplot(mbx, aes(x=size, colour=mailbox)) +
+ stat_ecdf(pad=FALSE,geom = "step") +
+scale_x_log10()+ theme_classic()
+