-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathProject5.html
More file actions
171 lines (145 loc) · 7.04 KB
/
Project5.html
File metadata and controls
171 lines (145 loc) · 7.04 KB
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
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
<!DOCTYPE HTML>
<!--
Massively by HTML5 UP
html5up.net | @ajlkn
Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
-->
<html>
<head>
<title>Vadim Makeev - Plotting with R</title>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
<link rel="stylesheet" href="assets/css/main.css" />
<noscript><link rel="stylesheet" href="assets/css/noscript.css" /></noscript>
<link href="//netdna.bootstrapcdn.com/font-awesome/3.2.1/css/font-awesome.css" rel="stylesheet">
</head>
<body class="is-preload">
<!-- Wrapper -->
<div id="wrapper">
<!-- Header -->
<header id="header">
<!-- <a href="index.html" class="logo">Excel Project, Israeli Knesset</a> -->
</header>
<!-- Nav -->
<nav id="nav">
<ul class="links">
<li><a href="index.html">Projects</a></li>
<li><a href="Project1.html">The Israeli Knesset by generations</a></li>
<li><a href="Project2.html">Israel Geo Data</a></li>
<li><a href="Project3.html">Scraper</a></li>
<li><a href="Project4.html">SQL</a></li>
<li class="active"><a href="Project5.html">R</a></li>
<li><a href="About.html">About</a></li>
<!-- Reference Page <li><a href="elements.html">Elements Reference</a></li>-->
</ul>
<ul class="icons">
<li><a target="_blank" rel="noopener noreferrer" href="https://www.linkedin.com/in/vadim-makeev-8891b1251/" class="icon-linkedin-sign icon-large"></span></a></li>
<li><a target="_blank" rel="noopener noreferrer" href="https://github.com/VadimM91?tab=repositories" class="icon-github icon-large"></i></span></a></li>
</ul>
</nav>
<!-- Main -->
<div id="main">
<!-- Post -->
<section class="post">
<header class="major">
<!-- <span class="date">April 25, 2017</span> -->
<h1>Plotting with R<br>the Israeli Knesset<br />
</h1>
<p>Scatter plots: "The Israel Knesset by Generations"</p>
</header>
<div class="image main"><img src="images/1.plot.r.png" alt="" /></div>
<!-- <p>Paragraph 1 Example: here it goes - Donec eget ex magna. Interdum et malesuada fames ac ante ipsum primis in faucibus. Pellentesque venenatis dolor imperdiet dolor mattis sagittis. Praesent rutrum sem diam, vitae egestas enim auctor sit amet. Pellentesque leo mauris, consectetur id ipsum sit amet, fergiat. </p> -->
<h2> About This Chart</h2>
<p>Each square on the scatter plot represents an Israeli Knesset member, and each color - a generation.</p>
<p>The data used to populate this chart was sourced from an <a target="_blank" rel="noopener noreferrer" href="https://github.com/VadimM91/SQL_database_Israeli_Knesset">SQL dataset </a> I created, <br> Which itself was sourced from the <a target="_blank" rel="noopener noreferrer" href="https://main.knesset.gov.il/mk/Pages/Previous.aspx?pg=mkpknessethist">Israeli Knesset Website.</a></p>
<p>Generational breakdown uses age brackets defined by the <a target="_blank" rel="noopener noreferrer" href="https://www.pewresearch.org/fact-tank/2019/01/17/where-millennials-end-and-generation-z-begins/">Pew Research Center</a>, except for "Missionary Generation", which is defined by the <a target="_blank" rel="noopener noreferrer" href="https://en.wikipedia.org/wiki/Strauss%E2%80%93Howe_generational_theory#Missionary_Generation"> Strauss–Howe generational theory:</a></p>
<table>
<tr>
<th>Name</th>
<th>Birth Years</th>
</tr>
<tr>
<td>1. Missionary Generation</td>
<td>1860-1882</td>
</tr>
<tr>
<td>2. Lost Generation</td>
<td>1883-1900</td>
</tr>
<tr>
<td>3. Greatest Generation</td>
<td>1901-1927</td>
</tr>
<tr>
<td>4. Silent Generation</td>
<td>1928-1945</td>
</tr>
<tr>
<td>5. Baby Boomers</td>
<td>1946-1964</td>
</tr>
<tr>
<td>6. Generation X</td>
<td>1965-1980</td>
</tr>
<tr>
<td>7. Millennials Y</td>
<td>1981-1996</td>
</tr>
</table>
<p> Vacancies in the Israeli Knesset are not uncommon. For instance, when a Knesset member dies or resigns. <br>
The squares on this scatter plot use the Knesset member that was holding the seat for the majority of the term. </p>
<h2>About This Project</h2>
<p>With the goal of creating a professional visualization from my Israeli Knesset members database,
I decided to export it from PostgreSQL to R.
</p>
<p>For a fair represantation, inclusive of duplicate values, the data was presented on a scatter plot.
Here is another view with the x and y axis swapped:</p>
<div class="image main"><img src="images/2.plot.r.png" alt="" /></div>
<p>The project is on-going and is periodically updated with new data and parameters.
</p>
</p>
<p>The project is available on <a target="_blank" rel="noopener noreferrer" href="https://github.com/VadimM91/Plotting_with_R-Israeli_Knesset">my GitHub</a>.
</p>
<p>For more works visit <a href="index.html">My Website</a>.
</p>
</section>
</div>
<!-- Footer -->
<footer id="footer">
<section class="split contact">
<section class="alt">
<h3>Location</h3>
<p>Tel Aviv, Israel</p>
</section>
<section>
<h3>Email</h3>
<p><a href=mailto:vadim.makeev.91@gmail.com>vadim.makeev.91@gmail.com</a></p>
</section>
<section>
<h3>Social</h3>
<ul class="icons alt">
<li><a target="_blank" rel="noopener noreferrer" href="https://www.linkedin.com/in/vadim-makeev-8891b1251/" class="icon-linkedin-sign icon-large"></span></a></li>
<li><a target="_blank" rel="noopener noreferrer" href="https://github.com/VadimM91?tab=repositories" class="icon-github icon-large"></i></span></a></li>
</ul>
</section>
</section>
</footer>
<header id="header">
<a href="index.html" class="logo">All my Projects</a>
</header>
<!-- Copyright
<div id="copyright">
<ul><li>© Untitled</li><li>Design: <a href="https://html5up.net">HTML5 UP</a></li></ul>
</div>-->
</div>
<!-- Scripts -->
<script src="assets/js/jquery.min.js"></script>
<script src="assets/js/jquery.scrollex.min.js"></script>
<script src="assets/js/jquery.scrolly.min.js"></script>
<script src="assets/js/browser.min.js"></script>
<script src="assets/js/breakpoints.min.js"></script>
<script src="assets/js/util.js"></script>
<script src="assets/js/main.js"></script>
</body>
</html>