CiteIndex Warehouse

Data engineering portfolio · Yongjia Yuan

CiteIndex
Warehouse

A bibliographic data warehouse that turns CiteIndex records into versioned, testable datasets and compares them with reference metadata.

Explore the reconciliation demo
  1. IngestPython · CiteIndex, Crossref and OpenAlex
  2. Store and orchestratePostgreSQL · Airflow · checkpointed loads
  3. Transform and comparedbt · Parquet batch loads · BigQuery
  4. VerifyTerraform · GitHub Actions · cross-engine parity
300PLOS ONE records reprocessed
0Duplicate versions on replay
172Synthetic field comparisons matched across engines

Explore the reconciliation run

This synthetic run matched 43 candidate pairs across 50 documents. Filter by how the pair was selected. A comparable field has values on both sides. A disagreement means those values differ.

Metadata fieldComparisonsComparableDisagreements
Publication year434314
First-author family43434
Container43340
Title43430

43 pairs · 172 comparisons · Synthetic fixture snapshot

A warehouse check found an upstream extraction bug

In a public corpus test of 300 PLOS ONE articles, CiteIndex sometimes interpreted figure captions as author names even though the HTML already contained publisher-supplied author tags.

78 → 8 first-author family disagreements

Fix

Prioritised publisher author tags and verified each author against the saved source. Reprocessed all 300 records.

Residual differences

The eight remaining discrepancies involved compound surname splits. The warehouse added zero versions when the corrected load was replayed.

How the results were verified

Local warehouse

76 PostgreSQL dbt steps passed on synthetic fixtures. The Airflow DAG ran inside Docker Compose with fixture API responses.

Cloud parity

10 BigQuery dbt steps passed as the service account. Both engines returned identical reconciliation and pipeline-health rows on the shared fixtures.

Hosted CI

GitHub Actions passed lint, pytest, PostgreSQL dbt and Terraform validation.