How rodrigoaiosa/reclamacaoanatel works
ReclamacaoAnatel is a dashboard for Anatel telecom complaint-service indicators. Its main workflow is a user viewing the dashboard, which requests filtered indicators from the API; the API reads pre-aggregated datasets and returns KPIs, time series, rankings, satisfaction, and regional/service breakdowns. A separate daily update workflow fetches and aggregates new source data for the API. The relationship between dashboard and API, and the scheduled update, are documented in the README; the excerpts show the ETL’s data writes and the API’s reads. The dashboard implementation itself was not sampled.
Main entry points: etl.py Fetch and aggregate · dados.py Filtered data API · index.html Indicators dashboard · por_uf.json.gz Aggregated datasets
Components 11
Data ingestion
- Fetch and aggregate
scripts/etl.py
Published data
- Aggregated datasets
data/por_uf.json.gz - Daily dataset
data/por_dia.json.gz - Update metadata
data/meta.json - Source check status
data/verificacao.json - Update history
logs/atualizacoes.csv
API analytics
- Filtered data API
api/dados.py
Dashboard
- Indicators dashboard
public/index.html
Other components
- Anatel data
- GitHub Actions
- Dashboard user
Connections 13
- GitHub Actions → Fetch and aggregate: runs daily
README.md - Anatel data → Fetch and aggregate: provides ZIP
README.md - Fetch and aggregate → Aggregated datasets: writes aggregates
scripts/etl.py - Fetch and aggregate → Daily dataset: writes daily data
scripts/etl.py - Fetch and aggregate → Update metadata: writes metadata
scripts/etl.py - Fetch and aggregate → Source check status: records checks
scripts/etl.py - Fetch and aggregate → Update history: records runs
scripts/etl.py - Filtered data API → Aggregated datasets: reads aggregates
api/dados.py - Filtered data API → Daily dataset: reads daily data
api/dados.py - Filtered data API → Update metadata: reads metadata
api/dados.py - Filtered data API → Source check status: reads check status
api/dados.py - Dashboard user → Indicators dashboard: views indicators
README.md - Indicators dashboard → Filtered data API: requests filtered data
README.md