Write a tweet <igraph> to a .graphml file
write_graphml(g, path, na_numbers_as = -1, na_characters_as = "", drop_na_attrs = TRUE)
| g |
|
|---|---|
| path |
|
| na_numbers_as |
|
| na_characters_as |
|
| drop_na_attrs |
|
if (FALSE) { hashtag_rstats <- rtweet::search_tweets("#rstats") tweet_graph <- as_sna_igraph(tweet_df) target_file_path <- tempfile(fileext = "graphml") write_graphml(g = tweet_graph, path = target_file_path) }