<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/welcome-to-the-tidyverse/"></div></div><div><a data-url="https://www.r-bloggers.com/welcome-to-the-tidyverse/" data-counturl="https://www.r-bloggers.com/welcome-to-the-tidyverse/" data-count="horizontal" data-text="Welcome to the Tidyverse" 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="http://blog.revolutionanalytics.com/2016/09/tidyverse.html"> Revolutions</a></strong>, and kindly contributed to <a rel="nofollow" href="https://www.r-bloggers.com/">R-bloggers)</a> </div>
<div>
<p>Hadley Wickham, co-author (with Garrett Grolemund) of <em><a target="_blank" href="http://r4ds.had.co.nz/">R for Data Science</a></em> and RStudio's Chief Scientist, has focused much of his R package development on the un-sexy but critically important part of the data science process: data management. In the <a target="_blank" href="https://mran.microsoft.com/web/packages/tidyverse/vignettes/manifesto.html">Tidy Tools Manifesto</a>, he proposes four basic principles for any computer interface for handling data:</p>
<ol>
<li>
<p>Reuse existing data structures.</p>
</li>
<li>
<p>Compose simple functions with the pipe.</p>
</li>
<li>
<p>Embrace functional programming.</p>
</li>
<li>
<p>Design for humans.</p>
</li>
</ol>
<p>Those principles are realized in a <a target="_blank" href="https://blog.rstudio.org/2016/09/15/tidyverse-1-0-0/">new collection</a> of his R packages: <a target="_blank" href="https://github.com/hadley/tidyverse">the tidyverse</a>. Now, with a simple call to <span>library(tidyverse)</span> (after <a target="_blank" href="https://mran.microsoft.com/package/tidyverse/">installing the package from CRAN</a>), you can load a suite of tools to make managing data easier into your R session:</p>
<ul>
<li><a target="_blank" href="https://mran.microsoft.com/package/readr/">readr</a>, for importing data from files</li>
<li><a target="_blank" href="https://mran.microsoft.com/package/tibble/">tibble</a>, a modern iteration on data frames</li>
<li><a target="_blank" href="https://mran.microsoft.com/package/tidyr/">tidyr</a>, functions to rearrange data for analysis</li>
<li><a target="_blank" href="https://mran.microsoft.com/package/dplyr/">dplyr</a>, functions to filter, arrange, subset, modify and aggregate data frames</li>
</ul>
<p>The tidyverse also loads <a target="_blank" href="https://mran.microsoft.com/package/purrr/">purrr</a>, for functional programming with data, and <a target="_blank" href="https://mran.microsoft.com/package/ggplot2/">ggplot2</a>, for data visualization using the grammar of graphics.</p>
<p>Installing the tidyverse package also installs for you (but doesn't automatically load) a raft of other packages to help you work with dates/time, strings, factors (with the new <a target="_blank" href="https://mran.microsoft.com/package/forcats/">forcats</a> package), and statistical models. It also provides various packages for connecting to remote data sources and data file formats.</p>
<p>Simply put, tidyverse puts a complete suite of modern data-handling tools into your R session, and provides an essential toolbox for any data scientist using R. (Also, it's a lot easier to simply add <span>library(tidyverse)</span> to the top of your script rather than the dozen or so <span>library(…)</span> calls previously required!) Hadley regularly updates these packages, and you can easily update them in your R installation using the provided <span>tidyverse_update()</span> function.</p>
<p>For more on tidyverse, check out Hadley's post on the RStudio blog, linked below.</p>
<p>RStudio Blog: <a target="_blank" href="https://blog.rstudio.org/2016/09/15/tidyverse-1-0-0/">tidyverse 1.0.0</a></p>
</div>
<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/welcome-to-the-tidyverse/"></div></div><div><a data-url="https://www.r-bloggers.com/welcome-to-the-tidyverse/" data-counturl="https://www.r-bloggers.com/welcome-to-the-tidyverse/" data-count="vertical" data-text="Welcome to the Tidyverse" 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="http://blog.revolutionanalytics.com/2016/09/tidyverse.html"> Revolutions</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/euR5AEOxVFE"></a></div>