data <- readr::read_csv('https://raw.githubusercontent.com/rfordatascience/tidytuesday/main/data/2026/2026-06-09/game_films.csv')
## Rows: 439 Columns: 20
## ── Column specification ────────────────────────────────────────────────────────
## Delimiter: ","
## chr (14): category, subcategory, title, director, release_date_raw, air_dat...
## dbl (5): worldwide_box_office, rotten_tomatoes, metacritic, budget_low, bu...
## date (1): release_date
##
## ℹ Use `spec()` to retrieve the full column specification for this data.
## ℹ Specify the column types or set `show_col_types = FALSE` to quiet this message.
data$title
## [1] "Super Mario Bros."
## [2] "Double Dragon"
## [3] "Street Fighter"
## [4] "Mortal Kombat"
## [5] "Mortal Kombat Annihilation"
## [6] "Wing Commander"
## [7] "Lara Croft: Tomb Raider"
## [8] "Resident Evil"
## [9] "Lara Croft: Tomb Raider – The Cradle of Life"
## [10] "House of the Dead"
## [11] "Resident Evil: Apocalypse"
## [12] "Alone in the Dark"
## [13] "Doom"
## [14] "BloodRayne"
## [15] "Silent Hill"
## [16] "DOA: Dead or Alive"
## [17] "Resident Evil: Extinction"
## [18] "Postal"
## [19] "Hitman"
## [20] "In the Name of the King: A Dungeon Siege Tale"
## [21] "Far Cry"
## [22] "Max Payne"
## [23] "Street Fighter: The Legend of Chun-Li"
## [24] "Tekken"
## [25] "Prince of Persia: The Sands of Time"
## [26] "Resident Evil: Afterlife"
## [27] "Resident Evil: Retribution"
## [28] "Silent Hill: Revelation"
## [29] "Need for Speed"
## [30] "Hitman: Agent 47"
## [31] "Warcraft"
## [32] "Assassin's Creed"
## [33] "Resident Evil: The Final Chapter"
## [34] "Tomb Raider"
## [35] "Rampage"
## [36] "Dead Trigger"
## [37] "Pokémon Detective Pikachu"
## [38] "Sonic the Hedgehog"
## [39] "Monster Hunter"
## [40] "Mortal Kombat"
## [41] "Werewolves Within"
## [42] "Resident Evil: Welcome to Raccoon City"
## [43] "Uncharted"
## [44] "Sonic the Hedgehog 2"
## [45] "Five Nights at Freddy's"
## [46] "Borderlands"
## [47] "Sonic the Hedgehog 3"
## [48] "A Minecraft Movie"
## [49] "Until Dawn"
## [50] "Five Nights at Freddy's 2"
## [51] "Return to Silent Hill"
## [52] "Iron Lung"
## [53] "Mortal Kombat II"
## [54] "Resident Evil"
## [55] "Street Fighter"
## [56] "Sonic the Hedgehog 4"
## [57] "The Legend of Zelda"
## [58] "A Minecraft Sequel"
## [59] "Helldivers"
## [60] "Elden Ring"
## [61] "Call of Duty"
## [62] "Untitled Sonic spin-off film"
## [63] "Undated"
## [64] "Watch Dogs"
## [65] "In development"
## [66] "99 Nights in the Forest"
## [67] "Battlefield"
## [68] "Bendy and the Ink Machine"
## [69] "Chained Together"
## [70] "Clair Obscur: Expedition 33"
## [71] "Comix Zone"
## [72] "Untitled Crossfire film"
## [73] "Dark Deception"
## [74] "Days Gone"
## [75] "Death Stranding"
## [76] "Untitled Dead by Daylight film"
## [77] "Untitled Detective Pikachu sequel"
## [78] "Dredge"
## [79] "Untitled Duke Nukem film"
## [80] "El Paso, Elsewhere"
## [81] "Eternal Champions"
## [82] "F.E.A.R."
## [83] "Finding Frankie"
## [84] "Untitled Firewatch film"
## [85] "Five Nights at Freddy's 3"
## [86] "Ghost of Tsushima"
## [87] "Gravity Rush"
## [88] "Hello Neighbor: The Movie"
## [89] "Home Safety Hotline"
## [90] "Horizon Zero Dawn"
## [91] "The House of the Dead"
## [92] "Jak and Daxter"
## [93] "Just Cause"
## [94] "Untitled Just Dance film"
## [95] "The Medium"
## [96] "Untitled Metal Gear film"
## [97] "Outlast"
## [98] "Out Run"
## [99] "Untitled Pac-Man film"
## [100] "Poppy Playtime"
## [101] "Untitled Portal film"
## [102] "Untitled Rabbids film"
## [103] "Riders Republic"
## [104] "Ruiner"
## [105] "Untitled Saints Row film"
## [106] "Shinobi"
## [107] "Sleeping Dogs"
## [108] "Slime Rancher"
## [109] "Space Channel 5"
## [110] "Untitled Space Invaders film"
## [111] "Untitled Streets of Rage film"
## [112] "Untitled Talking Tom film"
## [113] "Untitled Tom Clancy's Ghost Recon film"
## [114] "Untitled Uncharted sequel"
## [115] "Vampire Survivors"
## [116] "Final Fantasy: The Spirits Within"
## [117] "Resident Evil: Degeneration"
## [118] "Resident Evil: Damnation"
## [119] "Moshi Monsters: The Movie"
## [120] "Heavenly Sword"
## [121] "Ratchet & Clank"
## [122] "The Angry Birds Movie"
## [123] "Resident Evil: Vendetta"
## [124] "The Angry Birds Movie 2"
## [125] "The Super Mario Bros. Movie"
## [126] "Scarygirl"
## [127] "Resident Evil: Death Island"
## [128] "The Super Mario Galaxy Movie"
## [129] "The Angry Birds Movie 3"
## [130] "Undated"
## [131] "Bloodborne"
## [132] "Death Stranding: Mosquito (working title)"
## [133] "Grow a Garden"
## [134] "Steal a Brainrot"
## [135] "Stray"
## [136] "To the Moon"
## [137] "Mirai Ninja"
## [138] "Tokimeki Memorial"
## [139] "Forbidden Siren"
## [140] "Like a Dragon"
## [141] "OneChanbara"
## [142] "Higurashi no Naku Koro ni"
## [143] "Higurashi no Naku Koro ni Chikai"
## [144] "Ace Attorney"
## [145] "Ao Oni"
## [146] "Gekijōban Zero (Fatal Frame/Project Zero)"
## [147] "Ao Oni ver2.0"
## [148] "Corpse Party"
## [149] "Corpse Party Book of Shadows"
## [150] "House of Neko Atsume"
## [151] "Exit 8"
## [152] "Street Fighter II: The Animated Movie"
## [153] "Pokémon: The First Movie"
## [154] "Pokémon: The Movie 2000"
## [155] "Pokémon 3: The Movie"
## [156] "Pokémon 4Ever"
## [157] "Pokémon Heroes"
## [158] "Pokémon: Jirachi Wish Maker"
## [159] "Pokémon: Destiny Deoxys"
## [160] "Pokémon: Lucario and the Mystery of Mew"
## [161] "Final Fantasy VII: Advent Children"
## [162] "Pokémon Ranger and the Temple of the Sea"
## [163] "Pokémon: The Rise of Darkrai"
## [164] "Pokémon: Giratina and the Sky Warrior"
## [165] "Pokémon: Arceus and the Jewel of Life"
## [166] "Pokémon: Zoroark: Master of Illusions"
## [167] "Pokémon the Movie: Black—Victini and Reshiram and White—Victini and Zekrom"
## [168] "Pokémon the Movie: Kyurem vs. the Sword of Justice"
## [169] "Pokémon the Movie: Genesect and the Legend Awakened"
## [170] "Pokémon the Movie: Diancie and the Cocoon of Destruction"
## [171] "Yo-kai Watch: The Movie"
## [172] "Pokémon the Movie: Hoopa and the Clash of Ages"
## [173] "Yo-kai Watch: Enma Daiō to Itsutsu no Monogatari da Nyan!"
## [174] "Kingsglaive: Final Fantasy XV"
## [175] "Pokémon the Movie: Volcanion and the Mechanical Marvel"
## [176] "Pokémon the Movie: I Choose You!"
## [177] "Fate/stay night: Heaven's Feel I. presage flower"
## [178] "Pokémon the Movie: The Power of Us"
## [179] "Fate/stay night: Heaven's Feel II. lost butterfly"
## [180] "Pokémon: Mewtwo Strikes Back Evolution"
## [181] "NiNoKuni"
## [182] "Fate/stay night: Heaven's Feel III. spring song"
## [183] "Pokémon the Movie: Secrets of the Jungle"
## [184] "Colorful Stage! The Movie: A Miku Who Can't Sing"
## [185] "Super Mario Bros.: The Great Mission to Rescue Princess Peach!"
## [186] "Running Boy: Star Soldier no Himitsu "
## [187] "Dragon Quest: Dai no Daibōken"
## [188] "Dragon Quest: Dai no Daibōken Tachiagare!! Aban no Shito"
## [189] "Dragon Quest: Dai no Daibōken Buchiya bure!! Shinsei Rokudai Shoguo"
## [190] "Fatal Fury: The Motion Picture"
## [191] "Sakura Wars: The Movie"
## [192] "Air"
## [193] "Animal Crossing"
## [194] "Clannad"
## [195] "Resident Evil: Degeneration"
## [196] "Tales of Vesperia: The First Strike"
## [197] "Professor Layton and the Eternal Diva"
## [198] "Fate/stay night: Unlimited Blade Works"
## [199] "Sengoku Basara: The Last Party"
## [200] "Tekken: Blood Vengeance"
## [201] "Dragon Age: Dawn of the Seeker"
## [202] "Bayonetta: Bloody Fate"
## [203] "Persona 3 The Movie: No. 1, Spring of Birth"
## [204] "The Idolmaster Movie: Beyond the Brilliant Future!"
## [205] "Pretty Rhythm All-Star Selection: Prism Show☆Best Ten"
## [206] "Persona 3 The Movie: No. 2, Midsummer Knight's Dream"
## [207] "Aikatsu! The Movie"
## [208] "PriPara the Movie: Everyone, Assemble! Prism ☆ Tours"
## [209] "Persona 3 The Movie: No. 3, Falling Down"
## [210] "Gekijōban Meiji Tokyo Renka: Yumihari no Serenade"
## [211] "Aikatsu! Music Award: Minna de Shō o MoraimaSHOW!"
## [212] "Fly Out, PriPara: Aim for it with Everyone! Idol☆Grand Prix"
## [213] "King of Prism by Pretty Rhythm"
## [214] "Persona 3 The Movie: No. 4, Winter of Rebirth"
## [215] "PriPara Minna no Akogare Let's Go PriPari"
## [216] "Monster Strike The Movie"
## [217] "Yo-kai Watch: Soratobu Kujira to Double no Sekai no Daibōken da Nyan!"
## [218] "Resident Evil: Vendetta"
## [219] "King of Prism: Pride the Hero"
## [220] "Yo-kai Watch Shadowside: Oni-ō no Fukkatsu"
## [221] "Monster Strike The Movie: Sora no Kanata"
## [222] "Yo-kai Watch: Forever Friends"
## [223] "King of Prism: Shiny Seven Stars I: Prologue × Yukinojo × Taiga"
## [224] "King of Prism: Shiny Seven Stars II: Kakeru × Joji × Minato"
## [225] "King of Prism: Shiny Seven Stars III: Leo × Yu × Alec"
## [226] "King of Prism: Shiny Seven Stars IV: Louis × Shin × Unknown"
## [227] "Dragon Quest: Your Story"
## [228] "Deemo: Memorial Keys"
## [229] "Legend of the Ancient Sword"
## [230] "Detention"
## [231] "Dynasty Warriors: Destiny of an Emperor"
## [232] "Seer"
## [233] "Roco Kingdom: The Dragon Knight"
## [234] "Seer 2"
## [235] "Roco Kingdom: The Desire of Dragon"
## [236] "Seer 3: Heroes Alliance"
## [237] "Roco Kingdom 3"
## [238] "Seer 4"
## [239] "Dragon Nest: Warriors' Dawn"
## [240] "Seer 5: Rise of Thunder"
## [241] "Roco Kingdom 4"
## [242] "Dragon Nest 2: Throne of Elves"
## [243] "Seer 6: Invincible Puni"
## [244] "Seer 7: Crazy Intelligence"
## [245] "Undated"
## [246] "Untitled Nikki Nuannuan film"
## [247] "Fatal Fury: Legend of the Hungry Wolf"
## [248] "Fatal Fury 2: The New Battle"
## [249] "Art of Fighting"
## [250] "Samurai Shodown: The Motion Picture"
## [251] "Pokémon: Mewtwo Returns"
## [252] "Pokémon: The Legend of Thunder"
## [253] "House of the Dead 2 (live-action)"
## [254] "Pokémon: The Mastermind of Mirage Pokémon"
## [255] "Red Faction: Origins (live-action)"
## [256] "Higurashi no Naku Koro ni Kaku: Outbreak"
## [257] "Rabbids Invasion: Mission to Mars"
## [258] "The Mortuary Assistant"
## [259] "Undated"
## [260] "Untitled Beyond Good & Evil film"
## [261] "BioShock"
## [262] "Gears of War"
## [263] "Untitled Carmen Sandiego film"
## [264] "Untitled Dragon's Lair film"
## [265] "Untitled It Takes Two film"
## [266] "Kingmakers"
## [267] "Mega Man"
## [268] "Sifu"
## [269] "The Sims"
## [270] "Split Fiction"
## [271] "ToeJam & Earl"
## [272] "Untitled Tom Clancy's The Division film"
## [273] "Mirai Ninja"
## [274] "Tokimeki Memorial"
## [275] "Like a Dragon: Prologue"
## [276] "BloodRayne 2: Deliverance"
## [277] "Alone in the Dark II"
## [278] "OneChanbara: The Movie – Vortex"
## [279] "The King of Fighters"
## [280] "BloodRayne: The Third Reich"
## [281] "In the Name of the King 2: Two Worlds"
## [282] "Halo 4: Forward Unto Dawn"
## [283] "Company of Heroes"
## [284] "Zombie Massacre"
## [285] "In the Name of the King 3: The Last Mission"
## [286] "Street Fighter: Assassin's Fist"
## [287] "Tekken 2: Kazuya's Revenge"
## [288] "Halo: Nightfall"
## [289] "Dead Rising: Watchtower"
## [290] "Dead Rising: Endgame"
## [291] "It Came from the Desert"
## [292] "Doom: Annihilation"
## [293] "Tengai Makyō Jiraia Oboro Hen"
## [294] "Ninja Gaiden"
## [295] "Mortal Kombat: The Journey Begins"
## [296] "Battle Arena Toshinden"
## [297] "Sonic the Hedgehog"
## [298] "Voltage Fighters: Gowcaizer the Movie"
## [299] "Tekken: The Motion Picture"
## [300] "Samurai Spirits 2: Asura Zanmaden"
## [301] "Street Fighter Alpha: The Animation"
## [302] "Sin: The Movie"
## [303] "Zone of the Enders: 2167 Idolo"
## [304] "Nakoruru ~Ano hito kara no okurimono~"
## [305] "Welcome to Pia Carrot – Sayaka's Love Story"
## [306] "Galerians: Rion"
## [307] "Last Order: Final Fantasy VII"
## [308] "Street Fighter Alpha: Generations"
## [309] "Elf Bowling the Movie"
## [310] "Dead Space: Downfall"
## [311] "Street Fighter IV: The Ties That Bind"
## [312] "Dante's Inferno: An Animated Epic"
## [313] "Halo Legends"
## [314] "Dead Space: Aftermath"
## [315] "Mass Effect: Paragon Lost"
## [316] "Batman: Assault on Arkham"
## [317] "Heavenly Sword"
## [318] "Brotherhood: Final Fantasy XV"
## [319] "Final Fantasy XV: Episode Ardyn – Prologue"
## [320] "Mortal Kombat Legends: Scorpion's Revenge"
## [321] "Mortal Kombat Legends: Battle of the Realms"
## [322] "Injustice"
## [323] "Mortal Kombat Legends: Snow Blind"
## [324] "Mortal Kombat Legends: Cage Match"
## [325] "Undated"
## [326] "Mortal Kombat Legends: Fall of Edenia"
## [327] "Dragon Ball Z Side Story: Plan to Eradicate the Saiyans"
## [328] "Front Mission"
## [329] "Front Mission Series: Gun Hazard"
## [330] "Abe's Exoddus: The Movie"
## [331] "Grand Theft Auto 2: The Movie"
## [332] "Run the Gauntlet (Driv3r)"
## [333] "Grand Theft Auto: San Andreas – The Introduction"
## [334] "Crash Bandicoot: No Use Crying (Crash of the Titans)"
## [335] "Crash Bandicoot Monster Truck (Crash of the Titans)"
## [336] "Crash Bandicoot – Titan Idol (Crash of the Titans)"
## [337] "Crash Bandicoot – Have Another (Crash of the Titans)"
## [338] "Deep Dive (Kingdom Hearts)"
## [339] "Halo: Landfall"
## [340] "Heavenly Sword"
## [341] "Sonic: Night of the Werehog"
## [342] "Kijujud ayo (Resident Evil 5)"
## [343] "Assassin's Creed: Lineage"
## [344] "Bright Falls"
## [345] "Street Fighter: Legacy"
## [346] "Red Dead Redemption: The Man from Black Water"
## [347] "Mortal Kombat: Rebirth"
## [348] "Zombrex Dead Rising Sun (Dead Rising 2)"
## [349] "Dragon Ball: Plan to Eradicate the Super Saiyans"
## [350] "Find Makarov: Operation Kingfish (Call of Duty)"
## [351] "Assassin's Creed: Embers"
## [352] "Dragon Age: Redemption"
## [353] "Ghost Recon: Alpha"
## [354] "Diablo III – Wrath"
## [355] "Tekken Tag Tournament 2"
## [356] "Modern Warfare: Sunrise (Call of Duty)"
## [357] "Expiration Date (Team Fortress 2)"
## [358] "Shadow of Mordor"
## [359] "Payday 2: Hoxton Breakout (Payday 2)"
## [360] "The Night Juicer (Pikmin)"
## [361] "Treasure in a Bottle (Pikmin)"
## [362] "Occupational Hazards (Pikmin)"
## [363] "Star Fox Zero: The Battle Begins"
## [364] "Tom Clancy's Ghost Recon Wildlands: War Within the Cartel"
## [365] "The Light Candle"
## [366] "Papers, Please – The Short Film"
## [367] "The Far Cry Experience"
## [368] "Far Cry 5: Inside Eden's Gate (Far Cry 5)"
## [369] "Carmen Sandiego: To Steal or Not to Steal"
## [370] "Conviction (Anthem)"
## [371] "PUBG – The Worst Player in the World (PlayerUnknown's Battlegrounds)"
## [372] "The Division 2 – Warlords of New York"
## [373] "8BIT"
## [374] "Chasing Ghosts: Beyond the Arcade"
## [375] "The King of Kong: A Fistful of Quarters"
## [376] "Frag"
## [377] "Second Skin"
## [378] "Ecstasy of Order: The Tetris Masters"
## [379] "Indie Game: The Movie"
## [380] "Thank You for Playing"
## [381] "The Lost Arcade"
## [382] "Moleman 4 – Longplay"
## [383] "Polybius: The Video Game That Doesn't Exist"
## [384] "League of Legends Origins"
## [385] "Uncle Art"
## [386] "Cannon Arm and the Arcade Quest"
## [387] "Thumb Candy"
## [388] "Games Odyssey"
## [389] "Game Makers"
## [390] "Tetris: From Russia With Love"
## [391] "The Video Game Revolution"
## [392] "History of Video Games"
## [393] "Game On!: The Unauthorized History of Videogames"
## [394] "I, VIDEOGAME"
## [395] "Rise of the Video Game"
## [396] "Charlie Brooker's Gameswipe"
## [397] "Cyberdreams/Cyberdrømme"
## [398] "How Videogames Changed the World"
## [399] "The Gamechangers"
## [400] "Game Over: Gender, Race & Violence in Video Games"
## [401] "Once Upon Atari"
## [402] "Video Game Invasion: The History of a Global Obsession"
## [403] "It's in the Game"
## [404] "Beyond the Game"
## [405] "Playing Columbine"
## [406] "Moral Kombat"
## [407] "Get Lamp"
## [408] "King of Chinatown"
## [409] "Level Up - A story about gamers and the games they play"
## [410] "100 Yen: The Japanese Arcade Experience"
## [411] "Minecraft: The Story of Mojang"
## [412] "The Smash Brothers"
## [413] "The Art of the Game"
## [414] "Atari: Game Over"
## [415] "Free to Play"
## [416] "From Bedrooms to Billions"
## [417] "Good Game"
## [418] "Gaming in Color"
## [419] "The King of Arcades"
## [420] "Video Games: The Movie"
## [421] "GameLoading – Rise of the Indies"
## [422] "GTFO"
## [423] "Man vs Snake: The Long and Twisted Tale of Nibbler"
## [424] "Nintendo Quest"
## [425] "Beep: A Documentary History of Game Sound"
## [426] "FGC: Rise of the Fighting Game Community"
## [427] "From Bedrooms to Billions: The Amiga Years!"
## [428] "Console Wars"
## [429] "From Bedrooms to Billions: The PlayStation Revolution"
## [430] "Insert Coin"
## [431] "Metagame"
## [432] "Rarity: Retro Video Game Collecting in the Modern Era"
## [433] "Power On: The Story of Xbox"
## [434] "Stamps Back"
## [435] "We Met in Virtual Reality"
## [436] "Running With Speed"
## [437] "FPS: First Person Shooter"
## [438] "Grand Theft Hamlet"
## [439] "George A. Romero's Resident Evil"
str_detect(data$title, "Far Cry")
## [1] FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE
## [13] FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE TRUE FALSE FALSE FALSE
## [25] FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE
## [37] FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE
## [49] FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE
## [61] FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE
## [73] FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE
## [85] FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE
## [97] FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE
## [109] FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE
## [121] FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE
## [133] FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE
## [145] FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE
## [157] FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE
## [169] FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE
## [181] FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE
## [193] FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE
## [205] FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE
## [217] FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE
## [229] FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE
## [241] FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE
## [253] FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE
## [265] FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE
## [277] FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE
## [289] FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE
## [301] FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE
## [313] FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE
## [325] FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE
## [337] FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE
## [349] FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE
## [361] FALSE FALSE FALSE FALSE FALSE FALSE TRUE TRUE FALSE FALSE FALSE FALSE
## [373] FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE
## [385] FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE
## [397] FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE
## [409] FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE
## [421] FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE
## [433] FALSE FALSE FALSE FALSE FALSE FALSE FALSE
sum(str_detect(data$title, "Far Cry"))
## [1] 3
data %>%
summarise(num_FarCry = sum(str_detect(title, "Far Cry")))
## # A tibble: 1 × 1
## num_FarCry
## <int>
## 1 3
data %>%
mutate(col_FarCry = str_extract(title, "Far Cry")) %>%
select(title, col_FarCry) %>%
filter(!is.na(col_FarCry))
## # A tibble: 3 × 2
## title col_FarCry
## <chr> <chr>
## 1 Far Cry Far Cry
## 2 The Far Cry Experience Far Cry
## 3 Far Cry 5: Inside Eden's Gate (Far Cry 5) Far Cry