logo Netzschleuder network catalog, repository, and centrifuge

History of paul_revere

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/paul_revere/__init__.py b/entries/paul_revere/__init__.py
index e31d3e4..2a622e9 100644
--- a/entries/paul_revere/__init__.py
+++ b/entries/paul_revere/__init__.py
@@ -39,7 +39,7 @@ url = ['https://sites.google.com/site/ucinetsoftware/datasets/covert-networks/pa
 citation = [('D. H. Fischer, "Paul Revere\'s Ride." Oxford University Press (1994)', 'https://global.oup.com/academic/product/paul-reveres-ride-9780195098310'),
             ('K. Healy, "Using Metadata to Find Paul Revere." (2013)', 'https://kieranhealy.org/blog/archives/2013/06/09/using-metadata-to-find-paul-revere/'),
             ('C. Brunson, "Triadic analysis of affiliation networks." Network Science 3(4), 480-508 (2015)', 'https://doi.org/10.1017/nws.2015.38')]
-icon_hash = ['59daedbfee01e9ab21aadc71', '573422bc461efe0c7a6782ff']
+date_added = '2026-10-25'
 upstream_license = None
 upstream_prefix = 'gdrive://'
 files = [('12spCbnzgKeDCT44iQiVlItLtj6MThgaw:zip:CSV/PREVERE2MODE.csv', 'membership', {'two_mode': True, 'side': 'is_organization'}),
[entries] Prefix the properties in the descriptions with (Node), (Edge) or (Graph) by Tiago de Paula Peixoto bc3dbbd
The lists of properties at the end of the descriptions marked edge
properties with "Edge" but left node properties unmarked, or grouped
them in "Nodes: `a`, ...; `b`, ..." items, so the kind of a property
was often unclear. Every item now starts with (Node), (Edge) or (Graph),
followed by the property names, a colon and the explanation, one item
per property or group of properties; qualifications (kinds of nodes,
networks) follow the names in parentheses. Properties that were only
named got a short explanation, and a few items that named the wrong
kind of property were corrected.
diff --git a/entries/paul_revere/__init__.py b/entries/paul_revere/__init__.py
index ea130a0..e31d3e4 100644
--- a/entries/paul_revere/__init__.py
+++ b/entries/paul_revere/__init__.py
@@ -28,8 +28,9 @@ description = """Memberships of 254 persons in colonial Boston in seven organisa
 
 The networks have the following properties:
 
-- Nodes: `name`, the name of the person, as "Surname.Firstname", or of the organization; `is_organization` (bipartite networks), true for the organizations.
-- Edges: `weight` (`co_membership` only), the number of organizations shared by the two persons.[^ucinet]
+- (Node) `name`: the name of the person, as "Surname.Firstname", or of the organization.
+- (Node) `is_organization` (bipartite networks): true for the organizations.
+- (Edge) `weight` (`co_membership` only): the number of organizations shared by the two persons.[^ucinet].
 
 [^ucinet]: Description obtained in part from the [UCINET datasets page](https://sites.google.com/site/ucinetsoftware/datasets/covert-networks/paul-revere)."""
 tags = ['Social', 'Affiliation', 'Unweighted', 'Projection', 'Political']
[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/paul_revere/__init__.py b/entries/paul_revere/__init__.py
index 93a33ca..ea130a0 100644
--- a/entries/paul_revere/__init__.py
+++ b/entries/paul_revere/__init__.py
@@ -21,15 +21,15 @@ from .. import *
 title = "Paul Revere's Boston organisations (1775)"
 description = """Memberships of 254 persons in colonial Boston in seven organisations at the time of the American Revolution (the St Andrews Lodge of freemasons, the Loyal Nine, the North Caucus, the Long Room Club, the Tea Party participants, the Boston Committee of Correspondence and the London Enemies list), from Appendix D of David Hackett Fischer's book "Paul Revere's Ride" (1994). The membership matrix was transcribed by Kieran Healy in 2013 for his analysis of how metadata can be used to identify Paul Revere as a central figure, and distributed with that analysis and in the UCINET datasets collection (University of Manchester). Healy's transcription contains errors in the memberships of several persons; a corrected matrix, transcribed again from Fischer's appendix by C. Brunson, replaced it in Healy's repository in 2015 (with 319 instead of 334 memberships; e.g. 16 persons are common to the London Enemies list and the North Caucus, not 20).
 
-- `membership`: bipartite network of persons and the organisations they belonged to, from the original (2013, uncorrected) transcription, as distributed by UCINET.
-- `co_membership`: one-mode projection of `membership`, connecting persons who belonged to the same organisations, as distributed by UCINET.
-- `membership_corrected`: bipartite network of persons and organisations, from the corrected (2015) transcription.
-- `whigs`: the subnetwork of `membership_corrected` used by Brunson (2015), which excludes the Tea Party participants and the London Enemies list (treated as non-group affiliations in the data preparation of Brunson's `bitriad` R package), and the persons not belonging to any of the remaining five organisations (136 persons, 160 memberships).
+- `membership`: bipartite network of persons and the organizations they belonged to, from the original (2013, uncorrected) transcription, as distributed by UCINET.
+- `co_membership`: one-mode projection of `membership`, connecting persons who belonged to the same organizations, as distributed by UCINET.
+- `membership_corrected`: bipartite network of persons and organizations, from the corrected (2015) transcription.
+- `whigs`: the subnetwork of `membership_corrected` used by Brunson (2015), which excludes the Tea Party participants and the London Enemies list (treated as non-group affiliations in the data preparation of Brunson's `bitriad` R package), and the persons not belonging to any of the remaining five organizations (136 persons, 160 memberships).
 
 The networks have the following properties:
 
-- Nodes: `name`, the name of the person, as "Surname.Firstname", or of the organisation; `is_organization` (bipartite networks), true for the organisations.
-- Edges: `weight` (`co_membership` only), the number of organisations shared by the two persons.[^ucinet]
+- Nodes: `name`, the name of the person, as "Surname.Firstname", or of the organization; `is_organization` (bipartite networks), true for the organizations.
+- Edges: `weight` (`co_membership` only), the number of organizations shared by the two persons.[^ucinet]
 
 [^ucinet]: Description obtained in part from the [UCINET datasets page](https://sites.google.com/site/ucinetsoftware/datasets/covert-networks/paul-revere)."""
 tags = ['Social', 'Affiliation', 'Unweighted', 'Projection', 'Political']
[entries] New entry: paul_revere by Tiago de Paula Peixoto d6a4afd
Replaces revolution (KONECT's copy of Brunson's corrected subset), which is
now the network `whigs` of this entry.
diff --git a/entries/paul_revere/__init__.py b/entries/paul_revere/__init__.py
new file mode 100644
index 0000000..93a33ca
--- /dev/null
+++ b/entries/paul_revere/__init__.py
@@ -0,0 +1,81 @@
+#! /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 = "Paul Revere's Boston organisations (1775)"
+description = """Memberships of 254 persons in colonial Boston in seven organisations at the time of the American Revolution (the St Andrews Lodge of freemasons, the Loyal Nine, the North Caucus, the Long Room Club, the Tea Party participants, the Boston Committee of Correspondence and the London Enemies list), from Appendix D of David Hackett Fischer's book "Paul Revere's Ride" (1994). The membership matrix was transcribed by Kieran Healy in 2013 for his analysis of how metadata can be used to identify Paul Revere as a central figure, and distributed with that analysis and in the UCINET datasets collection (University of Manchester). Healy's transcription contains errors in the memberships of several persons; a corrected matrix, transcribed again from Fischer's appendix by C. Brunson, replaced it in Healy's repository in 2015 (with 319 instead of 334 memberships; e.g. 16 persons are common to the London Enemies list and the North Caucus, not 20).
+
+- `membership`: bipartite network of persons and the organisations they belonged to, from the original (2013, uncorrected) transcription, as distributed by UCINET.
+- `co_membership`: one-mode projection of `membership`, connecting persons who belonged to the same organisations, as distributed by UCINET.
+- `membership_corrected`: bipartite network of persons and organisations, from the corrected (2015) transcription.
+- `whigs`: the subnetwork of `membership_corrected` used by Brunson (2015), which excludes the Tea Party participants and the London Enemies list (treated as non-group affiliations in the data preparation of Brunson's `bitriad` R package), and the persons not belonging to any of the remaining five organisations (136 persons, 160 memberships).
+
+The networks have the following properties:
+
+- Nodes: `name`, the name of the person, as "Surname.Firstname", or of the organisation; `is_organization` (bipartite networks), true for the organisations.
+- Edges: `weight` (`co_membership` only), the number of organisations shared by the two persons.[^ucinet]
+
+[^ucinet]: Description obtained in part from the [UCINET datasets page](https://sites.google.com/site/ucinetsoftware/datasets/covert-networks/paul-revere)."""
+tags = ['Social', 'Affiliation', 'Unweighted', 'Projection', 'Political']
+url = ['https://sites.google.com/site/ucinetsoftware/datasets/covert-networks/paul-revere',
+       'https://github.com/kjhealy/revere']
+citation = [('D. H. Fischer, "Paul Revere\'s Ride." Oxford University Press (1994)', 'https://global.oup.com/academic/product/paul-reveres-ride-9780195098310'),
+            ('K. Healy, "Using Metadata to Find Paul Revere." (2013)', 'https://kieranhealy.org/blog/archives/2013/06/09/using-metadata-to-find-paul-revere/'),
+            ('C. Brunson, "Triadic analysis of affiliation networks." Network Science 3(4), 480-508 (2015)', 'https://doi.org/10.1017/nws.2015.38')]
+icon_hash = ['59daedbfee01e9ab21aadc71', '573422bc461efe0c7a6782ff']
+upstream_license = None
+upstream_prefix = 'gdrive://'
+files = [('12spCbnzgKeDCT44iQiVlItLtj6MThgaw:zip:CSV/PREVERE2MODE.csv', 'membership', {'two_mode': True, 'side': 'is_organization'}),
+         ('12spCbnzgKeDCT44iQiVlItLtj6MThgaw:zip:CSV/PREVERE1MODE.csv', 'co_membership', {'eprop': 'weight'})]
+
+# corrected transcription (kjhealy/revere pull request #1, 2015)
+healy_prefix = 'https://raw.githubusercontent.com/kjhealy/revere/ed1d57a19f512f7fe55664db52ef577aae5c2d49/data'
+healy_files = [('PaulRevereAppD.csv', 'membership_corrected', None),
+               ('PaulRevereAppD.csv', 'whigs', None)]
+
+def fetch_upstream(force=False):
+    name = __name__.split(".")[-1]
+    fetch_upstream_files(name, upstream_prefix, files, force)
+    return fetch_upstream_files(name, healy_prefix, healy_files, force)
+
+@cache_network()
+@coerce_props()
+@annotate()
+def parse(alts=None):
+    name = __name__.split(".")[-1]
+    for fnames, alt, spec in files + healy_files:
+        if alts is not None and alt not in alts:
+            continue
+        if spec is None:
+            spec = {'two_mode': True, 'side': 'is_organization'}
+        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)
+        if alt == "whigs":
+            # Brunson (2015): drop the Tea Party and the London Enemies list,
+            # and the persons left without memberships
+            org = g.vp.is_organization
+            g.remove_vertex([v for v in g.vertices() if org[v] and
+                             g.vp.name[v] in ("TeaParty", "LondonEnemies")])
+            org = g.vp.is_organization
+            g.remove_vertex([v for v in g.vertices() if not org[v] and
+                             v.out_degree() == 0])
+        yield alt, g