Skip to content

In this fun analysis, I take Star Wars movie screenplays and look at word frequencies and sentiment across films in the original and prequel trilogies.

Notifications You must be signed in to change notification settings

domdicarlo/star_wars_script_analysis

Repository files navigation

Star Wars Script Analysis

About

In this fun analysis, I take Star Wars movie screenplays and look at word frequencies and sentiment across films in the original and prequel trilogies. I also look briefly at the one of the newer movies and make a comparison to the originals. I scrape the texts from the the Internet Movie Script Database in the R-Markdown. I have also added backup copies of these texts in the "./data" directory.

Navigation

The R markdown file can be found in the same directory as this README, along with a pre-rendered markdown file. The scripts are found in the data folder.

Links

Analysis

R-Markdown of Script Analysis

Markdown of Script Analysis

Screenplays

Star Wars Episode 1

Star Wars Episode 2

Star Wars Episode 3

Star Wars Episode 4

Star Wars Episode 5

Star Wars Episode 6

Star Wars Episode 7

Required Packages

  • library(tidyverse) - tidy data functions

  • library(rvest) - for working with html data on websites

  • library(tidytext) - tidy text data functions

About

In this fun analysis, I take Star Wars movie screenplays and look at word frequencies and sentiment across films in the original and prequel trilogies.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published