ta.TwitterAnalysis.nodes_edges_analysis_files

TwitterAnalysis.nodes_edges_analysis_files(G, path)[source]

Given a graph G, it exports nodes with they degree, edges with their weight, and word clouds representing the nodes scaled by their degree

Parameters
  • G – undirected networkx graph created from the Twitter data

  • path – the path where the files should be saved

Examples

Saved node and edges files into path:

>>> nodes_edges_analysis_files(G, 'C:\Data\MyFilePath')