knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", out.width = "100%" ) library(dplyr) library(knitr) library(stringr) all_fivethirtyeightdata_datasets <- data(package = "fivethirtyeightdata")$result[, c("Item", "Title")] %>% as_tibble()
fivethirtyeightdata
is an add-on R data package to the fivethirtyeight
package that contains user-contributed vignettes/
and r all_fivethirtyeightdata_datasets %>% nrow()
datasets that could not be included in fivethirtyeight
due to CRAN package size restrictions:
all_fivethirtyeightdata_datasets %>% mutate(Item = str_c("`", Item, "`")) %>% kable()
The released version of this package is hosted using a drat repository made using the the drat
package.
For more on using these data, see the GitHub repository for the fivethirtyeight
package.
To load the senators
dataset for example run:
library(fivethirtyeight) library(fivethirtyeightdata) senators
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.