CIA World Factbook

From Pardee Wiki
Jump to navigation Jump to search

Summary

United States Central Intelligence Agency (CIA):  The World Factbook

The CIA’s Directorate of Intelligence produces the World Factbook, which is available online and in print. The Factbook has gathered a comprehensive resource of facts and statistics on more than 250 countries and other entities. The annual printed version of the Factbook is usually released about midyear. Earlier the online version was updated once annually.  Since 2001, however, CIA arranged for more frequent updates to accommodate recently available information. The site address for the CIA Factbook is https://www.cia.gov/the-world-factbook/.

The Factbook organizes data for each country or territory in these categories:  geography, people, government,   economy,   communications, transportation,   military transnational issues. The World Factbook online version adds seven new entries, namely, median age, oil production, oil consumption, oil exports, oil imports, oil reserves. The web site version features four additional entries: natural gas production, natural gas consumption, natural gas exports, andnatural gas imports. An update for several regional maps also has been made to reflect recent boundary changes.

Tables In IFs

Table Definition Last IFs Update UsedInPreprocessor UsedInPreprocessorFileName
SeriesEthnic1 Size of largest ethnic group as percent of population 2024/10/03 1 SOCIOPOL
SeriesEthnic2 Size of second largest ethnic group as percent of population 2024/10/03 1 SOCIOPOL
SeriesGDP2000PCPPP GDP per capita (constant 2000 PPP International $) 2012/02/24 1 SOCIOPOL
SeriesGDP2000PPP GDP (PPP) 2003/07 0
SeriesGDP2002PPP GDP (PPP) 2004/01 0
SeriesGDP2003PPP GDP (PPP) 2004/07 1 SOCIOPOL
SeriesGDP98PPP GDP (PPP)
0

Data Pulling Instructions

Go to https://www.cia.gov/the-world-factbook/field/ethnic-groups/ to get the largest and second largest ethnic groups as percent of population and the estimated years.

Image CIA 1.png

Data Notes

Be really care of the following situations:

  • If you use the python scraper to get the values, please double-checking the values with the website. For example, the first numeric value is not the largest ethnic group in UAE.
Image cia 2.png
  • If there is country having estimated years within a time range, assign the same values for both years. Take Cambodia as an example below, we will have the same values for Ethnic1 and Ethnic2 for both 2019 and 2020.
Image cia 6.png
  • If there is country having values for the largest and second largest ethnic groups as percent of population without the the estimated years, then use the current update year. Take Saudi Arabia as an example below, the estimated year is 2024.
Image cia 4.png
  • For South Korea, we manually assign 100 to Ethnic1.
Image cia 7.png


After double-checking, we blend the new data with the old data in IFsHistSeries.

If we have different values for the same year from new data and the data in IFsHistSeries, then we use the new values to replace the values in IFsHistSeries. For example, the 'val' column will be the final value for Ethnic2.

Image cia 3.png

Once the new data blended in and added, we have Ethhic1 with years in 2000-2003, 2006-2007, 2009-2024, and Ethnic2 with years in 1997, 2000-2003, 2006-2007, 2009-2024.