/starwars-dataset-parser

Parser for the "Star Wars Social Network" dataset from Kaggle into an SMV specification social network file

Primary LanguageJavaScriptMIT LicenseMIT

Star Wars Network Dataset Parser

Parser for the "Star Wars Social Network" dataset from Kaggle into an SMV specification social network file. This is for my doctoral thesis.

Usage

For an explanation of the parameters, run:

$ node sw2smv -h

Example usage:

$ node sw2smv -f dataset\starwars-episode-4-interactions.json -tn 1 -td 3 -s -l "G F agents[8] = behavior" > output.smv
$ node sw2smv -f dataset\starwars-episode-4-interactions.json -s -o graphviz > output.dot

Credits

  • Includes a modified version of the file starwars-episode-4-interactions.json from here.
    • Date: April 10, 2021;
    • License: CC0: Public Domain.