Country Info: How It Works
Country reference data — population, capital, currency, languages, area, calling code — is the sort of thing everyone assumes is settled and standardised. A surprising amount of it is neither, and knowing where the ambiguity lies prevents a lot of misplaced confidence.
What a country profile contains
| Field | Note |
|---|---|
| Official and common name | Often differ substantially |
| ISO codes | Two-letter, three-letter and numeric |
| Capital | Several countries have more than one |
| Population | Estimates between censuses; dates vary |
| Area | Whether inland water is included differs |
| Currency | Some countries use another's |
| Languages | Official status is not the same as usage |
| Calling code | Some are shared between countries |
The ISO codes
ISO 3166-1 defines three parallel code sets: alpha-2 (IN, GB), alpha-3 (IND, GBR) and numeric (356, 826). Alpha-2 is what appears in domain names and locale strings; alpha-3 is more readable and less prone to collision; numeric survives script and language changes and is used where text encoding is a concern.
Two persistent traps: UK is not the official code for the United Kingdom — that is GB, though .uk is the domain — and EU is a reserved code rather than a country.
Capitals are not always singular
South Africa has three: Pretoria for the executive, Cape Town for the legislature, Bloemfontein for the judiciary. Bolivia has a constitutional capital and a seat of government in different cities. Several countries have relocated their capital in recent decades, and a few are in the process of doing so. A dataset showing one capital is making an editorial choice.
Population figures are estimates
Most countries conduct a census every five or ten years; figures between censuses are projections from birth, death and migration data. Different sources use different base years and different projection methods, so two reputable datasets can differ by millions for a large country. Always note the reference year alongside a figure — a population quoted without a date is not very useful.
Currency and language are more complicated than a single value
Several countries use a currency they do not issue, some accept two in circulation, and a few peg so tightly that both are used interchangeably. Language is similarly layered: a country may have several official languages nationally, others official only regionally, and a majority language with no official status at all. A single-value field flattens all of it.
How many countries are there?
There is no single answer. The United Nations has 193 member states plus 2 observer states. Some territories are recognised by many countries and not by others, some are self-governing but not sovereign, and several have disputed status. Any dataset's count reflects a set of political judgements, and different reputable sources legitimately give different totals.