logo Netzschleuder network catalog, repository, and centrifuge

History of marker_cafe

The changes to the source code of this entry in the repository, newest first, each with the differences it made to the entry's files. They are also listed on GitLab.

[entries] Fix parse bugs and improve the metadata of existing entries by Tiago de Paula Peixoto c996a0e
From a review of the dataset descriptions against the upstream sources
and papers, and from user reports:

- parse fixes (wrong edge direction or directedness, shifted or
  misnamed properties, merged node identities, duplicated or missing
  edges and nodes, wrong types), e.g. arxiv_citation (the HepTh dates
  were a copy of the HepPh ones; now from the KDD Cup 2003 data),
  eu_procurements, foursquare_global, hiv_transmission, genetic_multiplex,
  gnutella (adds the 05 snapshot), roadnet, macaque_neural, python_dependency
- descriptions rewritten from the upstream sources, documenting every
  property
- corrected titles, citations and DOIs, licences (ustream_license typo,
  the data's own terms), tags and ICON ids
- url lists for entries with several sources or dataset pages
- SocioPatterns entries moved to the site's new data location, with the
  daily networks of sp_infectious and sp_primary_school
- the Michael Fire entries marked as orphans (served from the mirror)
- redundant type forcings removed after the graph-tool coercion fixes
diff --git a/entries/marker_cafe/__init__.py b/entries/marker_cafe/__init__.py
index 56a6a86..e3b7c42 100644
--- a/entries/marker_cafe/__init__.py
+++ b/entries/marker_cafe/__init__.py
@@ -19,14 +19,22 @@
 from .. import *
 
 title = "The Marker Cafe (2011)"
-description = """Snapshot of connections among users of the Israeli social network Marker Cafe, collected in 2011. Nodes are users and a directed edge (i,j) represents user i added user j to i's circle.[^icon]
-[^icon]: Description obtained from the [ICON](https://icon.colorado.edu) project."""
+description = """Anonymized snapshot of the connections among users of TheMarker Cafe, an Israeli online social networking site (associated with the business newspaper TheMarker) that allows its members to connect and interact; most of its members are Israeli and communicate in Hebrew. Nodes are users and edges are connections between them. The data were released by M. Fire and collaborators at Ben-Gurion University of the Negev, who used them to evaluate link prediction methods, and correspond to around 2011, when their first study was published. How the data were collected is not documented.
+
+The source file lists each connection only once, without any reciprocated pairs, and the network is treated as undirected. It contains 6 self-loops.
+
+The network has the following properties:
+
+- `name`: the anonymized user ID from the source file."""
 tags = ['Social', 'Online', 'Unweighted']
 url = 'https://data4goodlab.github.io/MichaelFire/#section3'
 citation = [('M. Fire et al. "Computationally efficient link prediction in a variety of social networks." ACM Transactions on Intelligent Systems and Technology 5(1), Article 10 (2013)', 'https://doi.org/10.1145/2542182.2542192')]
 icon_hash = '59fe969bee01e9ab21ac7fca'
-ustream_license = None
+upstream_license = None
 upstream_prefix = 'https://data4goodlab.github.io/MichaelFire/datasets'
+# The original host no longer serves the files; they are preserved in the
+# netzschleuder mirror
+orphan = True
 files = [('TheMarkerAnonymized.zip:TheMarkerAnonymized/TheMarkerAnonymized.csv', None, 'csv')]
 
 def fetch_upstream(force=False):
Update copyright information by Tiago de Paula Peixoto 73a4f0d
diff --git a/entries/marker_cafe/__init__.py b/entries/marker_cafe/__init__.py
index b6f979d..56a6a86 100644
--- a/entries/marker_cafe/__init__.py
+++ b/entries/marker_cafe/__init__.py
@@ -1,7 +1,7 @@
 #! /usr/bin/env python
 # -*- coding: utf-8 -*-
 #
-# Copyright (C) 2020-2024 Tiago de Paula Peixoto <tiago@skewed.de>
+# Copyright (C) 2020-2026 Tiago de Paula Peixoto <tiago@skewed.de>
 #
 # This program is free software: you can redistribute it and/or modify it under
 # the terms of the GNU Affero General Public License as published by the Free
Update copyright information by Tiago de Paula Peixoto 3d288ea
diff --git a/entries/marker_cafe/__init__.py b/entries/marker_cafe/__init__.py
index da9cffb..b6f979d 100644
--- a/entries/marker_cafe/__init__.py
+++ b/entries/marker_cafe/__init__.py
@@ -1,7 +1,7 @@
 #! /usr/bin/env python
 # -*- coding: utf-8 -*-
 #
-# Copyright (C) 2020-2023 Tiago de Paula Peixoto <tiago@skewed.de>
+# Copyright (C) 2020-2024 Tiago de Paula Peixoto <tiago@skewed.de>
 #
 # This program is free software: you can redistribute it and/or modify it under
 # the terms of the GNU Affero General Public License as published by the Free
Update copyright information by Tiago de Paula Peixoto 8d005ae
diff --git a/entries/marker_cafe/__init__.py b/entries/marker_cafe/__init__.py
index c146d54..da9cffb 100644
--- a/entries/marker_cafe/__init__.py
+++ b/entries/marker_cafe/__init__.py
@@ -1,7 +1,7 @@
 #! /usr/bin/env python
 # -*- coding: utf-8 -*-
 #
-# Copyright (C) 2021 Tiago de Paula Peixoto <tiago@skewed.de>
+# Copyright (C) 2020-2023 Tiago de Paula Peixoto <tiago@skewed.de>
 #
 # This program is free software: you can redistribute it and/or modify it under
 # the terms of the GNU Affero General Public License as published by the Free
Update upstream for https://data4goodlab.github.io/ by Tiago de Paula Peixoto 43c55e3
diff --git a/entries/marker_cafe/__init__.py b/entries/marker_cafe/__init__.py
index c522cbf..c146d54 100644
--- a/entries/marker_cafe/__init__.py
+++ b/entries/marker_cafe/__init__.py
@@ -22,11 +22,11 @@ title = "The Marker Cafe (2011)"
 description = """Snapshot of connections among users of the Israeli social network Marker Cafe, collected in 2011. Nodes are users and a directed edge (i,j) represents user i added user j to i's circle.[^icon]
 [^icon]: Description obtained from the [ICON](https://icon.colorado.edu) project."""
 tags = ['Social', 'Online', 'Unweighted']
-url = 'https://homes.cs.washington.edu/~fire/#section3'
+url = 'https://data4goodlab.github.io/MichaelFire/#section3'
 citation = [('M. Fire et al. "Computationally efficient link prediction in a variety of social networks." ACM Transactions on Intelligent Systems and Technology 5(1), Article 10 (2013)', 'https://doi.org/10.1145/2542182.2542192')]
 icon_hash = '59fe969bee01e9ab21ac7fca'
 ustream_license = None
-upstream_prefix = 'https://www.ise.bgu.ac.il/faculty/fire/datasets'
+upstream_prefix = 'https://data4goodlab.github.io/MichaelFire/datasets'
 files = [('TheMarkerAnonymized.zip:TheMarkerAnonymized/TheMarkerAnonymized.csv', None, 'csv')]
 
 def fetch_upstream(force=False):
Update copyright info by Tiago de Paula Peixoto db2efcc
diff --git a/entries/marker_cafe/__init__.py b/entries/marker_cafe/__init__.py
index 4a9e7cf..c522cbf 100644
--- a/entries/marker_cafe/__init__.py
+++ b/entries/marker_cafe/__init__.py
@@ -1,7 +1,7 @@
 #! /usr/bin/env python
 # -*- coding: utf-8 -*-
 #
-# Copyright (C) 2020 Tiago de Paula Peixoto <tiago@skewed.de>
+# Copyright (C) 2021 Tiago de Paula Peixoto <tiago@skewed.de>
 #
 # This program is free software: you can redistribute it and/or modify it under
 # the terms of the GNU Affero General Public License as published by the Free
Update citations to use DOIs by Tiago de Paula Peixoto e878874
diff --git a/entries/marker_cafe/__init__.py b/entries/marker_cafe/__init__.py
index e9c144c..4a9e7cf 100644
--- a/entries/marker_cafe/__init__.py
+++ b/entries/marker_cafe/__init__.py
@@ -23,7 +23,7 @@ description = """Snapshot of connections among users of the Israeli social netwo
 [^icon]: Description obtained from the [ICON](https://icon.colorado.edu) project."""
 tags = ['Social', 'Online', 'Unweighted']
 url = 'https://homes.cs.washington.edu/~fire/#section3'
-citation = [('M. Fire et al. "Computationally efficient link prediction in a variety of social networks." ACM Transactions on Intelligent Systems and Technology 5(1), Article 10 (2013)', 'https://homes.cs.washington.edu/~fire/pdf/link_tists.pdf')]
+citation = [('M. Fire et al. "Computationally efficient link prediction in a variety of social networks." ACM Transactions on Intelligent Systems and Technology 5(1), Article 10 (2013)', 'https://doi.org/10.1145/2542182.2542192')]
 icon_hash = '59fe969bee01e9ab21ac7fca'
 ustream_license = None
 upstream_prefix = 'https://www.ise.bgu.ac.il/faculty/fire/datasets'
Change license from GPLv3 to AGPLv3 by Tiago de Paula Peixoto d754be5
diff --git a/entries/marker_cafe/__init__.py b/entries/marker_cafe/__init__.py
index aa21237..e9c144c 100644
--- a/entries/marker_cafe/__init__.py
+++ b/entries/marker_cafe/__init__.py
@@ -3,18 +3,18 @@
 #
 # Copyright (C) 2020 Tiago de Paula Peixoto <tiago@skewed.de>
 #
-# This program is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 3 of the License, or
-# (at your option) any later version.
+# This program is free software: you can redistribute it and/or modify it under
+# the terms of the GNU Affero General Public License as published by the Free
+# Software Foundation, either version 3 of the License, or (at your option) any
+# later version.
 #
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
+# This program is distributed in the hope that it will be useful, but WITHOUT
+# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+# FOR A PARTICULAR PURPOSE.  See the GNU Affero General Public License for more
+# details.
 #
-# You should have received a copy of the GNU General Public License
-# along with this program.  If not, see <http://www.gnu.org/licenses/>.
+# You should have received a copy of the GNU Affero General Public License along
+# with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 from .. import *
 
Add explicit attribution to descriptions obtained from ICON by Tiago de Paula Peixoto 1645314
diff --git a/entries/marker_cafe/__init__.py b/entries/marker_cafe/__init__.py
index 913179a..aa21237 100644
--- a/entries/marker_cafe/__init__.py
+++ b/entries/marker_cafe/__init__.py
@@ -19,7 +19,8 @@
 from .. import *
 
 title = "The Marker Cafe (2011)"
-description = "Snapshot of connections among users of the Israeli social network Marker Cafe, collected in 2011. Nodes are users and a directed edge (i,j) represents user i added user j to i's circle."
+description = """Snapshot of connections among users of the Israeli social network Marker Cafe, collected in 2011. Nodes are users and a directed edge (i,j) represents user i added user j to i's circle.[^icon]
+[^icon]: Description obtained from the [ICON](https://icon.colorado.edu) project."""
 tags = ['Social', 'Online', 'Unweighted']
 url = 'https://homes.cs.washington.edu/~fire/#section3'
 citation = [('M. Fire et al. "Computationally efficient link prediction in a variety of social networks." ACM Transactions on Intelligent Systems and Technology 5(1), Article 10 (2013)', 'https://homes.cs.washington.edu/~fire/pdf/link_tists.pdf')]
Initial commit by Tiago de Paula Peixoto cc85872
diff --git a/entries/marker_cafe/__init__.py b/entries/marker_cafe/__init__.py
new file mode 100644
index 0000000..913179a
--- /dev/null
+++ b/entries/marker_cafe/__init__.py
@@ -0,0 +1,49 @@
+#! /usr/bin/env python
+# -*- coding: utf-8 -*-
+#
+# Copyright (C) 2020 Tiago de Paula Peixoto <tiago@skewed.de>
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program.  If not, see <http://www.gnu.org/licenses/>.
+
+from .. import *
+
+title = "The Marker Cafe (2011)"
+description = "Snapshot of connections among users of the Israeli social network Marker Cafe, collected in 2011. Nodes are users and a directed edge (i,j) represents user i added user j to i's circle."
+tags = ['Social', 'Online', 'Unweighted']
+url = 'https://homes.cs.washington.edu/~fire/#section3'
+citation = [('M. Fire et al. "Computationally efficient link prediction in a variety of social networks." ACM Transactions on Intelligent Systems and Technology 5(1), Article 10 (2013)', 'https://homes.cs.washington.edu/~fire/pdf/link_tists.pdf')]
+icon_hash = '59fe969bee01e9ab21ac7fca'
+ustream_license = None
+upstream_prefix = 'https://www.ise.bgu.ac.il/faculty/fire/datasets'
+files = [('TheMarkerAnonymized.zip:TheMarkerAnonymized/TheMarkerAnonymized.csv', None, 'csv')]
+
+def fetch_upstream(force=False):
+    return fetch_upstream_files(__name__.split(".")[-1], upstream_prefix, files,
+                                force)
+
+@cache_network()
+@coerce_props()
+@annotate()
+def parse(alts=None):
+    global files
+    name = __name__.split(".")[-1]
+    for fnames, alt, fmt in files:
+        if alts is not None and alt not in alts:
+            continue
+        if isinstance(fnames, str):
+            fnames = [fnames]
+        with ExitStack() as stack:
+            fs = [stack.enter_context(open_upstream_file(name, fn, "rb")) for fn in fnames]
+            g = parse_graph(fs, fmt, directed=False)
+        yield alt, g