save_csv_edgelist: Save an Edgelist csv from an Igraph Object

View source: R/rtweetnet.R

save_csv_edgelistR Documentation

Save an Edgelist csv from an Igraph Object

Description

This function saves an igraph edgelist as a csv for export to network mapping software such as Gephi.

Usage

save_csv_edgelist(igraphobject, path)

Arguments

igraphobject

An igraph network object

path

Path and file name, in quotes (Filename should ideally have ".csv" extension)

Examples

tweets <- rtweet::search_tweets("#rstats", n= 100)
network <- rtweetXtras::rtweet_net(tweets, all_mentions = TRUE, from_threshold =2)
save_csv_edgelist(igraphobject = network, path = "~/edgelist_network.csv")

Arf9999/rtweetXtras documentation built on June 27, 2022, 5:10 a.m.