Show HN: CIA World Factbook Archive (1990–2025), searchable and exportable (opens in a new tab)cia-factbook-archive.fly.dev
496 pointsA structured archive of CIA World Factbook data spanning 1990–2025.
It currently includes:
36 editions
281 entities
~1.06M parsed fields
full-text + boolean search
country/year comparisons
map/trend/ranking analysis views
CSV/XLSX/PDF export
The goal is to preserve long-horizon public-domain government data and make cross-year analysis practical.
Live: https://cia-factbook-archive.fly.dev
About/method details: https://cia-factbook-archive.fly.dev/about
Data source is the CIA World Factbook (public domain).
Not affiliated with the CIA or U.S. Government.
Comments (99) 33 threads
Show all comments
Showing thread 3 of 33
[1] https://cia-factbook-archive.fly.dev/archive/2002
[2] https://cia-factbook-archive.fly.dev/archive/2002/GM
Root cause: CIA uses FIPS codes (CanonicalCode), which differ from ISO Alpha-2 for many countries. Templates and SQL queries prioritized CanonicalCode over ISOAlpha2, so URL codes like /archive/2025/AU matched the wrong country.
Australia (AU) -> American Samoa (AS = CIA FIPS for Australia) Singapore (SG) -> Senegal (SG = CIA FIPS for Senegal) Germany (DE) -> Gambia (GM = CIA FIPS for Germany)
This is a good example of the importance of strong toping patterns. The GDP of Germany just tanked, we didn’t lose a mars climate orbiter this time. :)
Continue this thread — 2 replies