2

I want to build a file with all the data of the different presidents of a country. Is there a defined JSON format to represent this data?

For example:

{
    name: "President A",
    Assumed: '01-01-2014',
    ...
}

closed as unclear what you're asking by Patrick Hoefler Mar 30 '15 at 11:21

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • 1
    One president per country? Or do you want previous presidents too? What info do you NEED to store about each president? (for instance I see "Assumed" in your example) – Nicolas Raoul Mar 20 '15 at 9:03
  • Another important question: What do you actually intend to do with the data? Will it be used by an application? Do you want to share it? – Patrick Hoefler Mar 20 '15 at 14:02
  • 3
    Are you looking for an Ontology? – philshem Mar 21 '15 at 6:36
  • I want to store all the presidents of a country, the data that I want to store is the Wikipedia data that appear in the right column. – McSas Mar 23 '15 at 13:08
  • 1
    @McSas - Ontologies aren't my thing. Please edit your question to make it clear what you are looking for, and then you are more likely to get a good answer. – philshem Mar 25 '15 at 7:23
0

The following has the data you want, but in an HTML table format. You will need to parse it out of the tables.

https://www.cia.gov/library/publications/the-world-factbook/fields/2077.html

  • 2
    I think that McSas is asking about how to write/organize the data in a file. This is not a data-request, I suspect McSas already has the data, probably from the source you mention or from Wikipedia. – Nicolas Raoul Mar 25 '15 at 3:29

Not the answer you're looking for? Browse other questions tagged or ask your own question.