# praveenkamkar-prog/university-chapters-data-product architecture

> Architecture diagram of the GitHub repository praveenkamkar-prog/university-chapters-data-product, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-09). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/praveenkamkar-prog/university-chapters-data-product
- Repository: https://github.com/praveenkamkar-prog/university-chapters-data-product

## Overview

This is a Databricks/PySpark data product that extracts university chapter records for California, Oregon, and Washington from ArcGIS, processes them through Bronze and Silver, applies quality rules, and publishes Gold data for analytics. The README documents the stage relationships and audit outputs; no source excerpts were provided, so implementation details beyond those documented are omitted. Pipeline components map to the notebook path shown in the tree.

Main entry points: [`Notebook/university_chapter_pipeline.ipynb`](https://github.com/praveenkamkar-prog/university-chapters-data-product/blob/main/Notebook/university_chapter_pipeline.ipynb) (Data quality rules)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_ingestion["Ingestion"]
  node_notebook["Pipeline notebook"]
  node_bronze[("Bronze raw data")]
end

subgraph group_processing["Data Processing"]
  node_silver[("Silver chapter data")]
end

subgraph group_quality["Quality and Audit"]
  node_quality["Data quality rules"]
  node_quarantine[("Quarantine records")]
  node_valid[("Valid Silver records")]
  node_audit[("Audit metrics")]
end

subgraph group_product["Published Product"]
  node_gold[("Gold data product")]
end

node_operator(("Pipeline operator"))
node_arcgis["ArcGIS REST API"]
node_analyst(("Analytics consumer"))

node_operator -->|"runs"| node_notebook
node_notebook -->|"extracts records"| node_arcgis
node_notebook -->|"writes raw payload"| node_bronze
node_bronze -->|"parses and cleans"| node_silver
node_silver -->|"checks records"| node_quality
node_quality -->|"routes invalid"| node_quarantine
node_quality -->|"retains valid"| node_valid
node_valid -->|"publishes records"| node_gold
node_quality -->|"records outcomes"| node_audit
node_gold -->|"serves analytics"| node_analyst

click node_notebook "https://github.com/praveenkamkar-prog/university-chapters-data-product/blob/main/Notebook/university_chapter_pipeline.ipynb"
click node_bronze "https://github.com/praveenkamkar-prog/university-chapters-data-product/blob/main/Notebook/university_chapter_pipeline.ipynb"
click node_silver "https://github.com/praveenkamkar-prog/university-chapters-data-product/blob/main/Notebook/university_chapter_pipeline.ipynb"
click node_quality "https://github.com/praveenkamkar-prog/university-chapters-data-product/blob/main/Notebook/university_chapter_pipeline.ipynb"
click node_quarantine "https://github.com/praveenkamkar-prog/university-chapters-data-product/blob/main/Notebook/university_chapter_pipeline.ipynb"
click node_valid "https://github.com/praveenkamkar-prog/university-chapters-data-product/blob/main/Notebook/university_chapter_pipeline.ipynb"
click node_audit "https://github.com/praveenkamkar-prog/university-chapters-data-product/blob/main/Notebook/university_chapter_pipeline.ipynb"
click node_gold "https://github.com/praveenkamkar-prog/university-chapters-data-product/blob/main/Notebook/university_chapter_pipeline.ipynb"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_notebook,node_bronze toneBlue
class node_silver toneAmber
class node_quality,node_quarantine,node_valid,node_audit,node_arcgis toneMint
class node_gold toneRose
class node_operator,node_analyst toneIndigo
```

## Components

### Ingestion

- [Pipeline notebook](https://github.com/praveenkamkar-prog/university-chapters-data-product/blob/main/Notebook/university_chapter_pipeline.ipynb): `Notebook/university_chapter_pipeline.ipynb`
- [Bronze raw data](https://github.com/praveenkamkar-prog/university-chapters-data-product/blob/main/Notebook/university_chapter_pipeline.ipynb): `Notebook/university_chapter_pipeline.ipynb`

### Data Processing

- [Silver chapter data](https://github.com/praveenkamkar-prog/university-chapters-data-product/blob/main/Notebook/university_chapter_pipeline.ipynb): `Notebook/university_chapter_pipeline.ipynb`

### Quality and Audit

- [Data quality rules](https://github.com/praveenkamkar-prog/university-chapters-data-product/blob/main/Notebook/university_chapter_pipeline.ipynb): `Notebook/university_chapter_pipeline.ipynb`
- [Quarantine records](https://github.com/praveenkamkar-prog/university-chapters-data-product/blob/main/Notebook/university_chapter_pipeline.ipynb): `Notebook/university_chapter_pipeline.ipynb`
- [Valid Silver records](https://github.com/praveenkamkar-prog/university-chapters-data-product/blob/main/Notebook/university_chapter_pipeline.ipynb): `Notebook/university_chapter_pipeline.ipynb`
- [Audit metrics](https://github.com/praveenkamkar-prog/university-chapters-data-product/blob/main/Notebook/university_chapter_pipeline.ipynb): `Notebook/university_chapter_pipeline.ipynb`

### Published Product

- [Gold data product](https://github.com/praveenkamkar-prog/university-chapters-data-product/blob/main/Notebook/university_chapter_pipeline.ipynb): `Notebook/university_chapter_pipeline.ipynb`

### Other components

- **Pipeline operator**
- **ArcGIS REST API**
- **Analytics consumer**

## Connections

- Pipeline operator → Pipeline notebook: runs (evidence: `README.md`)
- Pipeline notebook → ArcGIS REST API: extracts records (evidence: `README.md`)
- Pipeline notebook → Bronze raw data: writes raw payload (evidence: `README.md`)
- Bronze raw data → Silver chapter data: parses and cleans (evidence: `README.md`)
- Silver chapter data → Data quality rules: checks records (evidence: `README.md`)
- Data quality rules → Quarantine records: routes invalid (evidence: `README.md`)
- Data quality rules → Valid Silver records: retains valid (evidence: `README.md`)
- Valid Silver records → Gold data product: publishes records (evidence: `README.md`)
- Data quality rules → Audit metrics: records outcomes (evidence: `README.md`)
- Gold data product → Analytics consumer: serves analytics (evidence: `README.md`)
