factbook / factbook Goto Github PK
View Code? Open in Web Editor NEWfactbook gem - scripts for the world factbook (get open structured data e.g JSON etc.)
License: Creative Commons Zero v1.0 Universal
factbook gem - scripts for the world factbook (get open structured data e.g JSON etc.)
License: Creative Commons Zero v1.0 Universal
Hello,
You probably have noticed this, but I just wanted to highlight it if you haven't, that the automatic update for January 15th failed to build properly. Hopefully it's a quick fix :)
Hi @geraldb
as the title of this issue reads. The update GitHub Actions workflow fails on ek.json
==> [55/260] ek Equatorial Guinea / Africa -- Countries:
sleep 0.5 sec(s)...
GET https://www.cia.gov/the-world-factbook/geos/ek.json...
Error: Process completed with exit code 1.
The url https://www.cia.gov/the-world-factbook/geos/ek.json
throws the error code 404.
I'll add further insights on this in the comments below.
Regards, Jean-Luc
This is a nice gem EXCEPT, that there are so many debug type statements everywhere, that it is hard to use this for any kind of meaningful way.
Either there should be a top level attribute to turn all of them on or off. Or print all debug type statements to stderr.
This way it would be very useful.
Thanks.
Hi @geraldb,
the GitHub Actions workflow of this repo is inactive:
I'd be very grateful if you could make a little commit to re-activate the workflow.
Hope your doing well.
Regards,
Jean-Luc
Hi @geraldb,
New year, new issues. Looks like the ruby
version needs to be upgraded to keep the workflow running.
The following errors has been reported in yesterday's run of the GitHub Actions workflow.
Building native extensions. This could take a while...
ERROR: Error installing nokogiri:
The last version of nokogiri (>= 0) to support your Ruby & RubyGems was 1.13.10. Try installing it with `gem install nokogiri -v 1.13.10`
nokogiri requires Ruby version >= 2.7, < 3.3.dev. The current ruby version is 2.6.10.210.
Successfully installed racc-1.6.2
Error: Process completed with exit code 1.
Hope you might have the time to look into that.
Cheers, Prost ๐ป
Jean-Luc
There seem to be a dirty percentage in Labor Force - by occupation json data for country Tonga.
Here is a screenshot:
And here is the json row:
https://github.com/factbook/factbook.json/blob/ae3482cc89cf3ce0c131c31f7b09b866d8069eb1/australia-oceania/tn.json#L707
The percentage 2,006% seems to be wrong, both in agriculture
and services
field.
Hope this issue will be useful, thank you!
As shown in this press article , CIA factbook geographic coordinates can accidentally point to actual homes, leading to problems when people do imprecise location lookups on websites using CIA factbook data in their GIS.
It would be helpful if data read from CIA factbook can be overridden by a default value, only for those few cases where this may be an issue. Geographical coordinates would better point to a nearby river, lake, or that country's parliament building, for example.
Either that, or convincing the CIA to change their factbook. I think doing it here is probably easier :) I am unfortunately not familiar with Ruby so can't contribute a pull request...
Thanks for this!
There is extra text in the Laos country name: https://github.com/factbook/factbook.json/blob/4c279ceb09f7a87188d38027dbf2fb72531dd92f/east-n-southeast-asia/la.json#L490
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.