Skip to content

Commit 6f44e0d

Browse files
committed
Create basic data frame with Pixar franchise data
1 parent c3df866 commit 6f44e0d

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

data-raw/get_data.R

+25
Original file line numberDiff line numberDiff line change
@@ -1168,6 +1168,31 @@ pixar_rankings %>%
11681168
# ggsave("pixar_rankings_decade.png", width = 10, height = 6)
11691169

11701170

1171+
1172+
# Create franchise data ---------------------------------------------------
1173+
1174+
pixar_franchises <-
1175+
tribble(
1176+
~film, ~franchise,
1177+
"Toy Story", "Toy Story",
1178+
"Toy Story 2", "Toy Story",
1179+
"Monsters, Inc.", "Monsters, Inc.",
1180+
"Finding Nemo", "Finding Nemo",
1181+
"The Incredibles", "The Incredibles",
1182+
"Cars", "Cars",
1183+
"Toy Story 3", "Toy Story",
1184+
"Cars 2", "Cars",
1185+
"Monsters University", "Monsters, Inc.",
1186+
"Inside Out", "Inside Out",
1187+
"Finding Dory", "Finding Nemo",
1188+
"Cars 3", "Cars",
1189+
"Incredibles 2", "The Incredibles",
1190+
"Toy Story 4", "Toy Story",
1191+
"Lightyear", "Toy Story",
1192+
"Inside Out 2", "Inside Out"
1193+
)
1194+
1195+
11711196
# Calculate consensus ranking ---------------------------------------------
11721197

11731198
# Get each source's ranking and order them

0 commit comments

Comments
 (0)