<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/the-fivethirtyeight-r-package/"></div></div><div></div></div><div></div></div>
<div>
(This article was first published on <strong><a href="http://blog.revolutionanalytics.com/2017/01/the-fivethirtyeight-r-package.html"> Revolutions</a></strong>, and kindly contributed to <a rel="nofollow" href="https://www.r-bloggers.com/">R-bloggers)</a> </div>
<div>
<p>Andrew Flowers, quantitiative editor of <a target="_blank" rel="nofollow" href="https://fivethirtyeight.com/">FiveThirtyEight.com</a>, announced at last weeks' <a target="_blank" rel="nofollow" href="https://www.rstudio.com/conference/">RStudio conference</a> the availability of a new R package containing data and analyses from some of their data journalism features: <a target="_blank" rel="nofollow" href="https://mran.microsoft.com/package/fivethirtyeight/">the fivethirtyeight package</a>. (Andrew's talk isn't yet online, but you can see him discuss several of these stories in his <a target="_blank" rel="nofollow" href="http://blog.revolutionanalytics.com/2016/07/data-journalism-with-r-at-538.html">UseR!2016 presentation</a>.) While not an official product of the FiveThirtyEight editorial team, it was developed by Albert Y. Kim, Chester Ismay and Jennifer Chunn<sup> </sup>under their guidance. Their <a target="_blank" rel="nofollow" href="https://mran.microsoft.com/web/packages/fivethirtyeight/vignettes/fivethirtyeight.html">motivation</a> for producing the package was to provide a resource for teaching data science:</p>
<blockquote>
<p>We are involved in statistics and data science education, in particular at the introductory undergraduate level. As such, we are always looking for data sets that balance being</p>
</blockquote>
<ol>
<li><strong>Rich enough</strong> to answer meaningful questions with, <strong>real enough</strong> to ensure that there is context, and <strong>realistic enough</strong> to convey to students that data as it exists “in the wild” often needs processing.</li>
<li>Easily and quickly accessible to novices, so that we <a target="_blank" rel="nofollow" href="https://arxiv.org/abs/1507.05346">minimize the prerequisites to research</a>.</li>
</ol>
<p>The package includes data sets from dozens of data journalism stories, including stories about <a target="_blank" rel="nofollow" href="http://fivethirtyeight.com/features/where-police-have-killed-americans-in-2015">police killings in the USA</a>, <a target="_blank" rel="nofollow" href="http://fivethirtyeight.com/features/should-travelers-avoid-flying-airlines-that-have-had-crashes-in-the-past/">plane crashes</a>, and <a target="_blank" rel="nofollow" href="https://projects.fivethirtyeight.com/clinton-trump-hip-hop-lyrics/">even references to presidential candidates in hip-hop lyrics</a>. There is also a complete worked analysis of <a target="_blank" rel="nofollow" href="http://fivethirtyeight.com/features/the-dollar-and-cents-case-against-hollywoods-exclusion-of-women/">performace of movies satisfying the Bechdel Test</a>, presented as an <a target="_blank" rel="nofollow" href="https://mran.microsoft.com/web/packages/fivethirtyeight/vignettes/bechdel.html">Rmarkdown vignette</a>.</p>
<p>The package is available for <a target="_blank" rel="nofollow" href="https://mran.microsoft.com/package/fivethirtyeight/">download now on CRAN</a>, and you can find the latest development version <a target="_blank" rel="nofollow" href="https://github.com/rudeboybert/fivethirtyeight">on GitHub</a>.</p>
</div>
<p>
<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/2017/01/the-fivethirtyeight-r-package.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/search/tutorial">tutorials</a> on topics such as: <a title="Data science" rel="nofollow" href="https://www.r-bloggers.com/search/data%20science">Data science</a>, <a title="Big Data" rel="nofollow" href="https://www.r-bloggers.com/search/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/search/ggplot2">ggplot2</a>, <a title="Boxplots using lattice and ggplot2 tutorials" rel="nofollow" href="https://www.r-bloggers.com/search/boxplot">Boxplots</a>, <a title="Maps and gis" rel="nofollow" href="https://www.r-bloggers.com/search/map">maps</a>, <a title="Animation in R" rel="nofollow" href="https://www.r-bloggers.com/search/animation">animation</a>), programming (<a title="RStudio IDE for R" rel="nofollow" href="https://www.r-bloggers.com/search/RStudio">RStudio</a>, <a title="Sweave and literate programming" rel="nofollow" href="https://www.r-bloggers.com/search/sweave">Sweave</a>, <a title="LaTeX in R" rel="nofollow" href="https://www.r-bloggers.com/search/LaTeX">LaTeX</a>, <a title="SQL and databases" rel="nofollow" href="https://www.r-bloggers.com/search/SQL">SQL</a>, <a title="Eclipse IDE for R" rel="nofollow" href="https://www.r-bloggers.com/search/eclipse">Eclipse</a>, <a title="git and github, Version Control System" rel="nofollow" href="https://www.r-bloggers.com/search/git">git</a>, <a title="Large data in R using Hadoop" rel="nofollow" href="https://www.r-bloggers.com/search/hadoop">hadoop</a>, <a title="Web Scraping of google, facebook, yahoo, twitter and more using R" rel="nofollow" href="https://www.r-bloggers.com/search/Web+Scraping">Web Scraping</a>) statistics (<a title="Regressions and ANOVA analysis tutorials" rel="nofollow" href="https://www.r-bloggers.com/search/regression">regression</a>, <a title="principal component analysis tutorial" rel="nofollow" href="https://www.r-bloggers.com/search/PCA">PCA</a>, <a title="Time series" rel="nofollow" href="https://www.r-bloggers.com/search/time+series">time series</a>, <a title="finance trading" rel="nofollow" href="https://www.r-bloggers.com/search/trading">trading</a>) and more...
<img height="1" alt="" width="1" src="http://feeds.feedburner.com/~r/RBloggers/~4/2pVcQASMh9E"></a></div>