forked from typecode/wikileaks
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
elishowk
committed
Dec 24, 2010
1 parent
4618f0a
commit 7c27487
Showing
5 changed files
with
80 additions
and
46 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
##INSTALLATION AND USAGE | ||
|
||
`python setup.py develop` | ||
|
||
- this will check and install required dependencies | ||
|
||
###PREREQUISITES | ||
|
||
- Local copy of the cablegate torrent into data/cablegate.wikileaks.org/ | ||
- MongoDB (http://www.mongodb.org) | ||
- please fetch manually a stable version of pymongo for your system (the pypi one is broken) : http://api.mongodb.org/python/1.9%2B/index.html | ||
|
||
#### Gephi Software | ||
|
||
- You can try Gephi yourself by downloading it from the [downloads page](http://gephi.org/users/download/). | ||
- For any question try the [Gephi forums](http://forum.gephi.org) or [@Gephi](http://twitter.com/gephi) on Twitter. | ||
- You can follow the 5-min tutorial here: [quick-start tutorial](http://gephi.org/users/quick-start/) | ||
|
||
###USAGE | ||
|
||
- start your mongod daemon | ||
- find command-line help : | ||
|
||
`python cablegate_semnet.py -h` | ||
|
||
- to export all the data run: | ||
|
||
`mongoexport -d cables -c cables -o dump/cables.json` | ||
|
||
|
||
###JSON OUTPUT | ||
|
||
`cable = { | ||
"_id" : "XXX", | ||
"origin" : "EMBASSY NAME", | ||
"date_time" : "2000-00-00 00:00", | ||
"classification" : "TAG", | ||
"content" : "text", | ||
"label" : "label", | ||
"id" : "XXX" | ||
}` |
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
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
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
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