Skip to content

Instantly share code, notes, and snippets.

@wbazant
Last active August 3, 2017 14:38
Show Gist options
  • Save wbazant/992b8691fb60e00824f974bb057fd3f7 to your computer and use it in GitHub Desktop.
Save wbazant/992b8691fb60e00824f974bb057fd3f7 to your computer and use it in GitHub Desktop.
# monthly stats - experiment page views
wbazant-ml:atlas wbazant$ cat /var/tmp/access-E-MTAB-4840.txt | cut -f 1 -d : | xargs -n1 -I {} date -j -f "%d/%b/%Y" {} '+%Y-%m' | sort | uniq -c
2 2016-11
160 2016-12
166 2017-01
284 2017-02
564 2017-03
853 2017-04
437 2017-05
215 2017-06
169 2017-07
18 2017-08
# monthly stats - downloads through "Downloads" tab
wbazant-ml:atlas wbazant$ cat /var/tmp/dl-E-MTAB-4840.txt | cut -f 1 -d : | xargs -n1 -I {} date -j -f "%d/%b/%Y" {} '+%Y-%m' | sort | uniq -c
15 2017-06
8 2017-07
# Daily stats - experiment page views
wbazant-ml:atlas wbazant$ cat /var/tmp/access-E-MTAB-4840.txt | cut -f 1 -d : | xargs -n1 -I {} date -j -f "%d/%b/%Y" {} '+%Y-%m-%d' | sort | uniq -c
1 2016-11-07
1 2016-11-14
2 2016-12-02
16 2016-12-05
9 2016-12-06
8 2016-12-07
4 2016-12-08
3 2016-12-09
3 2016-12-10
27 2016-12-11
6 2016-12-12
10 2016-12-13
6 2016-12-14
7 2016-12-15
10 2016-12-16
18 2016-12-17
4 2016-12-18
4 2016-12-19
8 2016-12-20
6 2016-12-21
1 2016-12-22
2 2016-12-25
1 2016-12-26
3 2016-12-28
1 2016-12-29
1 2016-12-31
1 2017-01-01
5 2017-01-03
9 2017-01-04
4 2017-01-05
2 2017-01-06
1 2017-01-07
1 2017-01-08
4 2017-01-09
10 2017-01-10
14 2017-01-11
9 2017-01-12
1 2017-01-13
1 2017-01-14
1 2017-01-15
13 2017-01-16
8 2017-01-17
4 2017-01-18
12 2017-01-19
18 2017-01-20
3 2017-01-21
2 2017-01-22
15 2017-01-23
6 2017-01-24
3 2017-01-25
7 2017-01-27
3 2017-01-28
2 2017-01-29
5 2017-01-30
2 2017-01-31
8 2017-02-01
14 2017-02-02
6 2017-02-03
7 2017-02-04
26 2017-02-06
2 2017-02-07
16 2017-02-08
6 2017-02-09
7 2017-02-10
2 2017-02-11
4 2017-02-12
25 2017-02-13
21 2017-02-14
18 2017-02-15
14 2017-02-16
8 2017-02-17
4 2017-02-18
2 2017-02-19
7 2017-02-20
12 2017-02-21
23 2017-02-22
11 2017-02-23
10 2017-02-24
3 2017-02-25
12 2017-02-26
9 2017-02-27
7 2017-02-28
5 2017-03-01
2 2017-03-02
15 2017-03-03
2 2017-03-04
4 2017-03-05
8 2017-03-06
14 2017-03-07
10 2017-03-08
36 2017-03-09
11 2017-03-10
5 2017-03-11
2 2017-03-12
5 2017-03-13
12 2017-03-14
66 2017-03-15
85 2017-03-16
8 2017-03-17
1 2017-03-19
57 2017-03-20
14 2017-03-21
13 2017-03-22
35 2017-03-23
46 2017-03-24
3 2017-03-25
15 2017-03-26
14 2017-03-27
20 2017-03-28
14 2017-03-29
16 2017-03-30
26 2017-03-31
21 2017-04-01
5 2017-04-02
14 2017-04-03
25 2017-04-04
123 2017-04-05
8 2017-04-06
5 2017-04-07
5 2017-04-08
4 2017-04-09
38 2017-04-10
47 2017-04-11
91 2017-04-12
115 2017-04-13
11 2017-04-14
40 2017-04-15
1 2017-04-16
15 2017-04-17
123 2017-04-18
22 2017-04-19
2 2017-04-20
7 2017-04-21
11 2017-04-22
3 2017-04-23
16 2017-04-24
22 2017-04-25
13 2017-04-26
37 2017-04-27
26 2017-04-28
3 2017-04-29
10 2017-05-01
41 2017-05-02
19 2017-05-03
58 2017-05-04
15 2017-05-05
28 2017-05-06
15 2017-05-07
19 2017-05-08
1 2017-05-09
9 2017-05-10
6 2017-05-11
61 2017-05-12
3 2017-05-13
5 2017-05-14
15 2017-05-15
4 2017-05-16
26 2017-05-17
12 2017-05-18
2 2017-05-19
1 2017-05-20
4 2017-05-22
15 2017-05-23
11 2017-05-24
3 2017-05-25
6 2017-05-26
5 2017-05-27
5 2017-05-28
10 2017-05-29
19 2017-05-30
9 2017-05-31
13 2017-06-01
6 2017-06-02
5 2017-06-03
8 2017-06-04
6 2017-06-05
11 2017-06-06
14 2017-06-07
11 2017-06-08
4 2017-06-09
4 2017-06-10
4 2017-06-11
8 2017-06-12
22 2017-06-13
9 2017-06-14
10 2017-06-15
9 2017-06-16
2 2017-06-17
7 2017-06-19
12 2017-06-20
3 2017-06-21
3 2017-06-22
7 2017-06-23
1 2017-06-24
1 2017-06-25
1 2017-06-26
6 2017-06-27
3 2017-06-28
21 2017-06-29
4 2017-06-30
2 2017-07-01
1 2017-07-02
11 2017-07-03
8 2017-07-04
5 2017-07-05
1 2017-07-06
2 2017-07-07
5 2017-07-08
6 2017-07-09
3 2017-07-10
6 2017-07-11
5 2017-07-12
4 2017-07-13
8 2017-07-14
4 2017-07-15
3 2017-07-16
4 2017-07-17
4 2017-07-18
4 2017-07-19
4 2017-07-20
12 2017-07-21
2 2017-07-22
2 2017-07-23
34 2017-07-24
10 2017-07-25
8 2017-07-26
3 2017-07-27
2 2017-07-28
1 2017-07-29
1 2017-07-30
4 2017-07-31
12 2017-08-01
5 2017-08-02
1 2017-08-03
# daily stats - downloads through "Downloads" tab
wbazant-ml:atlas wbazant$ cat /var/tmp/dl-E-MTAB-4840.txt | cut -f 1 -d : | xargs -n1 -I {} date -j -f "%d/%b/%Y" {} '+%Y-%m-%d' | sort | uniq -c
4 2017-06-01
1 2017-06-03
1 2017-06-04
1 2017-06-05
1 2017-06-08
4 2017-06-15
2 2017-06-16
1 2017-06-20
1 2017-07-01
1 2017-07-08
1 2017-07-17
2 2017-07-18
2 2017-07-21
1 2017-07-26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment