Skip to content

Instantly share code, notes, and snippets.

View evelinag's full-sized avatar

Evelina Gabasova evelinag

View GitHub Profile

The Star Wars social network

I recently looked at the whole Star Wars universe from a computational perspective, where I extracted and analyzed social networks from all seven films. The social network structure revealed some interesting differences between the individual films, especially between the original trilogy and the prequels. Here I’ll look at how we can represent and explore the same network using a Neo4j database.

evelinag / bond.fsx
Created November 17, 2015 23:54
Analysing box office success of James Bond films using HTML type provider
#load "packages/FsLab/FsLab.fsx"
open FSharp.Data
open XPlot.GoogleCharts
let bondUrl = ""
type BondProvider = HtmlProvider<"">
let bondWiki = BondProvider.Load(bondUrl)
evelinag / twitterPulse.fsx
Created January 8, 2015 13:41
Number of unique people tweeting about F# per day over 2013 and 2014
#r @"packages/FSharp.Data.2.0.14/lib/net40/FSharp.Data.dll"
#load @"packages/Deedle.1.0.6/Deedle.fsx"
#load @"packages/FSharp.Charting.0.90.9/FSharp.Charting.fsx"
open FSharp.Data
open Deedle
open FSharp.Charting
type Tweets = CsvProvider<"fsharp_2013-2014.csv">
let tweets' = Tweets.Load("fsharp_2013-2014.csv")