Awesome-Agent-Skills-for-Empirical-Research citation-network-guide

Analyze citation networks, impact metrics, and bibliometric patterns

install
source · Clone the upstream repo
git clone https://github.com/brycewang-stanford/Awesome-Agent-Skills-for-Empirical-Research
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/brycewang-stanford/Awesome-Agent-Skills-for-Empirical-Research "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/43-wentorai-research-plugins/skills/literature/metadata/citation-network-guide" ~/.claude/skills/brycewang-stanford-awesome-agent-skills-for-empirical-research-citation-network- && rm -rf "$T"
manifest: skills/43-wentorai-research-plugins/skills/literature/metadata/citation-network-guide/SKILL.md
source content

Citation Network Analysis Guide

Overview

Citation networks encode the intellectual structure of scientific fields. By analyzing who cites whom, how ideas propagate, and where research clusters form, researchers can identify foundational papers, emerging trends, influential authors, and gaps in the literature that represent opportunities for new contributions.

This guide covers the theory and practice of citation network analysis: building networks from bibliographic data, computing standard metrics (h-index, impact factor, PageRank, betweenness centrality), visualizing network structure, and interpreting results. It also covers altmetrics -- alternative impact measures that capture attention beyond traditional citations.

Whether you are conducting a systematic literature review, mapping a new research area, evaluating potential collaborators, or assessing the impact of your own work, citation network analysis provides quantitative tools to complement qualitative judgment.

Core Concepts

Types of Citation Networks

Network TypeNodesEdgesQuestion Answered
Direct citationPapersPaper A cites Paper BWhich papers directly build on each other?
Co-citationPapersA and B are both cited by CWhich papers are perceived as related?
Bibliographic couplingPapersA and B both cite CWhich papers share intellectual foundations?
Author co-citationAuthorsTwo authors are frequently co-citedWhich researchers are seen as working in the same area?
Author collaborationAuthorsTwo authors co-authored a paperWho works together?

Key Metrics

MetricLevelDefinitionInterpretation
Citation countPaperNumber of times citedRaw impact
h-indexAuthorh papers with >= h citationsSustained productivity
Impact FactorJournalMean citations to recent articlesJournal prestige
PageRankPaper/AuthorIterative importance based on network positionInfluence (weighted by citing paper importance)
Betweenness centralityPaperFrequency on shortest paths between other nodesBridging role between subfields
Burst detectionPaper/TermSudden increase in citations/usageEmerging topic

Building Citation Networks

Data Sources

SourceCoverageAPICost
OpenAlex250M+ works, all disciplinesREST API, freeFree (no key required)
OpenAlex250M+ works, all disciplinesREST API, freeFree
Crossref140M+ DOIsREST APIFree
Web of ScienceCurated, multi-disciplinaryInstitutionalLicensed
Scopus90M+ recordsREST APILicensed

Fetching Data with OpenAlex

import requests
import networkx as nx

def get_citations(doi, max_results=100):
    """Fetch papers that cite a given DOI using OpenAlex."""
    work_url = f"https://api.openalex.org/works/doi:{doi}"
    resp = requests.get(work_url)
    work = resp.json()
    openalex_id = work['id']

    # Get citing works
    citing_url = (
        f"https://api.openalex.org/works"
        f"?filter=cites:{openalex_id}"
        f"&per_page={max_results}"
        f"&sort=cited_by_count:desc"
    )
    citing_resp = requests.get(citing_url)
    citing_works = citing_resp.json()['results']

    return [{
        'id': w['id'],
        'title': w['title'],
        'year': w['publication_year'],
        'cited_by_count': w['cited_by_count'],
        'authors': [a['author']['display_name']
                    for a in w.get('authorships', [])]
    } for w in citing_works]

Building the Network with NetworkX

import networkx as nx

def build_citation_network(seed_doi, depth=2):
    """Build a citation network to specified depth from a seed paper."""
    G = nx.DiGraph()
    visited = set()
    queue = [(seed_doi, 0)]

    while queue:
        doi, level = queue.pop(0)
        if doi in visited or level > depth:
            continue
        visited.add(doi)

        citations = get_citations(doi, max_results=20)
        for paper in citations:
            G.add_node(paper['id'],
                       title=paper['title'],
                       year=paper['year'],
                       citations=paper['cited_by_count'])
            G.add_edge(paper['id'], doi)  # citing -> cited

            if level + 1 <= depth:
                queue.append((paper['id'], level + 1))

    return G

# Build and analyze
G = build_citation_network("10.1234/example", depth=2)
print(f"Nodes: {G.number_of_nodes()}, Edges: {G.number_of_edges()}")

Network Analysis

Computing Centrality Metrics

# PageRank (most important papers in the network)
pagerank = nx.pagerank(G, alpha=0.85)
top_papers = sorted(pagerank.items(), key=lambda x: x[1], reverse=True)[:10]

for paper_id, score in top_papers:
    title = G.nodes[paper_id].get('title', 'Unknown')
    print(f"  PR={score:.4f}: {title[:80]}")

# Betweenness centrality (bridge papers)
betweenness = nx.betweenness_centrality(G)
bridges = sorted(betweenness.items(), key=lambda x: x[1], reverse=True)[:10]

# Community detection (research clusters)
from networkx.algorithms.community import greedy_modularity_communities
communities = list(greedy_modularity_communities(G.to_undirected()))
print(f"Detected {len(communities)} research clusters")

Co-Citation Analysis

def build_cocitation_network(papers_with_refs):
    """Build co-citation network from papers with their reference lists."""
    from itertools import combinations
    G = nx.Graph()

    for paper in papers_with_refs:
        refs = paper['references']
        for a, b in combinations(refs, 2):
            if G.has_edge(a, b):
                G[a][b]['weight'] += 1
            else:
                G.add_edge(a, b, weight=1)

    return G

Visualization

Using pyvis for Interactive Visualization

from pyvis.network import Network

def visualize_citation_network(G, output='citation_network.html'):
    net = Network(height='800px', width='100%', directed=True)

    for node in G.nodes():
        title = G.nodes[node].get('title', str(node))[:60]
        size = min(5 + G.nodes[node].get('citations', 0) * 0.1, 40)
        net.add_node(str(node), label=title, size=size,
                     title=G.nodes[node].get('title', ''))

    for u, v in G.edges():
        net.add_edge(str(u), str(v))

    net.set_options("""
    var options = {
      "physics": {"barnesHut": {"gravitationalConstant": -3000}},
      "nodes": {"font": {"size": 10}}
    }
    """)
    net.save_graph(output)
    print(f"Saved to {output}")

Using VOSviewer

VOSviewer is a dedicated bibliometric visualization tool:

  1. Export records from Web of Science or Scopus in CSV format.
  2. Open VOSviewer and select "Create a map based on bibliographic data."
  3. Choose analysis type: co-citation, bibliographic coupling, or co-authorship.
  4. Adjust parameters (minimum citations, cluster resolution).
  5. Export high-resolution images for publications.

Altmetrics

Traditional citations take years to accumulate. Altmetrics capture immediate attention:

MetricSourceSpeedWhat It Measures
Altmetric Attention Scorealtmetric.comHoursMedia, social, policy mentions
PlumX metricsElsevierDaysUsage, captures, mentions, social
DownloadsPublisherImmediateReader interest
Twitter/X mentionsSocial mediaImmediatePublic discourse
Wikipedia citationsWikipediaWeeksEncyclopedic significance
Policy document citationsOvertonMonthsPolicy relevance

Best Practices

  • Combine multiple data sources. No single database has complete coverage. Merge OpenAlex and CrossRef for best results.
  • Normalize by field and age. A 2024 paper in biology and a 2024 paper in mathematics have very different citation rate baselines.
  • Use relative indicators. Field-Weighted Citation Impact (FWCI) accounts for disciplinary differences.
  • Do not equate citations with quality. Retracted papers sometimes have high citation counts. Controversial papers accumulate criticism citations.
  • Report network metrics alongside standard citations. PageRank and betweenness reveal influence that raw counts miss.
  • Update analyses periodically. Citation networks change as new papers are published.

References