cia

cia factbook

the world factbook, also known as the cia world factbook, is a reference resource produced by the central intelligence agency (cia) with almanac-style information about the countries of the world. the official print version is available from the government printing office. other companies—such as skyhorse publishing—also print a paper edition. the factbook is available in the form of a website that is partially updated every week. it is also available for download for use off-line. it provides a two- to three-page summary of the demographics, geography, communications, government, economy, and military of each of 267 international entities including u.s recognized countries, dependencies, and other areas in the world. the world factbook is prepared by the cia for the use of u.s. government officials, and its style, format, coverage, and content are primarily designed to meet their requirements. however, it is frequently used as a resource for academic research papers and news articles. as a work of the u.s. government, it is in the public domain in the united states.

about

during the manipulation process, whole 66 columns of raw data provided by cia were all combined together under one .csv to make your use of the data easier. the columns and the include in the .csv file is as following:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
broadband_fixed_subscriptions.csv
budget_surplus_deficit.csv
carbon_dioxide_emissions_from_consumption_of_energy.csv
country_comparison_airports.csv
country_comparison_area.csv
country_comparison_birth_rate.csv
country_comparison_children_under_the_age_of_5_years_underweight.csv
country_comparison_death_rate.csv
country_comparison_education_expenditures.csv
country_comparison_hiv_aids_adult_prevalence_rate.csv
country_comparison_hiv_aids_deaths.csv
country_comparison_hiv_aids_people_living_with_hiv_aids.csv
country_comparison_infant_mortality_rate.csv
country_comparison_life_expectancy_at_birth.csv
country_comparison_maternal_mortality_rate.csv
country_comparison_median_age.csv
country_comparison_merchant_marine.csv
country_comparison_military_expenditures.csv
country_comparison_net_migration_rate.csv
country_comparison_obesity_adult_prevalence_rate.csv
country_comparison_population.csv
country_comparison_population_growth_rate.csv
country_comparison_railways.csv
country_comparison_roadways.csv
country_comparison_total_fertility_rate.csv
country_comparison_unemployment_youth_ages_15_24.csv
country_comparison_waterways.csv
crude_oil_exports.csv
crude_oil_imports.csv
crude_oil_production.csv
crude_oil_proved_reserves.csv
current_account_balance.csv
debt_external.csv
electricity_consumption.csv
electricity_exports.csv
electricity_from_fossil_fuels.csv
electricity_from_hydroelectric_plants.csv
electricity_from_nuclear_fuels.csv
electricity_from_other_renewable_sources.csv
electricity_imports.csv
electricity_installed_generating_capacity.csv
electricity_production.csv
exports.csv
gdp_per_capita.csv
gdp_real_growth_rate.csv
gross_national_saving.csv
imports.csv
industrial_production_growth_rate.csv
inflation_rate.csv
internet_users.csv
labor_force.csv
natural_gas_consumption.csv
natural_gas_exports.csv
natural_gas_imports.csv
natural_gas_production.csv
natural_gas_proved_reserves.csv
public_debt.csv
refined_petroleum_products_consumption.csv
refined_petroleum_products_exports.csv
refined_petroleum_products_imports.csv
refined_petroleum_products_production.csv
reserves_of_foreign_exchange_and_gold.csv
taxes_and_other_revenues.csv
telephones_fixed_lines.csv
telephones_mobile_cellular.csv
unemployment_rate.csv

you can access the regarding file by clicking here.

api

at the same time, you can also use the api of the data, which is hosted on heroku. you can visit https://cia-factbook.herokuapp.com/ or click here to visit the api page and use it. for the api docs, please click here.

datawrapper format

meanwhile, as datawrapper has its own list of countries to color, a script was written to convert each of the dataset of each column to that format for easier use also. you can visit the link of the list of the datawrapper accepted format by clicking here.

acknowledgements

the cia is for sure deserves all of the appreciation. gathering this much data and most importantly making it public to everyone is whole another level. deep respect and appreciation go to the cia.

inspiration

every data scientist is different. what makes them different is each unique and special view that have on the provided datasets. currently, provided data will be visualized and analyzed by a team of two including deployment. however, please, as much as you can, also put your effort into it to make an even more unique analysis at the end.

kaggle

feel free to visit the kaggle page of the dataset and upvote if you wish to!