Cool project. The world population seems to be double counted. I think https://cia-factbook-archive.fly.dev/analysis/trends
Show HN: CIA World Factbook Archive (1990–2025), searchable and exportable
51–60 of 106 posts
Re: Show HN: CIA World Factbook Archive (1990–2025), searchable and exportable
#52There is a bug in the time series charts. Data needs to be normalized prior to charting. For example: https://cia-factbook-archive.fly.dev/archive/field/IN/Broadb...
2018: total: 17,856,024 → parses as 17856024 (correct raw count) 2020: total: 18.17 million → parses as 18.17 (WRONG - drops "million") 2025: total: 39.3 million → parses as 39.3 (WRONG) So the chart jumps from ~18 million down to ~18, making it wrong. The fix is to handle "million/billion/trillion" after total.
Just deployed a new bug fix.
Thanks for bringing this to my attention!
Re: Show HN: CIA World Factbook Archive (1990–2025), searchable and exportable
#53Just an incredible service. Really appreciate that you put all of your backend work into the open.
Re: Show HN: CIA World Factbook Archive (1990–2025), searchable and exportable
#54"A cache for datasets for the country profiles from the World Factbook in the original (1:1) format from the cia.gov website"
Re: Show HN: CIA World Factbook Archive (1990–2025), searchable and exportable
#55Re: Show HN: CIA World Factbook Archive (1990–2025), searchable and exportable
#56I like the timeline feature. Maybe I need to spend more time, but to see political changes / borders / etc. would all be great! Keep up the good work.
Re: Show HN: CIA World Factbook Archive (1990–2025), searchable and exportable
#57Earlier quoted context omitted.
Hey there, will add the feature. Wasn't sure if people's computers could handle it all in one, lol, but will make it available in the data export page.
Not all. But some may. And in case you were shut down someone else can continue and one day it may be resurfaced perhaps even in USA.
Re: Show HN: CIA World Factbook Archive (1990–2025), searchable and exportable
#58Kudos! I was working on doing this as well, so it's nice to see it already done.
Re: Show HN: CIA World Factbook Archive (1990–2025), searchable and exportable
#59There is a github of the factbook for anyone that just wants JSON or markdown files:=> https://github.com/factbook "A cache for datasets for the country profiles from the World Factbook in the original (1:1) format from the cia.gov website" https://github.com/factbook/cache.factbook.json
Re: Show HN: CIA World Factbook Archive (1990–2025), searchable and exportable
#60One small bug though: https://cia-factbook-archive.fly.dev/analysis/compare?a=IN&b...
.. The second dropdown switches to "Comoros" instead of "China" even after selection, though URL says CN for China.