尚未偵測到更新。GitHub 發布版本後會顯示在這裡。
個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
在專案資料夾中執行 /nomorevibe verify,即可驗證所有權並自行管理介紹。
一分鐘完成驗證製作者的介紹僅有上面的一句話。 更多詳情請閱讀儲存庫 README。 儲存庫 README ↗
正在載入完整 README。
檢視完整 README ↗Public-sector data analytics engine — from messy public files to decisions you can defend. Web app + public REST API that runs the full analytics lifecycle on government data: ingest → profile → guided cleaning → SQL modeling → machine learning → executive dashboard and report. UI in English and Spanish; input data in English, French or Spanish.
🚧 Status: Phase 0 — scaffold. See
docs/ROADMAP.mdfor the 25-day plan.
Public data arrives fragmented, multilingual and dirty, and executive reporting is often manual. CivicLens shows — step by step — how to turn it into reliable KPIs and decision support, and lets agencies repeat the same pipeline every month through an API.
| Layer | Choice |
|---|---|
| Web | Next.js 14 · TypeScript · Tailwind · next-intl (EN/ES) · Vercel |
| API | FastAPI · Python 3.11 · Docker · Render |
| Analytics | DuckDB + Parquet · pandas |
| App data | PostgreSQL (Neon) |
| ML | scikit-learn · statsmodels · SHAP |
| CI/CD | GitHub Actions |
cp .env.example .env
docker compose up --build
# web → http://localhost:3000 (redirects to /en or /es)
# api → http://localhost:8000/health docs → http://localhost:8000/docs
Without Docker:
# API
cd apps/api && python -m venv .venv && . .venv/bin/activate && pip install -e ".[dev]"
uvicorn app.main:app --reload
# Web
cd apps/web && npm install && npm run dev
apps/web Next.js app (UI, i18n catalogs in messages/en.json and messages/es.json)
apps/api FastAPI service (analytics engine + public API)
data/seed Frozen public datasets + dataset cards
docs/ Spec, roadmap, ADRs, glossary
scripts/ Tooling (i18n catalog check, seed loading)
Ruff + pytest with coverage (API) · ESLint + typecheck + build (web) · EN/ES catalog parity · gitleaks secret scan · Docker build.
CivicLens es un motor de analítica para datos públicos: carga archivos en inglés, francés o español, enseña a limpiarlos, los modela en SQL, aplica modelos de machine learning explicables y genera el reporte ejecutivo. La interfaz está disponible en inglés y español, y todo el proceso se puede automatizar mediante una API para entidades públicas.
María Alejandra Boada Rodríguez — Data Analyst · Software Engineer
MIT. Dataset licenses and attribution are listed in data/seed/README.md.