# dummycodertech/adzuna-job-intelligence architecture

> Architecture diagram of the GitHub repository dummycodertech/adzuna-job-intelligence, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-11). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/dummycodertech/adzuna-job-intelligence
- Repository: https://github.com/dummycodertech/adzuna-job-intelligence

## Overview

This is a weekly Adzuna job-market intelligence pipeline for analyst roles in five Indian cities. Its main workflow fetches and parses postings, extracts skills, stores deduplicated records in SQLite, validates data quality, and makes data available to Power BI directly or through CSV exports. The README documents the scheduled runs and dashboard analyses; source excerpts show ingestion, validation, and export behavior. The raw-JSON output directory is described but absent from the supplied tree, so it is not mapped as a repository node.

Main entry points: [`scripts/ingest.py`](https://github.com/dummycodertech/adzuna-job-intelligence/blob/main/scripts/ingest.py) (Ingest pipeline), [`data/jobs.db`](https://github.com/dummycodertech/adzuna-job-intelligence/blob/main/data/jobs.db) (Jobs database), [`scripts/validate.py`](https://github.com/dummycodertech/adzuna-job-intelligence/blob/main/scripts/validate.py) (Quality checks), [`scripts/export_csv.py`](https://github.com/dummycodertech/adzuna-job-intelligence/blob/main/scripts/export_csv.py) (CSV exporter)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_ingest["Ingestion"]
  node_ingest_script["Ingest pipeline<br/>[ingest.py]"]
  node_skill_rules["Skill dictionary<br/>[skills.yml]"]
end

subgraph group_storage["Storage"]
  node_schema["SQLite schema<br/>[schema.sql]"]
  node_database[("Jobs database<br/>[jobs.db]")]
end

subgraph group_quality["Quality"]
  node_run_log["Run metrics<br/>[run_log.csv]"]
  node_validator["Quality checks<br/>[validate.py]"]
  node_validation_log["Validation results<br/>[validation_log.txt]"]
end

subgraph group_presentation["Presentation"]
  node_exporter["CSV exporter<br/>[export_csv.py]"]
  node_postings_csv["Posting export<br/>[postings_flat.csv]"]
  node_skills_csv["Skill counts<br/>[skill_counts.csv]"]
  node_powerbi["Power BI dashboard"]
end

node_analyst(("Job-market analyst"))
node_adzuna{{"Adzuna API"}}
node_weekly(("Weekly trigger"))

node_weekly -.->|"triggers weekly"| node_ingest_script
node_ingest_script -->|"fetches postings"| node_adzuna
node_ingest_script -->|"loads patterns"| node_skill_rules
node_ingest_script -->|"applies schema"| node_schema
node_ingest_script -->|"inserts postings"| node_database
node_ingest_script -->|"records metrics"| node_run_log
node_validator -->|"checks tables"| node_database
node_validator -->|"reads latest run"| node_run_log
node_validator -->|"appends results"| node_validation_log
node_exporter -->|"queries data"| node_database
node_exporter -->|"writes postings"| node_postings_csv
node_exporter -->|"writes skill counts"| node_skills_csv
node_analyst -->|"explores trends"| node_powerbi
node_powerbi -->|"connects directly"| node_database
node_powerbi -->|"loads fallback"| node_postings_csv
node_powerbi -->|"loads fallback"| node_skills_csv

click node_ingest_script "https://github.com/dummycodertech/adzuna-job-intelligence/blob/main/scripts/ingest.py"
click node_skill_rules "https://github.com/dummycodertech/adzuna-job-intelligence/blob/main/config/skills.yml"
click node_schema "https://github.com/dummycodertech/adzuna-job-intelligence/blob/main/scripts/schema.sql"
click node_database "https://github.com/dummycodertech/adzuna-job-intelligence/blob/main/data/jobs.db"
click node_run_log "https://github.com/dummycodertech/adzuna-job-intelligence/blob/main/logs/run_log.csv"
click node_validator "https://github.com/dummycodertech/adzuna-job-intelligence/blob/main/scripts/validate.py"
click node_validation_log "https://github.com/dummycodertech/adzuna-job-intelligence/blob/main/logs/validation_log.txt"
click node_exporter "https://github.com/dummycodertech/adzuna-job-intelligence/blob/main/scripts/export_csv.py"
click node_postings_csv "https://github.com/dummycodertech/adzuna-job-intelligence/blob/main/data/exports/postings_flat.csv"
click node_skills_csv "https://github.com/dummycodertech/adzuna-job-intelligence/blob/main/data/exports/skill_counts.csv"

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_ingest_script,node_skill_rules toneBlue
class node_schema,node_database toneAmber
class node_run_log,node_validator,node_validation_log,node_adzuna toneMint
class node_exporter,node_postings_csv,node_skills_csv,node_powerbi toneRose
class node_analyst,node_weekly toneIndigo
```

## Components

### Ingestion

- [Ingest pipeline](https://github.com/dummycodertech/adzuna-job-intelligence/blob/main/scripts/ingest.py): `scripts/ingest.py`
- [Skill dictionary](https://github.com/dummycodertech/adzuna-job-intelligence/blob/main/config/skills.yml): `config/skills.yml`

### Storage

- [SQLite schema](https://github.com/dummycodertech/adzuna-job-intelligence/blob/main/scripts/schema.sql): `scripts/schema.sql`
- [Jobs database](https://github.com/dummycodertech/adzuna-job-intelligence/blob/main/data/jobs.db): `data/jobs.db`

### Quality

- [Run metrics](https://github.com/dummycodertech/adzuna-job-intelligence/blob/main/logs/run_log.csv): `logs/run_log.csv`
- [Quality checks](https://github.com/dummycodertech/adzuna-job-intelligence/blob/main/scripts/validate.py): `scripts/validate.py`
- [Validation results](https://github.com/dummycodertech/adzuna-job-intelligence/blob/main/logs/validation_log.txt): `logs/validation_log.txt`

### Presentation

- [CSV exporter](https://github.com/dummycodertech/adzuna-job-intelligence/blob/main/scripts/export_csv.py): `scripts/export_csv.py`
- [Posting export](https://github.com/dummycodertech/adzuna-job-intelligence/blob/main/data/exports/postings_flat.csv): `data/exports/postings_flat.csv`
- [Skill counts](https://github.com/dummycodertech/adzuna-job-intelligence/blob/main/data/exports/skill_counts.csv): `data/exports/skill_counts.csv`
- **Power BI dashboard**

### Other components

- **Job-market analyst**
- **Adzuna API**
- **Weekly trigger**

## Connections

- Weekly trigger → Ingest pipeline: triggers weekly (evidence: `README.md`)
- Ingest pipeline → Adzuna API: fetches postings (evidence: `scripts/ingest.py`)
- Ingest pipeline → Skill dictionary: loads patterns (evidence: `scripts/ingest.py`)
- Ingest pipeline → SQLite schema: applies schema (evidence: `scripts/ingest.py`)
- Ingest pipeline → Jobs database: inserts postings (evidence: `scripts/ingest.py`)
- Ingest pipeline → Run metrics: records metrics (evidence: `README.md`)
- Quality checks → Jobs database: checks tables (evidence: `scripts/validate.py`)
- Quality checks → Run metrics: reads latest run (evidence: `scripts/validate.py`)
- Quality checks → Validation results: appends results (evidence: `scripts/validate.py`)
- CSV exporter → Jobs database: queries data (evidence: `scripts/export_csv.py`)
- CSV exporter → Posting export: writes postings (evidence: `scripts/export_csv.py`)
- CSV exporter → Skill counts: writes skill counts (evidence: `scripts/export_csv.py`)
- Job-market analyst → Power BI dashboard: explores trends (evidence: `README.md`)
- Power BI dashboard → Jobs database: connects directly (evidence: `README.md`)
- Power BI dashboard → Posting export: loads fallback (evidence: `README.md`)
- Power BI dashboard → Skill counts: loads fallback (evidence: `README.md`)
