-
Notifications
You must be signed in to change notification settings - Fork 1
/
saoke.html
124 lines (117 loc) · 9.07 KB
/
saoke.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
<!DOCTYPE html>
<html lang="vi">
<head>
<title>Tin tức Python PyMI.vn</title>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta charset="utf-8" />
<link href="https://n.pymi.vn/feeds/all.atom.xml" type="application/atom+xml" rel="alternate" title="Tin tức Python PyMI.vn Full Atom Feed" />
<!-- twitter card metadata -->
<meta name="twitter:site" content="">
<meta name="twitter:title" content="Một số insights từ file sao kê của Mặt trận Tổ Quốc Việt Nam">
<meta name="twitter:description" content="">
<!-- OG Tags -->
<meta property="og:url" content="./saoke.html"/>
<meta property="og:title" content="Một số insights từ file sao kê của Mặt trận Tổ Quốc Việt Nam | Tin tức Python PyMI.vn" />
<meta property="og:description" content="" />
<!-- favicon -->
<!-- moment.js for date formatting -->
<script src="./theme/js/moment.js"></script>
<!-- css -->
<link rel="stylesheet" type="text/css" href="./theme/css/main.css" />
<script>
/*! grunt-grunticon Stylesheet Loader - v2.1.2 | https://github.com/filamentgroup/grunticon | (c) 2015 Scott Jehl, Filament Group, Inc. | MIT license. */
(function(e){function t(t,n,r,o){"use strict";function a(){for(var e,n=0;u.length>n;n++)u[n].href&&u[n].href.indexOf(t)>-1&&(e=!0);e?i.media=r||"all":setTimeout(a)}var i=e.document.createElement("link"),l=n||e.document.getElementsByTagName("script")[0],u=e.document.styleSheets;return i.rel="stylesheet",i.href=t,i.media="only x",i.onload=o||null,l.parentNode.insertBefore(i,l),a(),i}var n=function(r,o){"use strict";if(r&&3===r.length){var a=e.navigator,i=e.Image,l=!(!document.createElementNS||!document.createElementNS("http://www.w3.org/2000/svg","svg").createSVGRect||!document.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#Image","1.1")||e.opera&&-1===a.userAgent.indexOf("Chrome")||-1!==a.userAgent.indexOf("Series40")),u=new i;u.onerror=function(){n.method="png",n.href=r[2],t(r[2])},u.onload=function(){var e=1===u.width&&1===u.height,a=r[e&&l?0:e?1:2];n.method=e&&l?"svg":e?"datapng":"png",n.href=a,t(a,null,null,o)},u.src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///ywAAAAAAQABAAACAUwAOw==",document.documentElement.className+=" grunticon"}};n.loadCSS=t,e.grunticon=n})(this);(function(e,t){"use strict";var n=t.document,r="grunticon:",o=function(e){if(n.attachEvent?"complete"===n.readyState:"loading"!==n.readyState)e();else{var t=!1;n.addEventListener("readystatechange",function(){t||(t=!0,e())},!1)}},a=function(e){return t.document.querySelector('link[href$="'+e+'"]')},c=function(e){var t,n,o,a,c,i,u={};if(t=e.sheet,!t)return u;n=t.cssRules?t.cssRules:t.rules;for(var l=0;n.length>l;l++)o=n[l].cssText,a=r+n[l].selectorText,c=o.split(");")[0].match(/US\-ASCII\,([^"']+)/),c&&c[1]&&(i=decodeURIComponent(c[1]),u[a]=i);return u},i=function(e){var t,o,a;o="data-grunticon-embed";for(var c in e)if(a=c.slice(r.length),t=n.querySelectorAll(a+"["+o+"]"),t.length)for(var i=0;t.length>i;i++)t[i].innerHTML=e[c],t[i].style.backgroundImage="none",t[i].removeAttribute(o);return t},u=function(t){"svg"===e.method&&o(function(){i(c(a(e.href))),"function"==typeof t&&t()})};e.embedIcons=i,e.getCSS=a,e.getIcons=c,e.ready=o,e.svgLoadedCallback=u,e.embedSVG=u})(grunticon,this);
grunticon(["./theme/css/icons.data.svg.css", "./theme/css/icons.data.png.css", "./theme/css/icons.fallback.css"]);
</script>
<noscript><link href="./theme/css/icons.fallback.css" rel="stylesheet"></noscript>
<!-- menu toggle javascript -->
<script type="text/javascript">
document.addEventListener("DOMContentLoaded", initMenu);
function initMenu(){
var menu = document.getElementById("menu");
var menulink = document.getElementById("menu-link");
menulink.addEventListener("click", function toggleMenu(){
window.event.preventDefault();
menulink.classList.toggle('active');
menu.classList.toggle('active');
});
};
</script>
<meta name="tags" content="mttq" />
<meta name="tags" content="sao kê" />
<meta name="tags" content="insights" />
</head>
<body>
<div role="banner" id="masthead">
<header>
<h1><a href="/">Pymiers's Blog</a></h1>
<a href="#menu" id="menu-link">more stuff</a>
<nav id="menu">
<ul>
<li><a href="./category/features.html">features</a></li>
<li><a href="./category/news.html">news</a></li>
<li class="active"><a href="./category/pymivn.html">pymi.vn</a></li>
</ul>
</nav>
</header>
</div>
<div class="page" role="main">
<div class="article" role="article">
<article>
<footer>
<a name="top"></a>
<p>
<time datetime=" 2024-09-15 00:00:00+07:00">
<script>document.write(moment('2024-09-15 00:00:00+07:00').format('LL'));</script>
</time>
</p>
</footer>
<header>
<h2>
Một số insights từ file sao kê của Mặt trận Tổ Quốc Việt Nam
</h2>
<center>
<h4>
by tung491
</h4>
</center>
</header>
<div class="content">
<p>Nhân dịp ngày hội check var phông bạt toàn quốc thứ 6 ngày 13/9/2024, một pymier rảnh rỗi đã ngồi vọc file sao kê từ <span class="caps">MTTQ</span> <span class="caps">VN</span>. Dưới đây là một số insights từ <a href="https://docs.google.com/spreadsheets/d/1qEFjpatScpsf7znaVcrp3lFZpRtMJm5mMeMCVqN_38s/edit?usp=sharing">file sao kê đó</a> (đã convert từ <a href="https://drive.google.com/file/d/18dIWiReYtJkyuQ_8vSBJWweGaD71rBpu/view">pdf</a> sang csv)</p>
<h2>Tổng số tiền</h2>
<p><img alt="Tổng số tiền" src="images/total_saoke_amount.png"></p>
<p>Với tổng 200,364 giao dịch trong 10 ngày từ 1-10/9/2024, tổng số tiền mà <span class="caps">MTTQ</span> <span class="caps">VN</span> nhận được là 135 tỷ đồng với trung bình mỗi giao dịch là 674,183 nghìn đồng và giao dịch có giá trị lớn nhất là 1 tỷ đồng.</p>
<h2>Số lượng giao dịch mỗi ngày</h2>
<p><img alt="Số lượng giao dịch mỗi ngày" src="images/distribution_daily.png">
Bão Yagi đổ bộ vào đất liền Việt Nam vào ngày 7/9. Ta có thể thấy ngày hôm sau (8/9), số lượng giao dịch gửi vào <span class="caps">MTTQ</span> đã tăng đột biến gấp gần 10 lần với 503 giao dịch. Đáng kinh ngạc hơn nữa, ngày 9/9, số lượng giao dịch đã tăng lên hơn 6 ngàn giao dịch, gấp 12 lần ngày hôm trước. Và đến ngày 10/9, tổng số giao dịch trong ngày đã lên đến 191 nghìn giao dịch.</p>
<h2>Thống kê về một số patterns trong phần nội dung giao dịch</h2>
<h3>Của ít lòng nhiều</h3>
<p><img alt="Của ít lòng nhều" src="images/cuaitlongnhieu.png">
Pattern “cua it long nhieu” xuất hiện trong 1715 giao dịch, với trung bình giá trị là 205 nghìn đồng, giá trị lớn nhất là 5 triệu đồng.</p>
<h3>Tập thể</h3>
<p><img alt="Tập thể" src="images/tapthe.png">
Pattern gây sốt trong cộng đồng mạng là “tập thể” với 121 giao dịch, với trung bình giá trị là 9 triệu đồng, giá trị lớn nhất là 300 triệu đồng. Nhưng phần gây sốt là xuất hiện một số giao dịch của một số tổ chức tập thể với giá trị bé như 2 hay 10 nghìn đồng.</p>
<h3>Học sinh sinh viên</h3>
<p><img alt="Học sinh sinh viên" src="images/hssv.png"></p>
<p>Dù là học sinh sinh viên đã đóng góp 1580 giao dịch, với giá trị trung bình 273 nghìn đồng và cao nhất là 50 triệu đồng.</p>
<h3>Các doanh nghiệp</h3>
<p><img alt="Các doanh nghiệp" src="images/company_related.png"></p>
<p>Các doanh nghiệp đóng góp 396 giao dịch. Trung bình mỗi giao dịch là 12.7 triệu đồng và giao dịch có giá trị lớn nhất là 100 triệu đồng.</p>
<p>Jupyter Notebook được sử dụng có thể xem tại <a href="https://gist.github.com/tung491/fde52f83ca79fda886b24fb524cfae82">đây</a>.</p>
<p>Hết.</p>
</div>
<div class="back-to-top">
<a href="#top">back to top</a>
</div>
</article>
</div>
<!-- end article -->
<footer>
<div class="icons">
<a href="https://github.com/pymivn" target="_blank"><div class="icon-github icon"></div></a>
</div>
<p>© <script>document.write(moment().format('YYYY'));</script> Pymiers</p>
</footer>
</div>
</body>
</html>