Learn R Programming

fivethirtyeight (version 0.6.2)

love_actually_appearance: The Definitive Analysis Of 'Love Actually,' The Greatest Christmas Movie Of Our Time

Description

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.

Usage

love_actually_appearance

Arguments

Format

A data frame with 71 rows representing scenes and 15 variables:

scenes

bill_nighy

keira_knightley

andrew_lincoln

hugh_grant

colin_firth

alan_rickman

heike_makatsch

laura_linney

emma_thompson

liam_neeson

kris_marshall

abdul_salis

martin_freeman

rowan_atkinson

See Also

love_actually_adj.

Examples

Run this code
# NOT RUN {
# 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)
# }

Run the code above in your browser using DataLab