create_network_df: Pull information from TMDB API

Description Usage Arguments Value

View source: R/create_network_data.R

Description

Combine Api pull functions 'pull_movie_titles', and 'pull_cast' to create a dataframe that a network can be built from

Usage

1
2
create_network_df(api_key, genres, min_date, max_date,
  movie_request_lim = 100)

Arguments

api_key

Api key requested from the website

genres

genres of interest can include: 'Action', 'Adventure', 'Animation', 'Comedy', 'Crime','Documentary', 'Drama', 'Family', 'Fantasy', 'History', 'Horror', 'Music', 'Mystery', 'Romance', 'Science Fiction', 'TV Movie', 'Thriller', 'War', 'Western'

min_date

Min release date in the format 'yyyy-mm-dd'

max_date

Max release date in the format 'yyyy-mm-dd'

movie_request_lim

Limit on the number of movies to pull

Value

A data frame containing movie titles and associated cast & crew


wjburton/Movie_Network documentation built on May 4, 2019, 7:33 a.m.