Localintel
C 68 completed
Other
containerized / r · small
188
Files
19,179
LOC
2
Frameworks
10
Languages
Pipeline State
completedRun ID
#932236Phase
doneProgress
0%Started
2026-04-15 07:47:57Finished
2026-04-15 07:47:57LLM tokens
0Pipeline Metadata
Stage
CatalogedDecision
proceedNovelty
75.00Framework unique
—Isolation
—Last stage change
2026-05-10 03:35:38Deduplication group #60909
Member of a group with 1 similar repo(s) — this repo is canonical view group →
Repobility analyzer · published findings · https://repobility.com
AI Prompt
Create a comprehensive local intelligence analysis tool, similar to the localintel package. I need a system that can ingest and harmonize subnational indicator data from two sources: Eurostat (for NUTS-2 regions) and DHS (for Admin-1 regions). The workflow must support fetching 200+ indicators, performing universal processing for harmonization, and implementing intelligent data cascading. Crucially, it needs robust gap-filling capabilities, specifically using GAM-based temporal interpolation for DHS time series, and must output publication-ready inequality maps with automatic best-level selection. The core logic should be built using R, potentially leveraging FastAPI for any necessary web components.
r fastapi data-analysis geospatial statistics eurostat dhs gap-filling mapping r-package
Generated by gemma4:latest
Catalog Information
Create a comprehensive local intelligence analysis tool, similar to the localintel package. I need a system that can ingest and harmonize subnational indicator data from two sources: Eurostat (for NUTS-2 regions) and DHS (for Admin-1 regions). The workflow must support fetching 200+ indicators, performing universal processing for harmonization, and implementing intelligent data cascading. Crucially, it needs robust gap-filling capabilities, specifically using GAM-based temporal interpolation for
Tags
r fastapi data-analysis geospatial statistics eurostat dhs gap-filling mapping r-package
Quality Score
C
67.8/100
Structure
65
Code Quality
54
Documentation
58
Testing
85
Practices
71
Security
92
Dependencies
80
Strengths
- CI/CD pipeline configured (github_actions)
- Good test coverage (95% test-to-source ratio)
- Good security practices — no major issues detected
- Containerized deployment (Docker)
- Properly licensed project
Weaknesses
- 1 files with critical complexity need refactoring
- 1071 duplicate lines detected — consider DRY refactoring
- 4 'god files' with >500 LOC need decomposition
Recommendations
- Add a linter configuration to enforce code style consistency
Languages
Frameworks
FastAPI SQLAlchemy
Symbols
variable85
function66
constant22
class7
API Endpoints (32)
| Method | Path | Handler | Framework | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Repobility's GitHub App fixes findings like these · https://github.com/apps/repobility-bot | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GET | / | serve_frontend | FastAPI/Flask | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GET | /api/endpoints | list_endpoints | FastAPI/Flask | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GET | /api/health | health | FastAPI/Flask | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GET | /data-freshness | data_freshness | FastAPI | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GET | /indicators | list_indicators | FastAPI | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GET | /indicators/{code}/map | get_map_data | FastAPI | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GET | /indicators/{code}/timeseries/{geo} | get_timeseries | FastAPI | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GET | /indicators/{code}/years | get_available_years | FastAPI | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GET | /indicators/domains | list_domains | FastAPI | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GET | /inequality/{code}/insights/{admin0} | country_indicator_insights | FastAPI | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GET | /inequality/{code}/map | inequality_map | FastAPI | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GET | /inequality/{code}/ranking | inequality_ranking | FastAPI | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GET | /inequality/{code}/trend | inequality_trend | FastAPI | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GET | /inequality/dashboard | inequality_dashboard | FastAPI | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| POST | /ingest | trigger_ingest | FastAPI | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GET | /insights/alerts | inequality_alerts | FastAPI | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GET | /insights/country/{admin0} | country_spotlight | FastAPI | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GET | /insights/domain/{domain} | domain_summary | FastAPI | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GET | /insights/indicator/{code} | indicator_spotlight | FastAPI | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GET | /insights/outliers/{admin0} | regional_outliers | FastAPI | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GET | /legacy | serve_legacy_frontend | FastAPI/Flask | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| POST | /refresh-dashboard | refresh_dashboard | FastAPI | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| POST | /refresh-metrics | refresh_metrics | FastAPI | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GET | /regions | list_regions | FastAPI | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GET | /regions/countries | list_countries | FastAPI | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GET | /regions/geojson | get_geojson | FastAPI | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GET | /regions/{geo}/profile | region_profile | FastAPI | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GET | /reports/country/{admin0} | country_report | FastAPI | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GET | /reports/export/inequality.csv | export_inequality_csv | FastAPI | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GET | /reports/export/observations.csv | export_observations_csv | FastAPI | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GET | /reports/indicator/{code} | indicator_report | FastAPI | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GET | /status | pipeline_status | FastAPI | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Embed Badge
Add to your README:
About: code-quality intelligence by Repobility · https://repobility.com
BinComp Dependency Hardening
All packages →5 of this repo's dependencies have been scanned for binary hardening. Grade reflects RELRO / stack canary / FORTIFY / PIE coverage.