historical-network

Construct time-aware NetworkX graphs from correspondence datasets and export annotated GEXF files.

33|6|Updated Mar 17, 2026
One-click install
npx skills add https://github.com/xjtulyc/awesome-rosetta-skills --skill historical-network
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: historical-network
Source: https://github.com/xjtulyc/awesome-rosetta-skills/tree/main/skills/13-history/historical-network
Command: npx skills add https://github.com/xjtulyc/awesome-rosetta-skills --skill historical-network

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires networkx, pandas, numpy, matplotlib, python-louvain.

What problem does it solve?

This Skill helps you turn historical correspondence and prosopographic records into analyzable networks, then quantify how relationships, influence, and communities change over time despite archival incompleteness.

Core Features & Use Cases

  • Correspondence Network Construction: Build directed multigraphs from sender–recipient letter datasets (preserving one edge per letter, with year/doc_id attributes).
  • Temporal Network Metrics: Compute decade-window betweenness centrality to identify intermediaries/brokers and track their rise or decline over time.
  • Prosopography-Enriched Graphs: Attach historical person attributes (name, title, gender, institution, lifespans) to network nodes for interpretation.
  • Community Detection & Persistence: Run Louvain community detection per time window and measure community stability across periods via Jaccard similarity.
  • Gephi Visualization Export: Export an annotated graph to GEXF (including node attributes and edge weights) for interactive exploration in Gephi.

Quick Start

Use the historical-network skill to build a decade-window correspondence graph from your CSV, compute temporal betweenness, detect Louvain communities per decade, and export the annotated network to a Gephi-ready GEXF file.

Frequently Asked Questions about historical-network

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I analyze historical correspondence networks across time using Python?

To analyze historical correspondence networks across time, you transform sender-recipient letter datasets into directed multigraphs and compute decade-window metrics. This Skill builds time-aware NetworkX graphs to track relationships and intermediary roles over time.

How do I track changes in betweenness centrality for historical networks by decade?

Tracking changes in betweenness centrality for historical networks requires computing normalized betweenness per time window. This Skill applies temporal network metrics to identify brokers and quantify their rise or decline across successive decades.

Can I detect and measure community persistence in temporal networks using Louvain and Jaccard similarity?

You can detect and measure community persistence in temporal networks by running Louvain community detection per time window and calculating Jaccard similarity. This Skill measures community stability across periods using configurable resolution and random seed.

How do I export a NetworkX graph with prosopographic attributes to Gephi as a GEXF file?

To export a NetworkX graph with prosopographic attributes to Gephi as a GEXF file, you attach historical person data like institution and lifespan to nodes. This Skill generates an annotated GEXF export including node attributes and edge weights.

What's the best way to construct a bipartite person-event projection from historical datasets?

Constructing a bipartite person-event projection from historical datasets involves transforming records into a two-mode network and projecting them. This Skill supports bipartite person-event projection workflows to analyze historical participation patterns.

Does this historical network analysis approach require consistent node identifiers when exporting to GEXF?

Yes, historical network analysis requires consistent string node identifiers when exporting to GEXF to ensure accurate attribute mapping. This Skill enforces consistent identifiers throughout graph construction and annotated export processes.