Description Usage Format See Also Examples
The raw data behind the story "The Definitive Analysis Of 'Love Actually,' The Greatest Christmas Movie Of Our Time" https://fivethirtyeight.com/features/the-definitive-analysis-of-love-actually-the-greatest-christmas-movie-of-our-time/. A table of the central actors in "Love Actually" and which scenes they appear in.
1 |
A data frame with 71 rows representing scenes and 15 variables:
1 2 3 4 5 6 7 | # To convert data frame to tidy data (long) format, run:
library(dplyr)
library(tidyr)
library(stringr)
love_actually_appearance_tidy <- love_actually_appearance %>%
pivot_longer(-scenes, names_to = "actor", values_to = "appears") %>%
arrange(scenes)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.