Localintel

C 68 completed
Other
containerized / r · small
188
Files
19,179
LOC
2
Frameworks
10
Languages

Pipeline State

completed
Run ID
#932236
Phase
done
Progress
0%
Started
2026-04-15 07:47:57
Finished
2026-04-15 07:47:57
LLM tokens
0

Pipeline Metadata

Stage
Cataloged
Decision
proceed
Novelty
75.00
Framework unique
Isolation
Last stage change
2026-05-10 03:35:38
Deduplication 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

r
48.4%
python
24.8%
html
8.5%
markdown
6.6%
javascript
3.8%
yaml
2.9%
text
2.5%
css
1.7%
shell
0.6%
json
0.1%

Frameworks

FastAPI SQLAlchemy

Symbols

variable85
function66
constant22
class7

API Endpoints (32)

Open methodology · Repobility · https://repobility.com/research/
MethodPathHandlerFramework
Repobility's GitHub App fixes findings like these · https://github.com/apps/repobility-bot
GET/serve_frontendFastAPI/Flask
GET/api/endpointslist_endpointsFastAPI/Flask
GET/api/healthhealthFastAPI/Flask
GET/data-freshnessdata_freshnessFastAPI
GET/indicatorslist_indicatorsFastAPI
GET/indicators/{code}/mapget_map_dataFastAPI
GET/indicators/{code}/timeseries/{geo}get_timeseriesFastAPI
GET/indicators/{code}/yearsget_available_yearsFastAPI
GET/indicators/domainslist_domainsFastAPI
GET/inequality/{code}/insights/{admin0}country_indicator_insightsFastAPI
GET/inequality/{code}/mapinequality_mapFastAPI
GET/inequality/{code}/rankinginequality_rankingFastAPI
GET/inequality/{code}/trendinequality_trendFastAPI
GET/inequality/dashboardinequality_dashboardFastAPI
POST/ingesttrigger_ingestFastAPI
GET/insights/alertsinequality_alertsFastAPI
GET/insights/country/{admin0}country_spotlightFastAPI
GET/insights/domain/{domain}domain_summaryFastAPI
GET/insights/indicator/{code}indicator_spotlightFastAPI
GET/insights/outliers/{admin0}regional_outliersFastAPI
GET/legacyserve_legacy_frontendFastAPI/Flask
POST/refresh-dashboardrefresh_dashboardFastAPI
POST/refresh-metricsrefresh_metricsFastAPI
GET/regionslist_regionsFastAPI
GET/regions/countrieslist_countriesFastAPI
GET/regions/geojsonget_geojsonFastAPI
GET/regions/{geo}/profileregion_profileFastAPI
GET/reports/country/{admin0}country_reportFastAPI
GET/reports/export/inequality.csvexport_inequality_csvFastAPI
GET/reports/export/observations.csvexport_observations_csvFastAPI
GET/reports/indicator/{code}indicator_reportFastAPI
GET/statuspipeline_statusFastAPI

Quality Timeline

1 quality score recorded.

View File Metrics

Embed Badge

Add to your README:

![Quality](https://repos.aljefra.com/badge/630007.svg)
Quality BadgeSecurity Badge
Export Quality CSVDownload SBOMExport Findings CSV
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.
Nasyncio4.0.0 · 0 gadgets · risk 0.0Nfastapi0.135.3 · 0 gadgets · risk 0.0Fnumpy2.4.4 · 6,596 gadgets · risk 0.0Fpandas3.0.2 · 6,381 gadgets · risk 0.0Fsqlalchemy2.0.49 · 376 gadgets · risk 0.0