<p><div><div><div><div data-show-faces="false" data-height="21" data-width="100" data-layout="button_count" data-send="true" data-href="https://www.r-bloggers.com/regional-population-structures-at-a-glance/"></div></div><div></div></div><div></div></div>
<div>
(This article was first published on <strong><a href="https://ikashnitsky.github.io/2018/the-lancet-paper/"> Ilya Kashnitsky</a></strong>, and kindly contributed to <a rel="nofollow" href="https://www.r-bloggers.com/">R-bloggers)</a> </div>
<p><a rel="nofollow" href="https://i2.wp.com/ikashnitsky.github.io/images/180721/full-text.png?ssl=1" target="_blank"><img alt="fig0" src="https://i2.wp.com/ikashnitsky.github.io/images/180721/full-text.png?w=456&ssl=1" data-recalc-dims="1"></a></p>
<p>I am happy to announce that our paper is <a rel="nofollow" href="https://www.thelancet.com/journals/lancet/article/PIIS0140-6736(18)31194-2/fulltext" target="_blank">published today in <em>The Lancet</em></a>.</p>
<blockquote>
<p>Kashnitsky, I., &amp; Schöley, J. (2018). Regional population structures at a glance. <em>The Lancet</em>, 392(10143), 209–210. <a rel="nofollow" href="https://www.thelancet.com/journals/lancet/article/PIIS0140-6736(18)31194-2/fulltext" target="_blank">https://doi.org/10.1016/S0140-6736(18)31194-2</a></p>
</blockquote>
<h1>At a glance</h1>
<p>Demographic history of a population is imprinted in its age structure. A meaningful representation of regional population age structures can tell numerous demographic stories – at a glance. To produce such a snapshot of regional populations, we use an innovative approach of <em>ternary colour coding</em>.</p>
<p>Here is the map:</p>
<p><a rel="nofollow" href="https://i0.wp.com/ikashnitsky.github.io/images/180721/the-map.png?ssl=1" target="_blank"><img alt="fig1" src="https://i0.wp.com/ikashnitsky.github.io/images/180721/the-map.png?w=456&ssl=1" data-recalc-dims="1"></a></p>
<h1>We let the data speak colours</h1>
<p>With ternary colour coding, each element of a three-dimensional array of compositional data is represented with a unique colour. The resulting colours show direction and magnitude of deviations from the centrepoint, which represents the average age of the European population, and is dark grey. The hue component of a colour encodes the direction of deviation: yellow indicates an elderly population (>65 years), cyan indicates people of working age (15–64 years), and magenta indicates children (0–14 years).</p>
<p>The method is very flexible, and one can easily produce these meaningful colours using our <a rel="nofollow" href="https://github.com/jschoeley/tricolore" target="_blank">R package <code>tricolore</code></a>. Just explore the capabilities of the package in a built-in shiny app using the following lines of code:</p>
<div>
<div>
<pre><code>install.packages(&quot;ticolore&quot;)
library(tricolore)
DemoTricolore()
</code></pre>
</div>
</div>
<h1>Replication materials <a rel="nofollow" href="https://github.com/ikashnitsky/the-lancet-2018" target="_blank">at github</a></h1>
<h2>Folow us on Twitter: <a rel="nofollow" href="https://twitter.com/ikashnitsky" target="_blank">@ikahhnitsky</a>, <a rel="nofollow" href="https://twitter.com/jschoeley" target="_blank">@jschoeley</a>.</h2>
<h2>SEE ALSO</h2>
<ul>
<li><a rel="nofollow" href="https://osf.io/d4hjx/" target="_blank"><strong>My PhD project – Regional demographic convergence in Europe</strong></a></li>
<li><a rel="nofollow" href="https://ikashnitsky.github.io/2017/colorcoded-map/" target="_blank">Blog post on the first version of the map presented at Rostock Retreat Visualization in June 2017</a></li>
<li><a rel="nofollow" href="https://doi.org/10.4054/DemRes.2017.36.21" target="_blank">Paper (Schöley &amp; Willekens 2017) with the initial ideas for tricolore package</a></li>
<li><a rel="nofollow" href="https://github.com/ikashnitsky/demres-2018-geofacet" target="_blank">An example of ternary colorcoding used to visualize cause-of-death data</a></li>
<li><a rel="nofollow" href="https://doi.org/10.1186/s41118-017-0018-2" target="_blank">My other paper , which explores regional differences in population age structures</a></li>
</ul>
	<p>
<div>
<div>To <strong>leave a comment</strong> for the author, please follow the link and comment on their blog: <strong><a href="https://ikashnitsky.github.io/2018/the-lancet-paper/"> Ilya Kashnitsky</a></strong>.</div>
<hr>
<a rel="nofollow" href="https://www.r-bloggers.com/">R-bloggers.com</a> offers <strong><a rel="nofollow" href="https://feedburner.google.com/fb/a/mailverify?uri=RBloggers">daily e-mail updates</a></strong> about <a rel="nofollow" href="https://www.r-project.org/" title="The R Project for Statistical Computing">R</a> news and <a rel="nofollow" href="https://www.r-bloggers.com/search/tutorial" title="R tutorials">tutorials</a> on topics such as: <a rel="nofollow" href="https://www.r-bloggers.com/search/data%20science" title="Data science">Data science</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/Big%20Data" title="Big Data">Big Data, <a rel="nofollow" href="https://www.r-users.com/" title="R jobs">R jobs</a>, visualization (<a rel="nofollow" href="https://www.r-bloggers.com/search/ggplot2" title="ggplot and ggplot2 tutorials">ggplot2</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/boxplot" title="Boxplots using lattice and ggplot2 tutorials">Boxplots</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/map" title="Maps and gis">maps</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/animation" title="Animation in R">animation</a>), programming (<a rel="nofollow" href="https://www.r-bloggers.com/search/RStudio" title="RStudio IDE for R">RStudio</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/sweave" title="Sweave and literate programming">Sweave</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/LaTeX" title="LaTeX in R">LaTeX</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/SQL" title="SQL and databases">SQL</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/eclipse" title="Eclipse IDE for R">Eclipse</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/git" title="git and github, Version Control System">git</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/hadoop" title="Large data in R using Hadoop">hadoop</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/Web+Scraping" title="Web Scraping of google, facebook, yahoo, twitter and more using R">Web Scraping</a>) statistics (<a rel="nofollow" href="https://www.r-bloggers.com/search/regression" title="Regressions and ANOVA analysis tutorials">regression</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/PCA" title="principal component analysis tutorial">PCA</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/time+series" title="Time series">time series</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/trading" title="finance trading">trading</a>) and more...
<img width="1" alt="" src="http://feeds.feedburner.com/~r/RBloggers/~4/Pm12WVtX8tY" height="1"></a></div>