<p><div><div><div><div data-width="100" data-show-faces="false" data-send="true" data-layout="button_count" data-height="21" data-href="https://www.r-bloggers.com/creating-figures-like-the-paper-completeness-of-digital-accessible-knowledge-of-plants-of-ghana-part-2/"></div></div><div><a data-url="https://www.r-bloggers.com/creating-figures-like-the-paper-completeness-of-digital-accessible-knowledge-of-plants-of-ghana-part-2/" data-counturl="https://www.r-bloggers.com/creating-figures-like-the-paper-completeness-of-digital-accessible-knowledge-of-plants-of-ghana-part-2/" data-count="horizontal" data-text="Creating figures like the paper ‘Completeness of Digital Accessible Knowledge of Plants of Ghana’ Part 2" class="twitter-share-button" data-via="rbloggers" href="https://twitter.com/share"></a></div><div></div></div><div></div></div>
<div>
(This article was first published on <strong><a href="https://vijaybarve.wordpress.com/2016/11/08/creating-figures-like-the-paper-completeness-of-digital-accessible-knowledge-of-plants-of-ghana-part-2/"> Vijay Barve</a></strong>, and kindly contributed to <a rel="nofollow" href="https://www.r-bloggers.com/">R-bloggers)</a> </div>
<p><a target="_blank" rel="nofollow" href="https://vijaybarve.wordpress.com/2016/10/27/creating-figures-like-the-paper-completeness-of-digital-accessible-knowledge-of-plants-of-ghana-part-1/">Continuing from Part 1</a>, in case you have not done so, please set up the data as described before we try to make this temporal polar plot.</p>
<p>To create Figure 1b. Graph showing accumulation of records through time (during the year) we need  use function tempolar. This name ‘tempolar’ is simply a short of ‘temporal polar’. For this plot, we just count records for each Julian day, without considering the year. This tells us about seasonality of the data records.</p>
<p>Let us continue from the the previous part with code too, if if you do not have the data set up, please visit Part 1 and run the code.</p>
<p>First create just a very basic tempolar plot.</p>
<pre>
tempolar(occ)
</pre>
<p>Now this created the following graph:</p>
<p><a target="_blank" rel="nofollow" href="https://i2.wp.com/vijaybarve.files.wordpress.com/2016/11/tempolar1.jpeg?ssl=1"><img sizes="(max-width: 490px) 100vw, 490px" alt="Basic tempolar plot" class="wp-image-502" src="https://i2.wp.com/vijaybarve.files.wordpress.com/2016/11/tempolar1.jpeg?resize=456%2C456&ssl=1" data-recalc-dims="1"></a></p>
<p>This graph looks very different than what we want to create. This is plotting the data for each day, but the plot we want is for monthly data. Let us sue timescale = “m” to specify monthly data aggregation.</p>
<pre>
tempolar(occ,timescale = 'm')
</pre>
<p>Now this created the following graph:</p>
<p><a target="_blank" rel="nofollow" href="https://i1.wp.com/vijaybarve.files.wordpress.com/2016/11/temporal2.jpeg?ssl=1"><img sizes="(max-width: 490px) 100vw, 490px" alt="monthly temporal plot" class="wp-image-505" src="https://i1.wp.com/vijaybarve.files.wordpress.com/2016/11/temporal2.jpeg?resize=456%2C456&ssl=1" data-recalc-dims="1"></a></p>
<p>So now this is what we expected to have as a figure. One final thing is to add a better title.</p>
<pre>
tempolar(occ,timescale = 'm', color = &quot;blue&quot;,
         title = 'Pattern of accumulation of records 
                  of Indian Birds by month')
</pre>
<p><a target="_blank" rel="nofollow" href="https://i2.wp.com/vijaybarve.files.wordpress.com/2016/11/tempolar31.jpeg?ssl=1"><img sizes="(max-width: 490px) 100vw, 490px" alt="final tempolar" class="wp-image-513" src="https://i2.wp.com/vijaybarve.files.wordpress.com/2016/11/tempolar31.jpeg?resize=456%2C456&ssl=1" data-recalc-dims="1"></a></p>
<p> </p>
<p>Currently the tempolar does not have ability to display values for each month. Is that very important and needs to be added? We would like to hear form the users.</p>
<p>If you have suggestions on improving the features of <a target="_blank" rel="nofollow" href="https://cran.r-project.org/web/packages/bdvis/index.html">package bdvis</a> please leave comments <a target="_blank" rel="nofollow" href="https://github.com/vijaybarve/bdvis/issues">Github repository</a>.</p>
<p><strong>References</strong></p>
<ul>
<li>Asase, Alex, and A Townsend Peterson. 2016. “Completeness of Digital Accessible Knowledge of Plants of Ghana.” Biodiversity Informatics, 1–11. doi:<a target="_blank" rel="nofollow" href="http://dx.doi.org/10.17161/bi.v11i0.5860">http://dx.doi.org/10.17161/bi.v11i0.5860</a>.</li>
<li>Barve, Vijay, and Javier Otegui. 2016. “Bdvis: Visualizing Biodiversity Data in R.” Bioinformatics. doi:<a target="_blank" rel="nofollow" href="http://dx.doi.org/10.1093/bioinformatics/btw333">http://dx.doi.org/10.1093/bioinformatics/btw333</a>.</li>
</ul>
<p> <a target="_blank" rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/vijaybarve.wordpress.com/500/"><img alt="" src="http://feeds.wordpress.com/1.0/comments/vijaybarve.wordpress.com/500/" border="0"></a> <img alt="" src="https://i1.wp.com/pixel.wp.com/b.gif?resize=1%2C1&ssl=1" border="0" data-recalc-dims="1"></p>
<p><div><div><div><div data-width="55" data-show-faces="false" data-send="true" data-layout="box_count" data-height="62" data-href="https://www.r-bloggers.com/creating-figures-like-the-paper-completeness-of-digital-accessible-knowledge-of-plants-of-ghana-part-2/"></div></div><div><a data-url="https://www.r-bloggers.com/creating-figures-like-the-paper-completeness-of-digital-accessible-knowledge-of-plants-of-ghana-part-2/" data-counturl="https://www.r-bloggers.com/creating-figures-like-the-paper-completeness-of-digital-accessible-knowledge-of-plants-of-ghana-part-2/" data-count="vertical" data-text="Creating figures like the paper ‘Completeness of Digital Accessible Knowledge of Plants of Ghana’ Part 2" class="twitter-share-button" data-via="rbloggers" href="https://twitter.com/share"></a></div><div></div></div><div></div></div>
<div>
<div>To <strong>leave a comment</strong> for the author, please follow the link and comment on their blog: <strong><a href="https://vijaybarve.wordpress.com/2016/11/08/creating-figures-like-the-paper-completeness-of-digital-accessible-knowledge-of-plants-of-ghana-part-2/"> Vijay Barve</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 title="The R Project for Statistical Computing" rel="nofollow" href="https://www.r-project.org/">R</a> news and <a title="R tutorials" rel="nofollow" href="https://www.r-bloggers.com/?s=tutorial">tutorials</a> on topics such as: <a title="Data science" rel="nofollow" href="https://www.r-bloggers.com/?s=data%20science">Data science</a>, <a title="Big Data" rel="nofollow" href="https://www.r-bloggers.com/?s=Big%20Data">Big Data, <a title="R jobs" rel="nofollow" href="https://www.r-users.com/">R jobs</a>, visualization (<a title="ggplot and ggplot2 tutorials" rel="nofollow" href="https://www.r-bloggers.com/?s=ggplot2">ggplot2</a>, <a title="Boxplots using lattice and ggplot2 tutorials" rel="nofollow" href="https://www.r-bloggers.com/?s=boxplot">Boxplots</a>, <a title="Maps and gis" rel="nofollow" href="https://www.r-bloggers.com/?s=map">maps</a>, <a title="Animation in R" rel="nofollow" href="https://www.r-bloggers.com/?s=animation">animation</a>), programming (<a title="RStudio IDE for R" rel="nofollow" href="https://www.r-bloggers.com/?s=RStudio">RStudio</a>, <a title="Sweave and literate programming" rel="nofollow" href="https://www.r-bloggers.com/?s=sweave">Sweave</a>, <a title="LaTeX in R" rel="nofollow" href="https://www.r-bloggers.com/?s=LaTeX">LaTeX</a>, <a title="SQL and databases" rel="nofollow" href="https://www.r-bloggers.com/?s=SQL">SQL</a>, <a title="Eclipse IDE for R" rel="nofollow" href="https://www.r-bloggers.com/?s=eclipse">Eclipse</a>, <a title="git and github, Version Control System" rel="nofollow" href="https://www.r-bloggers.com/?s=git">git</a>, <a title="Large data in R using Hadoop" rel="nofollow" href="https://www.r-bloggers.com/?s=hadoop">hadoop</a>, <a title="Web Scraping of google, facebook, yahoo, twitter and more using R" rel="nofollow" href="https://www.r-bloggers.com/?s=Web+Scraping">Web Scraping</a>) statistics (<a title="Regressions and ANOVA analysis tutorials" rel="nofollow" href="https://www.r-bloggers.com/?s=regression">regression</a>, <a title="principal component analysis tutorial" rel="nofollow" href="https://www.r-bloggers.com/?s=PCA">PCA</a>, <a title="Time series" rel="nofollow" href="https://www.r-bloggers.com/?s=time+series">time series</a>, <a title="finance trading" rel="nofollow" href="https://www.r-bloggers.com/?s=trading">trading</a>) and more...
<img height="1" alt="" width="1" src="http://feeds.feedburner.com/~r/RBloggers/~4/NPpiDcNXU-A"></a></div>