# Final Record

## Version
1.6 — 01/09/2026

---

## Date
01/09/2026

## Python file
`ainsight2.py`

## Final features
- Flask dashboard for comparing up to three countries.
- Consumption of the World Bank Open Data API.
- Six indicators available:
  - GDP
  - GDP per capita
  - Population
  - Unemployment
  - Intentional homicides per 100,000 inhabitants
  - Physicians per 100,000 inhabitants
- Historical comparative charts.

## Final signature
Source: World Bank Open Data · Public API · Python — Developed by Andre Rodrigues. About developer: https://linktr.ee/andrerodrigues1

## v1.6 changes (01/09/2026)
- Renamed to "Andre Russ API Insight".
- Gini indicator is now a bar chart showing the most recent value per country.
- Country dropdowns highlight (light blue) countries without Gini data.
- Fixed a latent version-loading bug (APP_VERSION defined before use).
- Fixed a chart-sync bug: unemployment/homicide charts now refresh on every comparison (destroy before recreate).
- Added a new "GDP per capita — historical comparison" chart (the per-capita KPI stays on each card, unchanged).

## v1.7 changes (01/09/2026)
- Added a THIRD data source: OECD (SDMX). Pilot KPI: R&D spending as % of GDP (GERD, MSTI dataset).
- Each country card now shows the OECD R&D/GDP value (or "no data" for non-OECD countries such as Brazil), labelled Source · OECD.
- Backend maps ISO-2 to ISO-3 (from the World Bank list) to query the OECD API.
- Bumped to v1.7; asset cache-busting now follows the version.

## v1.8 changes (01/09/2026)
- Added two World Bank indicators, each with its own historical comparison chart:
  - Current health expenditure (% of GDP) — SH.XPD.CHEX.GD.ZS (broad global coverage).
  - Tax revenue (% of GDP), central government — GC.TAX.TOTL.GD.ZS.
- Both values also shown on each country card (source: World Bank).
- Bumped to v1.8.

## v1.9 changes (01/09/2026)
- Tax indicator switched from World Bank (central government, ~15% for Brazil) to the
  OECD Global Revenue Statistics — TOTAL tax-to-GDP, general government incl. social
  security (Brazil ~33.7%). Dataset DSD_REV_COMP_GLOBAL, ~146 countries.
- Card KPI and the tax history chart now both use the OECD full tax burden.
- Bumped to v1.9.

- **Rename (2026-09-03)** — Site renamed to "Andre R. API Insight - Economic Pan".
