create_link_df: create pairwise name combinations for each movie

Description Usage Arguments Value

View source: R/format_network_data.R

Description

Take the data frame created by create_network_df and return all combinations of actors or cast within each movie

Usage

1
create_link_df(df, cast_crew_select, k = 20)

Arguments

df

data frame created by create_network_df function

cast_crew_select

value of 'cast' or 'crew' dependent on whether the user wanted a cast network or crew network

k

The Number of cast or crew to take. We make this an option because it can be computationally expensive to make connections between a long list of cast or crew members

Value

a dataframe of each combination of cast and crew names


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