Dataset Viewer
The dataset viewer is not available for this dataset.
Unexpected token '<', "<html> <h"... is not valid JSON

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

World Countries Dataset 2026

Structured dataset of 261 countries and territories with population, area, geographic region, coordinates, and ISO codes.

Fields

Column Type Description
name string Country name (English)
slug string URL-friendly identifier
iso_code string ISO 3166-1 alpha-2 code
region string Geographic region (e.g. "Europe", "South America")
population int Total population
area_sq_km int Total area in square kilometers
latitude float Center latitude
longitude float Center longitude
category string "country" or "territory"

Usage

from datasets import load_dataset

ds = load_dataset("bamwor/world-countries")
df = ds["train"].to_pandas()

# Top 10 most populous countries
print(df.nlargest(10, "population")[["name", "population", "region"]])

What's NOT included (available via API)

The free dataset provides basic identification and location data. The following are available through the Bamwor API:

  • 20+ statistics per country (GDP, HDI, life expectancy, literacy, etc.)
  • Multilingual names (English, Spanish, Portuguese, Italian)
  • Multilingual URL slugs
  • Country sections (detailed text descriptions)
  • Resources and external links
  • City data (13.4M cities — see bamwor/world-cities)

Full Data Access

Citation

@misc{bamwor2026countries,
  title={World Countries Dataset 2026},
  author={Bamwor},
  year={2026},
  url={https://bamwor.com},
  note={Aggregated from CIA World Factbook, UN, World Bank}
}
Downloads last month
22