Description Usage Arguments Author(s) Examples
Write a tweet <igraph>
to a .graphml file
1 2 | 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 |
|
Brendan Knapp brendan.g.knapp@gmail.com
1 2 3 4 5 6 7 8 9 10 11 12 | ## Not run:
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)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.