Skip to content

Instantly share code, notes, and snippets.

Avatar

Evelina Gabasova evelinag

View GitHub Profile
@evelinag
evelinag / twitterPulse.fsx
Created Jan 8, 2015
Number of unique people tweeting about F# per day over 2013 and 2014
View twitterPulse.fsx
#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")
View starwars_graph_gist.adoc

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
evelinag / bond.fsx
Created Nov 17, 2015
Analysing box office success of James Bond films using HTML type provider
View bond.fsx
#load "packages/FsLab/FsLab.fsx"
open FSharp.Data
open XPlot.GoogleCharts
let bondUrl = "https://en.wikipedia.org/w/index.php?title=List_of_James_Bond_films&oldid=688916363"
type BondProvider = HtmlProvider<"https://en.wikipedia.org/w/index.php?title=List_of_James_Bond_films&oldid=688916363">
let bondWiki = BondProvider.Load(bondUrl)
You can’t perform that action at this time.