Last active
August 29, 2015 14:20
-
-
Save said-and-done/171b7c00e4c1560a5477 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#antal dato | |
----------------- | |
75 8/9/2015 | |
69 1/9/2015 | |
63 26/5/2015 | |
62 9/6/2015 | |
54 15/9/2015 | |
51 19/5/2015 | |
42 12/5/2015 | |
41 16/6/2015 | |
39 2/6/2015 | |
34 5/5/2015 | |
--//-- | |
#% dato | |
----------------- | |
8.0% 8/9/2015 | |
7.4% 1/9/2015 | |
6.7% 26/5/2015 | |
6.6% 9/6/2015 | |
5.8% 15/9/2015 | |
5.4% 19/5/2015 | |
4.5% 12/5/2015 | |
4.4% 16/6/2015 | |
4.2% 2/6/2015 | |
3.6% 5/5/2015 | |
# Note-to-self | |
------------- | |
# count, top 10 | |
$ awk -F, '{print $NF}' ~/Downloads/uv125otzid5f80k9-export.csv | sort | uniq -c | sort -r | head -10 | |
# percent, top 10 | |
$ awk -F, '{print $NF}' ~/Downloads/uv125otzid5f80k9-export.csv | sort | uniq -c | sort -r | head -10 | awk '{printf "%2.1f%%\t%s\n", 100 * $1/938, $2}' | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment