# Load library
library(tidyverse)
# Import data
films = read_csv(file = "https://raw.githubusercontent.com/zief0002/epsy-5261/main/data/films.csv")
# View data
filmsfilms.csv
The data in films.csv includes measures collected from films released between 1937 and 2016. The data was scraped from various websites (e.g., IMdB).
The attributes included in the data are:
movie: Name of the filmyear: Year the film was released in theatersgenre: Primary genre of the film (e.g., Adventure, Horror, Comedy)color: Was the film released in color or black-and-white?language: The original language the film was originally released in.country: The first country the movie was originally released torating: MPAA rating of the film (e.g., G, PG, R)duration: Duration (running time) of the film, in minutesbudget: The film’s budget (in U.S. dollars)
Preview
# A tibble: 3,029 × 9
movie year genre
<chr> <dbl> <chr>
1 Spirited Away 2001 Adventure
2 Psycho 1960 Horror
3 Schindler's List 1993 Biography
4 Pulp Fiction 1994 Crime
5 Toy Story 1995 Adventure
6 Apocalypse Now 1979 Drama
7 A Separation 2011 Drama
8 Goodfellas 1990 Biography
9 The Lord of the Rings: The Fellowship of the Ring 2001 Action
10 Alien 1979 Horror
color language country rating duration budget
<chr> <chr> <chr> <chr> <dbl> <dbl>
1 Color Japanese Japan PG 125 19000000
2 Black and White English USA R 108 806947
3 Black and White English USA R 185 22000000
4 Color English USA R 178 8000000
5 Color English USA G 74 30000000
6 Color English USA R 289 31500000
7 Color Persian Iran PG-13 123 500000
8 Color English USA R 146 25000000
9 Color English New Zealand PG-13 171 93000000
10 Color English UK R 116 11000000
# ℹ 3,019 more rows