Skip to content

Commit

Permalink
Create basic data frame with Pixar franchise data
Browse files Browse the repository at this point in the history
  • Loading branch information
erictleung committed Nov 18, 2024
1 parent c3df866 commit 6f44e0d
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions data-raw/get_data.R
Original file line number Diff line number Diff line change
Expand Up @@ -1168,6 +1168,31 @@ pixar_rankings %>%
# ggsave("pixar_rankings_decade.png", width = 10, height = 6)



# Create franchise data ---------------------------------------------------

pixar_franchises <-
tribble(
~film, ~franchise,
"Toy Story", "Toy Story",
"Toy Story 2", "Toy Story",
"Monsters, Inc.", "Monsters, Inc.",
"Finding Nemo", "Finding Nemo",
"The Incredibles", "The Incredibles",
"Cars", "Cars",
"Toy Story 3", "Toy Story",
"Cars 2", "Cars",
"Monsters University", "Monsters, Inc.",
"Inside Out", "Inside Out",
"Finding Dory", "Finding Nemo",
"Cars 3", "Cars",
"Incredibles 2", "The Incredibles",
"Toy Story 4", "Toy Story",
"Lightyear", "Toy Story",
"Inside Out 2", "Inside Out"
)


# Calculate consensus ranking ---------------------------------------------

# Get each source's ranking and order them
Expand Down

0 comments on commit 6f44e0d

Please sign in to comment.