CreateFeaturingNetwork: Featuring network from artists songs

Description Usage Arguments Value Examples

View source: R/CreateFeaturingNetwork.R

Description

Create a network of featuring collaboration between artists

Usage

1

Arguments

x

A dataset coming from scraping function of genius API

Value

2 dataframes : One with a Source node and Target node, the other containing infos about artists. Those dataframe can be exported in csv and used in a network analysing software like Gephi

Examples

1
2
3
4
5
6
7
8
9
## Not run: 

## Get a network of the following df :
feat_net<-CreateFeaturingNetwork(dataframe)
# Export the network to your computer and remove the first column (rownames)
write.csv(feat_net, "/PATH_TO_DIRECTORY/users_network.csv", rownames = FALSE)


## End(Not run)

epmrio/AutomatedGeniusR documentation built on Nov. 2, 2020, 12:17 a.m.