Quantcast
Channel: NodeXL: Network Overview, Discovery and Exploration for Excel
Viewing all articles
Browse latest Browse all 4386

New Post: Import JSON data from Twitter Streaming API to build a network from

$
0
0
Congratulations, I'm glad to hear it's going well.

Your initial post mentioned that you were interested in having NodeXL generate the "Top" items for you. To make that work, you need to add the following columns to your tab-delimited text file:

Tweet
URLs in Tweet
Domains in Tweet
Hashtags in Tweet
Imported ID

Here are the JSON paths for those columns. The JSON is documented at https://dev.twitter.com/docs/api/1.1/get/search/tweets

Tweet: text
URLs in Tweet: entities, urls
Domains in Tweet: Not available in the JSON; you have to parse the domains from the URLs yourself
Hashtags in Tweet: entities, hashtags
Imported ID: id_str

Once you get those columns into the NodeXL workbook--and make sure you use the exact column names I've listed here--your should be able to go to NodeXL, Analysis, Graph Metrics and use the "Words and word pairs" and "Twitter search network top items" items. Note that in the Graph Metrics dialog box, you have to specify the "Tweet" column name for the "Words and word pairs" option via the Options button.

-- Tony

Viewing all articles
Browse latest Browse all 4386

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>