Description Usage Arguments Author(s) Examples
Simple, safe transformation of attributes to values with which Gephi will cooperate.
1 | write_graphml(g, file_path, na_numbers_as = -1, na_characters_as = "", ...)
|
g |
|
file_path |
File path to which to write or from which to read. |
na_numbers_as |
|
na_characters_as |
|
... |
Arguments passed to or from other methods. |
Brendan Knapp brendan.g.knapp@nps.edu
1 2 3 4 5 6 7 8 9 10 11 | path_to_tweet_file <- example_tweet_file()
tweet_df <- read_tweets(file_path = path_to_tweet_file)
tweet_graph <- as_igraph(tweet_df)
tweet_graph
graphml_path <- tempfile(fileext = ".graphml")
graphml_path
write_graphml(tweet_graph, file_path = graphml_path)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.