History of student_government
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/student_government/__init__.py b/entries/student_government/__init__.py
index 220c39f..dc30427 100644
--- a/entries/student_government/__init__.py
+++ b/entries/student_government/__init__.py
@@ -19,7 +19,7 @@
from .. import *
title = 'Ljubljana student government communication (1992)'
-description = """Communication relations among the members and advisors of the Student Government of the University of Ljubljana (Slovenia), collected by V. Hlebec in May 1992 in an experiment comparing two methods of collecting network data: recall, in which respondents named the members of their egocentric networks from memory, and recognition, in which they were given a list of all members and selected those they communicate with (most often). The number of listed persons was not limited in either method. Communication flow was identified by three questions, referring to the matters of the Student Government during the six months since its formation: "Who of the members and advisors of the Student Government do you (most often) informally discuss with?", "Which members and advisors do you (most often) ask for an opinion?", and "Which members and advisors (most often) ask you for an opinion?". One of the twelve members refused to cooperate, so the networks have 11 actors. The data reflect the actors' cognition of the communication, rather than observed interactions. The data were distributed in Pajek format on the Pajek datasets page of V. Batagelj and A. Mrvar, from which this version was obtained.
+description = """Communication relations among the members and advisors of the Student Government of the University of Ljubljana (Slovenia), collected by V. Hlebec in May 1992 in an experiment comparing two methods of collecting network data: recall, in which respondents named the members of their egocentric networks from memory, and recognition, in which they were given a list of all members and selected those they communicate with (most often). The number of listed persons was not limited in either method. Communication flow was identified by three questions, referring to the matters of the Student Government during the six months since its formation: "Who of the members and advisors of the Student Government do you (most often) informally discuss with?", "Which members and advisors do you (most often) ask for an opinion?", and "Which members and advisors (most often) ask you for an opinion?". One of the twelve members refused to cooperate, so the networks have 11 actors. The data reflect the actors' cognition of the communication, rather than observed interactions.
- `discussion_recall`, `discussion_recognition`: informal discussion, from the respondent to the person named.
- `ask_recall`, `ask_recognition`: asking for an opinion, from the respondent to the person named.
[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/student_government/__init__.py b/entries/student_government/__init__.py
index a1c7d83..220c39f 100644
--- a/entries/student_government/__init__.py
+++ b/entries/student_government/__init__.py
@@ -31,7 +31,7 @@ The networks have the following properties:
tags = ['Social', 'Communication', 'Unweighted', 'Metadata']
url = 'https://web.archive.org/web/20040115070328/http://vlado.fmf.uni-lj.si/pub/networks/data/soc/Tina/Tina.htm'
citation = [('V. Hlebec, "Recall versus recognition: Comparison of the two alternative procedures for collecting social network data." In A. Ferligoj, A. Kramberger (eds.), Developments in Statistics and Methodology, Metodološki zvezki 9, FDV, Ljubljana (1993), pp. 121-129', 'https://dk.fdv.uni-lj.si/metodoloskizvezki/Pdfs/Mz_9Hlebec.pdf')]
-icon_hash = '58adc3d6a411221d0e7c67f0'
+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/student_government/__init__.py b/entries/student_government/__init__.py
index 4f40284..a1c7d83 100644
--- a/entries/student_government/__init__.py
+++ b/entries/student_government/__init__.py
@@ -27,7 +27,7 @@ description = """Communication relations among the members and advisors of the S
The networks have the following properties:
-- Nodes: `name`, the position of the actor (prime minister, ministers 1 to 7, and advisers 1 to 3)."""
+- (Node) `name`: the position of the actor (prime minister, ministers 1 to 7, and advisers 1 to 3)."""
tags = ['Social', 'Communication', 'Unweighted', 'Metadata']
url = 'https://web.archive.org/web/20040115070328/http://vlado.fmf.uni-lj.si/pub/networks/data/soc/Tina/Tina.htm'
citation = [('V. Hlebec, "Recall versus recognition: Comparison of the two alternative procedures for collecting social network data." In A. Ferligoj, A. Kramberger (eds.), Developments in Statistics and Methodology, Metodološki zvezki 9, FDV, Ljubljana (1993), pp. 121-129', 'https://dk.fdv.uni-lj.si/metodoloskizvezki/Pdfs/Mz_9Hlebec.pdf')]
[entries] New entry: student_government fff8a8c
diff --git a/entries/student_government/__init__.py b/entries/student_government/__init__.py
new file mode 100644
index 0000000..4f40284
--- /dev/null
+++ b/entries/student_government/__init__.py
@@ -0,0 +1,61 @@
+#! /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 = 'Ljubljana student government communication (1992)'
+description = """Communication relations among the members and advisors of the Student Government of the University of Ljubljana (Slovenia), collected by V. Hlebec in May 1992 in an experiment comparing two methods of collecting network data: recall, in which respondents named the members of their egocentric networks from memory, and recognition, in which they were given a list of all members and selected those they communicate with (most often). The number of listed persons was not limited in either method. Communication flow was identified by three questions, referring to the matters of the Student Government during the six months since its formation: "Who of the members and advisors of the Student Government do you (most often) informally discuss with?", "Which members and advisors do you (most often) ask for an opinion?", and "Which members and advisors (most often) ask you for an opinion?". One of the twelve members refused to cooperate, so the networks have 11 actors. The data reflect the actors' cognition of the communication, rather than observed interactions. The data were distributed in Pajek format on the Pajek datasets page of V. Batagelj and A. Mrvar, from which this version was obtained.
+
+- `discussion_recall`, `discussion_recognition`: informal discussion, from the respondent to the person named.
+- `ask_recall`, `ask_recognition`: asking for an opinion, from the respondent to the person named.
+- `asked_recall`, `asked_recognition`: being asked for an opinion; the matrices were transposed in the source, so that an edge points from the person who asks for an opinion to the respondent who reported it.
+
+The networks have the following properties:
+
+- Nodes: `name`, the position of the actor (prime minister, ministers 1 to 7, and advisers 1 to 3)."""
+tags = ['Social', 'Communication', 'Unweighted', 'Metadata']
+url = 'https://web.archive.org/web/20040115070328/http://vlado.fmf.uni-lj.si/pub/networks/data/soc/Tina/Tina.htm'
+citation = [('V. Hlebec, "Recall versus recognition: Comparison of the two alternative procedures for collecting social network data." In A. Ferligoj, A. Kramberger (eds.), Developments in Statistics and Methodology, Metodološki zvezki 9, FDV, Ljubljana (1993), pp. 121-129', 'https://dk.fdv.uni-lj.si/metodoloskizvezki/Pdfs/Mz_9Hlebec.pdf')]
+icon_hash = '58adc3d6a411221d0e7c67f0'
+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/20060824164209id_/http://vlado.fmf.uni-lj.si/pub/networks/data/soc/Tina'
+files = [('tina.zip:Tina.paj', 'discussion_recall', None),
+ ('tina.zip:Tina.paj', 'discussion_recognition', None),
+ ('tina.zip:Tina.paj', 'ask_recall', None),
+ ('tina.zip:Tina.paj', 'ask_recognition', None),
+ ('tina.zip:Tina.paj', 'asked_recall', None),
+ ('tina.zip:Tina.paj', 'asked_recognition', 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]
+ items = load_pajek(name, "tina.zip:Tina.paj")
+ for net, alt in [("DisCal", "discussion_recall"), ("DisCog", "discussion_recognition"),
+ ("AskCal", "ask_recall"), ("AskCog", "ask_recognition"),
+ ("AnsCalT", "asked_recall"), ("AnsCogT", "asked_recognition")]:
+ if alts is not None and alt not in alts:
+ continue
+ yield alt, pajek_graph(get_pajek_item(items, "network", net))