Introduction
Introduction Statistics Contact Development Disclaimer Help
tRename all time weekly popularity file - bitreich-memestats - statistical anal…
git clone git://src.adamsgaard.dk/bitreich-memestats
Log
Files
Refs
---
commit 8b472486508e8fc511caba8c525d6519e1ee7383
parent 2663b2f37121a05ddedc89592d906462030527af
Author: Anders Damsgaard <[email protected]>
Date: Fri, 17 Apr 2020 11:06:32 +0200
Rename all time weekly popularity file
Diffstat:
M Makefile | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/Makefile b/Makefile
t@@ -1,6 +1,6 @@
log = ~/.irssi/log/Freenode/\#bitreich-en.log
-all: all_time_use.tsv all_time_popularity.tsv
+all: all_time_use.tsv all_time_weekly_popularity.tsv
# format: day<tab>date<tab>time<tab>user<tab>tag
memeuse.tsv: extract_memeuse.awk
t@@ -12,13 +12,13 @@ all_time_use.tsv: memeuse.tsv
awk '{print $$1"\t"$$2}' > $@
# format: avg_uses_per_week<tab>tag
-all_time_popularity.tsv: memeuse.tsv all_time_use.tsv
+all_time_weekly_popularity.tsv: memeuse.tsv all_time_use.tsv
awk -v N_weeks="$$(awk 'END{print $$1/7}' memeuse.tsv)" \
'{print $$1/N_weeks"\t"$$2}' all_time_use.tsv > $@
clean:
rm -f memeuse.tsv
rm -f all_time_use.tsv
- rm -f all_time_popularity.tsv
+ rm -f all_time_weekly_popularity.tsv
.PHONY: all clean
You are viewing proxied material from mx1.adamsgaard.dk. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.