How shahedr/data-quality-detective works
Data Quality Detective is a small command-line profiler for CSV and Excel files. An analyst selects a file and, for Excel, a sheet; the CLI loads it, profiles dataset and column quality, then writes a report for review. Profiling includes missing and constant columns, duplicates, mixed numeric/text values, invalid date-like values, and numeric outliers. Reports can be Markdown, HTML, or JSON. The graph follows the sampled CLI and module calls; report-format capabilities are also documented in the README.
Main entry points: cli.py Command-line workflow · profiler.py Dataset profiler · io.py File loader · report.py Report generation
Components 8
Input
- Command-line workflow
dqdetect/cli.py - File loader
dqdetect/io.py
Profiling
- Dataset profiler
dqdetect/profiler.py - Quality checks
dqdetect/checks.py
Reporting
- Report generation
dqdetect/report.py - Markdown, HTML, JSON
Other components
- Analyst
- CSV or Excel
Connections 9
- Analyst → Command-line workflow: runs command
README.md - CSV or Excel → Command-line workflow: selects input
README.md - Command-line workflow → File loader: loads file
dqdetect/cli.py - File loader → Command-line workflow: returns data
dqdetect/cli.py - Command-line workflow → Dataset profiler: profiles data
dqdetect/cli.py - Dataset profiler → Quality checks: runs checks
dqdetect/profiler.py - Dataset profiler → Command-line workflow: returns profile
dqdetect/cli.py - Command-line workflow → Report generation: writes reports
dqdetect/cli.py - Report generation → Markdown, HTML, JSON: writes formats
dqdetect/report.py