Skip to content

Commit 7d8468c

Browse files
authored
Merge pull request #5 from JuliaGraphs/sbromberger/amazon-google
added amazon and google
2 parents aaf9b60 + f1e214a commit 7d8468c

File tree

5 files changed

+7
-1
lines changed

5 files changed

+7
-1
lines changed

data/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,9 @@ The following graphs have been adapted:
1010
- [facebook-combined](https://snap.stanford.edu/data/egonets-Facebook.html)
1111
- [patent-cit-us](https://snap.stanford.edu/data/cit-Patents.html)*
1212
- [soc-slashdot0902](https://snap.stanford.edu/data/soc-Slashdot0902.html)
13+
- [amazon0302](https://snap.stanford.edu/data/amazon0302.html)
14+
- [web-google](https://snap.stanford.edu/data/web-Google.html) [1]
1315

1416
*Note that the three citation graphs have a `csv` file matching the nodes ids with the articles/patents ids. Hence users can match the node ids with available meta-data on SNAP.
17+
18+
[1] Vertex map is contained in web-google-vmap.txt.gz with the original vertex mapped to the LG vertex specified by line number.

data/amazon0302/amazon0302.jlg

4.41 MB
Binary file not shown.

data/web-google/web-google-i32.jlg

23.2 MB
Binary file not shown.
1.77 MB
Binary file not shown.

src/SNAPDatasets.jl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ using LightGraphs
55
const SNAPDIR = joinpath(@__DIR__,"..","data")
66

77
snap_graphs = Dict{Symbol, String}(
8+
:amazon0302 => "amazon0302/amazon0302.jlg",
89
:arxiv_cit_hep_th => "arxiv_cit/arxiv-cit-hep-th.jlg",
910
:arxiv_cit_hep_ph => "arxiv_cit/arxiv-cit-hep-ph.jlg",
1011
:as_caida => "as-caida/as-caida20071105.jlg",
@@ -17,7 +18,8 @@ snap_graphs = Dict{Symbol, String}(
1718
:facebook_combined => "facebook-combined/facebook-combined.jlg",
1819
:patent_cit_us => "patent_cit/patent-cit-us.jlg",
1920
:soc_slashdot0902_d => "soc-slashdot0902/soc-slashdot0902-directed.jlg",
20-
:soc_slashdot0902_u => "soc-slashdot0902/soc-slashdot0902-undirected.jlg"
21+
:soc_slashdot0902_u => "soc-slashdot0902/soc-slashdot0902-undirected.jlg",
22+
:web_google => "web-google/web-google.jlg"
2123
)
2224

2325

0 commit comments

Comments
 (0)