Data and Code Behind the Stories and Interactives at 'FiveThirtyEight'

Datasets and code published by the data journalism website 'FiveThirtyEight' available at <>. Note that while we received guidance from editors at 'FiveThirtyEight', this package is not officially published by 'FiveThirtyEight'.


fivethirtyeight 0.3.0

  • Added new and missing data sets: riddler_castles2, antiquities_act, goose, tenth_circuit
  • Added more crowd-sourced vignettes: bob_ross.Rmd, tarantino_swears.Rmd
  • Other minor changes:
    • Fixed levels in bechdel$clean_test and bechdel$test to match hierarchical nature of test

fivethirtyeight 0.2.0

  • Added new and missing data sets up through February 28, 2017: college_grad_students, college_recent_grads, cousin_marriage, hate_crimes, pres_2016_trail, riddler_castles
  • Added first crowd-sourced vignettes: comics_gender, NBA, trump_twitter
  • Added global help file for package: ?fivethirtyeight with complete instructions
  • Started adding @examples code in help files to convert to tidy data format so that data plays nice with tidyverse tools.
  • Other minor changes:

fivethirtyeight 0.1.0

  • Included all data sets as of late December 2016. love-actually being the latest
  • Included one code example as a Vignette: bechdel

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.


0.4.0 by Albert Y. Kim, a month ago

Report a bug at

Browse source code at

Authors: Albert Y. Kim [aut, cre], Chester Ismay [aut], Jennifer Chunn [aut], Meredith Manley [ctb], Maggie Shea [ctb], Andrew Flowers [ctb], Jonathan Bouchet [ctb], G. Elliott Morris [ctb], Adam Spannbauer [ctb], Pradeep Adhokshaja [ctb], Olivia Barrows [ctb], Jojo Miller [ctb], Jayla Nakayama [ctb]

Documentation:   PDF Manual  

MIT + file LICENSE license

Suggests fivethirtyeight, tidyverse, lubridate, stringr, magrittr, knitr, rmarkdown, broom, scales, tidytext, ggthemes, hunspell, grid, fmsb, wordcloud, gridExtra, corrplot, ggraph, igraph, highcharter, janitor

Suggested by fivethirtyeight, supernova.

See at CRAN