F# Deep Dives: Social network analysis
Evelina Gabasova, 2014
This repository contains accompanying material for Chapter 5 of F# Deep Dives.
To run the code in Visual Studio, make sure you first build the project `SocialNetworkAnalysis.sln`` to restore all necessary packages. The code uses FSharp.Data (2.0.7 or later) and FSharp.Data.Toolbox to connect to Twitter.
ExtractNetwork.fsxdownloads network around F# Software Foundation from Twitter and saves it into JSON files.
AnalyzeNetwork.fsxloads saved JSON data into F# and performs exploratory analysis to identify important nodes in the social network.
data\fsharporgNodes.jsonare files with data downloaded from Twitter.
data\pageRankNodes.jsonadds PageRank value of each user to
data\d3_twitter.htmlvisualizes Twitter network around F# Software Foundation on Twitter using D3.js
data\d3_twitterPageRank.htmlvisualizes Twitter network aroun F# Software Foundation and scales nodes (users) proportionally to their PageRank centrality.