Skip to content

rpgove/graphbase2json

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Graphbase2json

A Python 2.7 script that converts Stanford GraphBase .dat files to JSON suitable for loading in D3.js. This has only been tested with the jean.dat file.

Other parsed versions of the jean.dat dataset are common in the D3.js community, but they are missing isolate characters. This parser also creates a list of chapters where the character occured, and a list of chapters for each link between characters.

Example usage:

$ python graphbase2json.py --input jean.dat --output jean.json

About

Python script to convert Stanford GraphBase .dat files to JSON graphs for D3

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages