JSON Data

48 views
Skip to first unread message

Marshall Brady

unread,
Jan 7, 2021, 5:18:10 AM1/7/21
to openmundi
Any reason you don't use the json data already available on the site? 

https://www.cia.gov/the-world-factbook/geos/ag.json

Gerald Bauer

unread,
Jan 7, 2021, 5:23:42 AM1/7/21
to openmundi, Marshall Brady
Hello,

> Any reason you don't use the json data already available on the site?
>
> https://www.cia.gov/the-world-factbook/geos/ag.json

Ha. Good point. Some years back when I looked into getting a json
dataset there was no such official thing avaible at the CIA website.

Great news. I wasn't expecting that :-). Do you have any more
information or documentation about the json country profile datasets?
Is this now official and announced / published anywhere?

Thanks again. Cheers. Prosit 2021!

Marshall Brady

unread,
Jan 9, 2021, 9:29:00 AM1/9/21
to Gerald Bauer, openmundi
Before the site changed, you could put .json on any of the pages to get the json version of the page.

It looks like you can still use these links too.

https://www.cia.gov/the-world-factbook/fields/279.json

Gerald Bauer

unread,
Jan 11, 2021, 3:42:38 PM1/11/21
to Marshall Brady, openmundi
Hello,
thanks for the update. I try update the code machinery [1] over
the next weeks to work with the new format (and radical redesign).
Looks like a web scraper is no longer needed. Thanks! Prosit 2021!
Cheers.

[1] https://github.com/factbook/factbook
Reply all
Reply to author
Forward
0 new messages