History of ragusa_genealogy
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] Remove superfluous details of the upstream distribution from the descriptions dc07aa0
The descriptions mentioned incidental details of how the upstream data are made available: the file formats (CSV, JSON, XML, GEXF, SBML, HIF, Pajek, UCINET, ...), file names, where the files were published or obtained from (Zenodo, figshare, Kaggle, the Pajek datasets page, the Internet Archive), and that some networks are only available in the gt format. These are left out; caveats about the data themselves are kept, referring to "the data" instead of "the file". The description of sp_baboons now lists its properties instead of the upstream columns, and says that events without a recipient are left out.
diff --git a/entries/ragusa_genealogy/__init__.py b/entries/ragusa_genealogy/__init__.py
index 4b04e44..cad58f0 100644
--- a/entries/ragusa_genealogy/__init__.py
+++ b/entries/ragusa_genealogy/__init__.py
@@ -19,7 +19,7 @@
from .. import *
title = 'Ragusan nobility genealogy (12th-16th century)'
-description = """The genealogy of the nobility of Ragusa (now Dubrovnik, Croatia) from the 12th to the 16th century, compiled into a GEDCOM file by P. Dremelj (1999) from the data of I. Mahnken's study of the Ragusan patriciate. In Ragusa, all political power was in the hands of the male nobles older than 18 years, members of the Great Council. The nobility evolved from the 12th through the 14th century and was finally established by statute in 1332, after which no new family was accepted until the large earthquake of 1667. Because of decreasing numbers and the lack of noble families in the neighboring areas under Turkish control, the noble families became more and more closely related, and marriages between relatives were frequent. Nodes are persons; directed edges point from parents to their children, and there is an edge from husband to wife for each marriage. The data were distributed on the Pajek datasets page of the book *Exploratory Social Network Analysis with Pajek* (de Nooy, Mrvar and Batagelj), from which this version was obtained.
+description = """The genealogy of the nobility of Ragusa (now Dubrovnik, Croatia) from the 12th to the 16th century, compiled by P. Dremelj (1999) from the data of I. Mahnken's study of the Ragusan patriciate. In Ragusa, all political power was in the hands of the male nobles older than 18 years, members of the Great Council. The nobility evolved from the 12th through the 14th century and was finally established by statute in 1332, after which no new family was accepted until the large earthquake of 1667. Because of decreasing numbers and the lack of noble families in the neighboring areas under Turkish control, the noble families became more and more closely related, and marriages between relatives were frequent. Nodes are persons; directed edges point from parents to their children, and there is an edge from husband to wife for each marriage.
- `ragusa`: the complete genealogy.
- `gondola_petrus`: the descendants of one nobleman, Petrus Gondola (a selection of the complete genealogy).
[entries] Add the date when each entry was added, and remove icon_hash 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/ragusa_genealogy/__init__.py b/entries/ragusa_genealogy/__init__.py
index ffd26b8..4b04e44 100644
--- a/entries/ragusa_genealogy/__init__.py
+++ b/entries/ragusa_genealogy/__init__.py
@@ -36,7 +36,7 @@ url = 'https://web.archive.org/web/20040706124919/http://vlado.fmf.uni-lj.si/pub
citation = [('I. Mahnken, "Das Ragusanische Patriziat des XIV. Jahrhunderts." PhD dissertation (1960)', 'https://web.archive.org/web/20040706124919/http://vlado.fmf.uni-lj.si/pub/networks/data/esna/ragusa.htm'),
('P. Dremelj, A. Mrvar, V. Batagelj, "Analiza rodoslova dubrovačkog vlasteoskog kruga pomoću programa Pajek." Anali Zavoda za povijesne znanosti HAZU u Dubrovniku 40, 105-126 (2002)', 'https://web.archive.org/web/20040706124919/http://vlado.fmf.uni-lj.si/pub/networks/data/esna/ragusa.htm'),
('W. de Nooy, A. Mrvar, V. Batagelj, "Exploratory Social Network Analysis with Pajek." Cambridge University Press (2005)', 'https://doi.org/10.1017/CBO9780511806452')]
-icon_hash = '58ef752a62da63251186890b'
+date_added = '2026-10-25'
upstream_license = None
# The Pajek data site (vlado.fmf.uni-lj.si) is no longer reachable, so the
# files are obtained from the Internet Archive.
[entries] Prefix the properties in the descriptions with (Node), (Edge) or (Graph) 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/ragusa_genealogy/__init__.py b/entries/ragusa_genealogy/__init__.py
index 678b739..ffd26b8 100644
--- a/entries/ragusa_genealogy/__init__.py
+++ b/entries/ragusa_genealogy/__init__.py
@@ -26,8 +26,11 @@ description = """The genealogy of the nobility of Ragusa (now Dubrovnik, Croatia
The networks have the following properties:
-- Nodes: `name`, the name of the person; `sex` ("M", "F", "U" or empty); `birth` and `death`, the year (or date) of birth and death, as given in the source (empty if unknown).
-- Edges: `kind`, the kind of relation ("father" or "mother", for edges from a parent to a child, or "marriage", for edges from husband to wife); `date`, the date of the marriage, as given in the source (empty if unknown or not a marriage)."""
+- (Node) `name`: the name of the person.
+- (Node) `sex` ("M", "F", "U" or empty).
+- (Node) `birth` and `death`: the year (or date) of birth and death, as given in the source (empty if unknown).
+- (Edge) `kind`: the kind of relation ("father" or "mother", for edges from a parent to a child, or "marriage", for edges from husband to wife).
+- (Edge) `date`: the date of the marriage, as given in the source (empty if unknown or not a marriage)."""
tags = ['Social', 'Relatedness', 'Unweighted', 'Metadata']
url = 'https://web.archive.org/web/20040706124919/http://vlado.fmf.uni-lj.si/pub/networks/data/esna/ragusa.htm'
citation = [('I. Mahnken, "Das Ragusanische Patriziat des XIV. Jahrhunderts." PhD dissertation (1960)', 'https://web.archive.org/web/20040706124919/http://vlado.fmf.uni-lj.si/pub/networks/data/esna/ragusa.htm'),
[entries] New entry: ragusa_genealogy 54a301d
diff --git a/entries/ragusa_genealogy/__init__.py b/entries/ragusa_genealogy/__init__.py
new file mode 100644
index 0000000..678b739
--- /dev/null
+++ b/entries/ragusa_genealogy/__init__.py
@@ -0,0 +1,58 @@
+#! /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 = 'Ragusan nobility genealogy (12th-16th century)'
+description = """The genealogy of the nobility of Ragusa (now Dubrovnik, Croatia) from the 12th to the 16th century, compiled into a GEDCOM file by P. Dremelj (1999) from the data of I. Mahnken's study of the Ragusan patriciate. In Ragusa, all political power was in the hands of the male nobles older than 18 years, members of the Great Council. The nobility evolved from the 12th through the 14th century and was finally established by statute in 1332, after which no new family was accepted until the large earthquake of 1667. Because of decreasing numbers and the lack of noble families in the neighboring areas under Turkish control, the noble families became more and more closely related, and marriages between relatives were frequent. Nodes are persons; directed edges point from parents to their children, and there is an edge from husband to wife for each marriage. The data were distributed on the Pajek datasets page of the book *Exploratory Social Network Analysis with Pajek* (de Nooy, Mrvar and Batagelj), from which this version was obtained.
+
+- `ragusa`: the complete genealogy.
+- `gondola_petrus`: the descendants of one nobleman, Petrus Gondola (a selection of the complete genealogy).
+
+The networks have the following properties:
+
+- Nodes: `name`, the name of the person; `sex` ("M", "F", "U" or empty); `birth` and `death`, the year (or date) of birth and death, as given in the source (empty if unknown).
+- Edges: `kind`, the kind of relation ("father" or "mother", for edges from a parent to a child, or "marriage", for edges from husband to wife); `date`, the date of the marriage, as given in the source (empty if unknown or not a marriage)."""
+tags = ['Social', 'Relatedness', 'Unweighted', 'Metadata']
+url = 'https://web.archive.org/web/20040706124919/http://vlado.fmf.uni-lj.si/pub/networks/data/esna/ragusa.htm'
+citation = [('I. Mahnken, "Das Ragusanische Patriziat des XIV. Jahrhunderts." PhD dissertation (1960)', 'https://web.archive.org/web/20040706124919/http://vlado.fmf.uni-lj.si/pub/networks/data/esna/ragusa.htm'),
+ ('P. Dremelj, A. Mrvar, V. Batagelj, "Analiza rodoslova dubrovačkog vlasteoskog kruga pomoću programa Pajek." Anali Zavoda za povijesne znanosti HAZU u Dubrovniku 40, 105-126 (2002)', 'https://web.archive.org/web/20040706124919/http://vlado.fmf.uni-lj.si/pub/networks/data/esna/ragusa.htm'),
+ ('W. de Nooy, A. Mrvar, V. Batagelj, "Exploratory Social Network Analysis with Pajek." Cambridge University Press (2005)', 'https://doi.org/10.1017/CBO9780511806452')]
+icon_hash = '58ef752a62da63251186890b'
+upstream_license = None
+# The Pajek data site (vlado.fmf.uni-lj.si) is no longer reachable, so the
+# files are obtained from the Internet Archive.
+upstream_prefix = 'https://web.archive.org/web/20051030090445id_/http://vlado.fmf.uni-lj.si/pub/networks/data/esna'
+files = [('Ragusa.zip:Ragusan.ged', 'ragusa', None),
+ ('Ragusa.zip:Gondola.Petrus.ged', 'gondola_petrus', 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):
+ name = __name__.split(".")[-1]
+ for fname, alt, fmt in files:
+ if alts is not None and alt not in alts:
+ continue
+ with open_upstream_file(name, fname, "rb") as f:
+ g = read_gedcom(f)
+ yield alt, g