Description Usage Arguments Value
View source: R/format_network_data.R
Take the data frame created by create_network_df and return all combinations of actors or cast within each movie
1 | create_link_df(df, cast_crew_select, k = 20)
|
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 |
a dataframe of each combination of cast and crew names
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.