logo Netzschleuder network catalog, repository, and centrifuge

History of network_scientists

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] Add the date when each entry was added, and remove icon_hash by Tiago de Paula Peixoto beff7c9
The dates are those of the commits that first added the entries' files
(2020-08-11 for the entries of the initial commit); renamed entries keep
the date of their first name.

Changed: none
diff --git a/entries/network_scientists/__init__.py b/entries/network_scientists/__init__.py
index 9764fd5..46a4fc2 100644
--- a/entries/network_scientists/__init__.py
+++ b/entries/network_scientists/__init__.py
@@ -25,7 +25,7 @@ description = """The co-authorship network of network scientists, from Molontay
 tags = ['Social', 'Collaboration', 'Projection', 'Unweighted']
 url = 'https://github.com/marcessz/Two-Decades-of-Network-Science'
 citation = [('R. Molontay, M. Nagy, "Two decades of network science: as seen through the co-authorship network of network scientists." Proceedings of the 2019 IEEE/ACM International Conference on Advances in Social Networks Analysis and Mining (ASONAM), 578-583 (2019)', 'https://doi.org/10.1145/3341161.3343685')]
-icon_hash = '5d636cfbb85b4904766f387a'
+date_added = '2026-10-25'
 upstream_license = None
 # Repository at a fixed commit
 upstream_prefix = 'https://raw.githubusercontent.com/marcessz/Two-Decades-of-Network-Science/72645f44bc969486f4ed59e91589a9893d0f521b/network-edge-list'
[entries] Remove unneeded code from the entries by Tiago de Paula Peixoto 2c69f19
Unneeded "global files" statements, unused imports and variables,
f-strings without placeholders, duplicate keys in foodweb_little_rock
(keeping the order and the values used), and the second definition of
get_lines() in twitter_higgs. Nothing changes in the networks or
descriptions.

Changed: none
diff --git a/entries/network_scientists/__init__.py b/entries/network_scientists/__init__.py
index 14256fa..9764fd5 100644
--- a/entries/network_scientists/__init__.py
+++ b/entries/network_scientists/__init__.py
@@ -39,7 +39,6 @@ def fetch_upstream(force=False):
 @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:
[entries] New entry: network_scientists by Tiago de Paula Peixoto 27f3eb0
diff --git a/entries/network_scientists/__init__.py b/entries/network_scientists/__init__.py
new file mode 100644
index 0000000..14256fa
--- /dev/null
+++ b/entries/network_scientists/__init__.py
@@ -0,0 +1,56 @@
+#! /usr/bin/env python
+# -*- coding: utf-8 -*-
+#
+# 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
+# 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 Affero General Public License for more
+# details.
+#
+# 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 *
+from openpyxl import load_workbook
+
+title = "Co-authorships among network scientists (1998-2019)"
+description = """The co-authorship network of network scientists, from Molontay and Nagy. Network science papers are defined as those that cite at least one of three seminal papers of the field (Watts and Strogatz, 1998; Barabási and Albert, 1999; Girvan and Newman, 2002). Their records were retrieved from the Web of Science core collection on 16 May 2019, and after the removal of duplicates comprise 29,528 papers. Each node is an author of at least one such paper, and an undirected edge connects two authors who co-authored at least one network science paper. The network is a one-mode projection of the bipartite network of authors and papers, and is anonymized. 851 nodes are isolated, corresponding to authors of single-authored papers without network science co-authors."""
+tags = ['Social', 'Collaboration', 'Projection', 'Unweighted']
+url = 'https://github.com/marcessz/Two-Decades-of-Network-Science'
+citation = [('R. Molontay, M. Nagy, "Two decades of network science: as seen through the co-authorship network of network scientists." Proceedings of the 2019 IEEE/ACM International Conference on Advances in Social Networks Analysis and Mining (ASONAM), 578-583 (2019)', 'https://doi.org/10.1145/3341161.3343685')]
+icon_hash = '5d636cfbb85b4904766f387a'
+upstream_license = None
+# Repository at a fixed commit
+upstream_prefix = 'https://raw.githubusercontent.com/marcessz/Two-Decades-of-Network-Science/72645f44bc969486f4ed59e91589a9893d0f521b/network-edge-list'
+files = [('edgelist.xlsx', None, None)]
+
+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
+        with open_upstream_file(name, fnames, "rb", seekable=True) as f:
+            wb = load_workbook(f, read_only=True)
+            # Columns "source", "target", with 0-based node ids
+            rows = list(wb.active.iter_rows(values_only=True))[1:]
+        edges = numpy.array(rows, dtype="int64")
+        g = Graph(directed=False)
+        # Node ids range from 0 to 52405; isolated nodes have no edges
+        g.add_vertex(52406)
+        g.add_edge_list(edges)
+        yield alt, g