logo Netzschleuder network catalog, repository, and centrifuge

History of hamburg_cell

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/hamburg_cell/__init__.py b/entries/hamburg_cell/__init__.py
index 6354a01..4e59d26 100644
--- a/entries/hamburg_cell/__init__.py
+++ b/entries/hamburg_cell/__init__.py
@@ -27,7 +27,7 @@ Nodes are individuals (labeled by their JJATT identifier in `name`), and each ti
 tags = ['Social', 'Offline', 'Weighted', 'Temporal']
 url = 'https://sites.google.com/site/ucinetsoftware/datasets/covert-networks/hamburg-cell-911-2001'
 citation = [('S. Atran, M. Sageman, et al., "John Jay & ARTIS Transnational Terrorism Database (JJATT)." John Jay College of Criminal Justice (2009)', 'http://doitapps.jjay.cuny.edu/jjatt/data.php')]
-icon_hash = '59e03c2fee01e9ab21aaf323'
+date_added = '2026-10-25'
 upstream_license = None
 upstream_prefix = 'gdrive://'
 files = [('1tpkBPoGJjCRmQLJTe28DUDNxGwMeq08E:zip:CSV/HAMBURG_1985_1989.csv', '1985_1989', {'eprop': 'weight'}),
[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/hamburg_cell/__init__.py b/entries/hamburg_cell/__init__.py
index 387d43f..6354a01 100644
--- a/entries/hamburg_cell/__init__.py
+++ b/entries/hamburg_cell/__init__.py
@@ -60,7 +60,6 @@ def fetch_upstream(force=False):
 @coerce_props()
 @annotate()
 def parse(alts=None):
-    global files
     name = __name__.split(".")[-1]
     for fnames, alt, spec in files:
         if alts is not None and alt not in alts:
[entries] Use American spelling in the descriptions by Tiago de Paula Peixoto 802d564
British spellings in the titles and descriptions of 69 entries (e.g.
labelled, organisation, millimetres, centres, anonymised, neighbours,
analysed, modelled, colour, licence) are replaced by the American ones.
Proper names keep their spelling (Otago Harbour, the Centre for Water
Systems, the Centre jeunesse de Montréal, the Dutch Ministry of Defence),
as do quoted upstream terms, citations, and property names.
diff --git a/entries/hamburg_cell/__init__.py b/entries/hamburg_cell/__init__.py
index 6d12208..387d43f 100644
--- a/entries/hamburg_cell/__init__.py
+++ b/entries/hamburg_cell/__init__.py
@@ -21,7 +21,7 @@ from .. import *
 title = 'Hamburg cell network (2001)'
 description = """Time series of networks of relationships among 34 individuals, from the John Jay & ARTIS Transnational Terrorism Database (JJATT). The JJATT data treat specific attacks as endpoints, and depict the evolution of the relations among the individuals directly or indirectly associated with them; here, the Hamburg cell of Al-Qaeda, which included several of the perpetrators of the 11 September 2001 attacks in the United States ([Wikipedia](https://en.wikipedia.org/wiki/Hamburg_cell)). The data were coded from open sources (e.g. court documents, news reports and books), and were made available in matrix form by the UCINET datasets collection (University of Manchester).
 
-Nodes are individuals (labelled by their JJATT identifier in `name`), and each time-period network contains the relationships present in that period (networks named `YYYY_1` and `YYYY_2` refer to the first and second halves of year YYYY). The edge property `weight` gives the strength of the tie: 1 = acquaintances or distant family ties (interaction limited to radical organisation activities), 2 = friends or moderately close family ties (including co-workers and roommates), operational or organisational leadership, or operational ties (e.g. having worked closely together on a bombing), 3 = close friends or family, tight-knit operational cliques. A few ties in the 1997-2006 networks have the value 4, which is not described in the source documentation. The source matrices are meant to be symmetric; in the few cases where the two directions differ, the tie with the larger value is used. The JJATT tie-start, tie-end and operation matrices, which use undocumented codes, are not included.[^ucinet]
+Nodes are individuals (labeled by their JJATT identifier in `name`), and each time-period network contains the relationships present in that period (networks named `YYYY_1` and `YYYY_2` refer to the first and second halves of year YYYY). The edge property `weight` gives the strength of the tie: 1 = acquaintances or distant family ties (interaction limited to radical organization activities), 2 = friends or moderately close family ties (including co-workers and roommates), operational or organizational leadership, or operational ties (e.g. having worked closely together on a bombing), 3 = close friends or family, tight-knit operational cliques. A few ties in the 1997-2006 networks have the value 4, which is not described in the source documentation. The source matrices are meant to be symmetric; in the few cases where the two directions differ, the tie with the larger value is used. The JJATT tie-start, tie-end and operation matrices, which use undocumented codes, are not included.[^ucinet]
 
 [^ucinet]: Description obtained in part from the [UCINET datasets page](https://sites.google.com/site/ucinetsoftware/datasets/covert-networks/hamburg-cell-911-2001)."""
 tags = ['Social', 'Offline', 'Weighted', 'Temporal']
[entries] New entry: hamburg_cell by Tiago de Paula Peixoto 8cfc70b
diff --git a/entries/hamburg_cell/__init__.py b/entries/hamburg_cell/__init__.py
new file mode 100644
index 0000000..6d12208
--- /dev/null
+++ b/entries/hamburg_cell/__init__.py
@@ -0,0 +1,73 @@
+#! /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 *
+
+title = 'Hamburg cell network (2001)'
+description = """Time series of networks of relationships among 34 individuals, from the John Jay & ARTIS Transnational Terrorism Database (JJATT). The JJATT data treat specific attacks as endpoints, and depict the evolution of the relations among the individuals directly or indirectly associated with them; here, the Hamburg cell of Al-Qaeda, which included several of the perpetrators of the 11 September 2001 attacks in the United States ([Wikipedia](https://en.wikipedia.org/wiki/Hamburg_cell)). The data were coded from open sources (e.g. court documents, news reports and books), and were made available in matrix form by the UCINET datasets collection (University of Manchester).
+
+Nodes are individuals (labelled by their JJATT identifier in `name`), and each time-period network contains the relationships present in that period (networks named `YYYY_1` and `YYYY_2` refer to the first and second halves of year YYYY). The edge property `weight` gives the strength of the tie: 1 = acquaintances or distant family ties (interaction limited to radical organisation activities), 2 = friends or moderately close family ties (including co-workers and roommates), operational or organisational leadership, or operational ties (e.g. having worked closely together on a bombing), 3 = close friends or family, tight-knit operational cliques. A few ties in the 1997-2006 networks have the value 4, which is not described in the source documentation. The source matrices are meant to be symmetric; in the few cases where the two directions differ, the tie with the larger value is used. The JJATT tie-start, tie-end and operation matrices, which use undocumented codes, are not included.[^ucinet]
+
+[^ucinet]: Description obtained in part from the [UCINET datasets page](https://sites.google.com/site/ucinetsoftware/datasets/covert-networks/hamburg-cell-911-2001)."""
+tags = ['Social', 'Offline', 'Weighted', 'Temporal']
+url = 'https://sites.google.com/site/ucinetsoftware/datasets/covert-networks/hamburg-cell-911-2001'
+citation = [('S. Atran, M. Sageman, et al., "John Jay & ARTIS Transnational Terrorism Database (JJATT)." John Jay College of Criminal Justice (2009)', 'http://doitapps.jjay.cuny.edu/jjatt/data.php')]
+icon_hash = '59e03c2fee01e9ab21aaf323'
+upstream_license = None
+upstream_prefix = 'gdrive://'
+files = [('1tpkBPoGJjCRmQLJTe28DUDNxGwMeq08E:zip:CSV/HAMBURG_1985_1989.csv', '1985_1989', {'eprop': 'weight'}),
+         ('1tpkBPoGJjCRmQLJTe28DUDNxGwMeq08E:zip:CSV/HAMBURG_1990_1994.csv', '1990_1994', {'eprop': 'weight'}),
+         ('1tpkBPoGJjCRmQLJTe28DUDNxGwMeq08E:zip:CSV/HAMBURG_1995.csv', '1995', {'eprop': 'weight'}),
+         ('1tpkBPoGJjCRmQLJTe28DUDNxGwMeq08E:zip:CSV/HAMBURG_1996.csv', '1996', {'eprop': 'weight'}),
+         ('1tpkBPoGJjCRmQLJTe28DUDNxGwMeq08E:zip:CSV/HAMBURG_1997.csv', '1997', {'eprop': 'weight'}),
+         ('1tpkBPoGJjCRmQLJTe28DUDNxGwMeq08E:zip:CSV/HAMBURG_1998.csv', '1998', {'eprop': 'weight'}),
+         ('1tpkBPoGJjCRmQLJTe28DUDNxGwMeq08E:zip:CSV/HAMBURG_1999.csv', '1999', {'eprop': 'weight'}),
+         ('1tpkBPoGJjCRmQLJTe28DUDNxGwMeq08E:zip:CSV/HAMBURG_2000_1.csv', '2000_1', {'eprop': 'weight'}),
+         ('1tpkBPoGJjCRmQLJTe28DUDNxGwMeq08E:zip:CSV/HAMBURG_2000_2.csv', '2000_2', {'eprop': 'weight'}),
+         ('1tpkBPoGJjCRmQLJTe28DUDNxGwMeq08E:zip:CSV/HAMBURG_2001_1.csv', '2001_1', {'eprop': 'weight'}),
+         ('1tpkBPoGJjCRmQLJTe28DUDNxGwMeq08E:zip:CSV/HAMBURG_2001_2.csv', '2001_2', {'eprop': 'weight'}),
+         ('1tpkBPoGJjCRmQLJTe28DUDNxGwMeq08E:zip:CSV/HAMBURG_2002_1.csv', '2002_1', {'eprop': 'weight'}),
+         ('1tpkBPoGJjCRmQLJTe28DUDNxGwMeq08E:zip:CSV/HAMBURG_2002_2.csv', '2002_2', {'eprop': 'weight'}),
+         ('1tpkBPoGJjCRmQLJTe28DUDNxGwMeq08E:zip:CSV/HAMBURG_2003_1.csv', '2003_1', {'eprop': 'weight'}),
+         ('1tpkBPoGJjCRmQLJTe28DUDNxGwMeq08E:zip:CSV/HAMBURG_2003_2.csv', '2003_2', {'eprop': 'weight'}),
+         ('1tpkBPoGJjCRmQLJTe28DUDNxGwMeq08E:zip:CSV/HAMBURG_2004_1.csv', '2004_1', {'eprop': 'weight'}),
+         ('1tpkBPoGJjCRmQLJTe28DUDNxGwMeq08E:zip:CSV/HAMBURG_2004_2.csv', '2004_2', {'eprop': 'weight'}),
+         ('1tpkBPoGJjCRmQLJTe28DUDNxGwMeq08E:zip:CSV/HAMBURG_2005_1.csv', '2005_1', {'eprop': 'weight'}),
+         ('1tpkBPoGJjCRmQLJTe28DUDNxGwMeq08E:zip:CSV/HAMBURG_2005_2.csv', '2005_2', {'eprop': 'weight'}),
+         ('1tpkBPoGJjCRmQLJTe28DUDNxGwMeq08E:zip:CSV/HAMBURG_2006_1.csv', '2006_1', {'eprop': 'weight'}),
+         ('1tpkBPoGJjCRmQLJTe28DUDNxGwMeq08E:zip:CSV/HAMBURG_2006_2.csv', '2006_2', {'eprop': 'weight'})]
+
+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, spec 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 = ucinet_graph(fs, **spec)
+        yield alt, g