kooroshkz/Dollar-Rial-Toman-Live-Price-Dataset
Daily updated dataset of US Dollar to Iranian Rial and Toman exchange rates (USD to IRR/IRT). Historical and live prices from 2011 to now, handy for finance analysis, forecasting, and machine learning. دیتاست قیمتی بهروز دلار به ریال/تومان با دادههای تاریخی و لحظهای از سال ۲۰۱۱ تا امروز برای تحلیل مالی، پیشبینی و یادگیری ماشین.
What's novel
Daily updated dataset of US Dollar to Iranian Rial and Toman exchange rates (USD to IRR/IRT). Historical and live prices from 2011 to now, handy for finance analysis, forecasting, and machine learning. دیتاست قیمتی بهروز دلار به ریال/تومان با دادههای تاریخی و لحظهای از سال ۲۰۱۱ تا امروز برای تحلیل مالی، پیشبینی و یادگیری ماشین.
Code Analysis
10 files read · 3 roundsA Selenium-based web scraper that extracts daily USD/IRR exchange rates from TGJU.org, stores them in a CSV with duplicate prevention, and auto-updates via GitHub Actions with optional Kaggle sync.
Strengths
Clean separation of concerns across scraper, data manager, and config modules, with a well-structured GitHub Actions pipeline that handles incremental updates, change detection, and multi-platform publishing. The code is readable, well-documented, and handles the core scraping workflow competently.
Weaknesses
No tests whatsoever, several unused dependencies and config constants (MAX_RETRIES, beautifulsoup4, requests), and the scraper relies on fragile CSS selectors and time.sleep() rather than robust wait strategies. The data itself shows inconsistencies (Persian dates that don't align with Gregorian dates, dash values for weekends) that the validation logic doesn't catch.
Score Breakdown
Signal breakdown
Innovation
Craft
Traction
Scope
Evidence
Commits
246
Contributors
3
Files
23
Active weeks
33
Repository
Language
Python
Stars
1
Forks
0
License
MIT