Created
September 11, 2010 03:36
-
-
Save tingletech/574758 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// javascript to hold network link data for historical social network analysis | |
// nodes are IDed by MD5 checksum of AACR2 identity from EAC record | |
var nodes = { // protvis wants an array | |
'645cd6b85bb02f52240529b292e664b3' : { | |
identity: 'Washington, George, 1732-1799.', | |
birth: '1732, Feb. 22', // use julian dates? | |
death: '1799, Dec. 14' | |
// any other info needed on the node | |
}, | |
'420154950a48aa9bb873d2797e0915af' : { | |
identity: 'Franklin, Benjamin, 1706-1790.', | |
birth: '1706, Jan. 17', | |
death: '1790, Apr. 17' | |
// any other info needed on the node | |
} | |
// this would continue for the entire EAC record | |
}; | |
var links = [ | |
{ | |
from: '420154950a48aa9bb873d2797e0915af', | |
to: '645cd6b85bb02f52240529b292e664b3', | |
role: 'correspondedWith' // use URL? | |
// some sort of value for strength might be interesting | |
} | |
// this would continue to show all the related CPF records | |
]; | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment