Assignment 2

Assignment 2

My second assignment has 4 parts.

1)

Firstly I created url links. The variable url_1 displays films from 2010 to the present, while the variable url_2 lists films up to the year 2010.

Code
url_1 <- "https://m.imdb.com/search/title/?title_type=feature&release_date=2010-01-01,2023-12-31&num_votes=2500,&country_of_origin=TR&count=250"
url_2 <- "https://m.imdb.com/search/title/?title_type=feature&release_date=0001-01-01,2009-12-31&num_votes=2500,&country_of_origin=TR&count=250"

I merged these two URL links into a single vector.

Code
together_url <- c(url_1,url_2)

Additionally, I’ve loaded the necessary packages.

Code
library(ggplot2) #for visualization
library(ggthemes) 
library(tidyverse) # for everything :)
library(rvest) # for HTML scraping
library(stringr) # for string processing
Back to top