Dataset Viewer
Duplicate
The dataset viewer is not available for this split.
Cannot load the dataset split (in streaming mode) to extract the first rows.
Error code:   StreamingRowsError
Exception:    CastError
Message:      Couldn't cast
built: timestamp[s]
counts: struct<aland: int64, insee: int64, jersey: int64, morocco_hcp: int64, norfolk: int64, pacific: int64 (... 34 chars omitted)
  child 0, aland: int64
  child 1, insee: int64
  child 2, jersey: int64
  child 3, morocco_hcp: int64
  child 4, norfolk: int64
  child 5, pacific: int64
  child 6, taiwan: int64
  child 7, countries: int64
files: list<item: string>
  child 0, item: string
failed: list<item: null>
  child 0, item: null
tiles: string
source: string
places: list<item: struct<iso3: string, name: string, population: int64, aged_65_plus_pct: double, period: t (... 13 chars omitted)
  child 0, item: struct<iso3: string, name: string, population: int64, aged_65_plus_pct: double, period: timestamp[s] (... 1 chars omitted)
      child 0, iso3: string
      child 1, name: string
      child 2, population: int64
      child 3, aged_65_plus_pct: double
      child 4, period: timestamp[s]
url: string
licence: string
publisher: string
to
{'source': Value('string'), 'publisher': Value('string'), 'url': Value('string'), 'licence': Value('string'), 'places': List({'iso3': Value('string'), 'name': Value('string'), 'population': Value('int64'), 'aged_65_plus_pct': Value('float64'), 'period': Value('timestamp[s]')})}
because column names don't match
Traceback:    Traceback (most recent call last):
                File "/src/services/worker/src/worker/utils.py", line 147, in get_rows_or_raise
                  return get_rows(
                      dataset=dataset,
                  ...<4 lines>...
                      column_names=column_names,
                  )
                File "/src/libs/libcommon/src/libcommon/utils.py", line 272, in decorator
                  return func(*args, **kwargs)
                File "/src/services/worker/src/worker/utils.py", line 127, in get_rows
                  rows_plus_one = list(itertools.islice(safe_iter(ds, dataset=dataset), rows_max_number + 1))
                File "/src/services/worker/src/worker/utils.py", line 483, in safe_iter
                  yield from ds.decode(False) if ds.features else ds
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2951, in __iter__
                  for key, example in ex_iterable:
                                      ^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2461, in __iter__
                  for key, pa_table in self._iter_arrow():
                                       ~~~~~~~~~~~~~~~~^^
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2486, in _iter_arrow
                  for key, pa_table in self.ex_iterable._iter_arrow():
                                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 547, in _iter_arrow
                  for key, pa_table in iterator:
                                       ^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 430, in _iter_arrow
                  for key, pa_table in self.generate_tables_fn(**gen_kwags):
                                       ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 343, in _generate_tables
                  self._cast_table(pa_table, json_field_paths=json_field_paths),
                  ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 132, in _cast_table
                  pa_table = table_cast(pa_table, self.info.features.arrow_schema)
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2378, in table_cast
                  return cast_table_to_schema(table, schema)
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2306, in cast_table_to_schema
                  raise CastError(
                  ...<3 lines>...
                  )
              datasets.table.CastError: Couldn't cast
              built: timestamp[s]
              counts: struct<aland: int64, insee: int64, jersey: int64, morocco_hcp: int64, norfolk: int64, pacific: int64 (... 34 chars omitted)
                child 0, aland: int64
                child 1, insee: int64
                child 2, jersey: int64
                child 3, morocco_hcp: int64
                child 4, norfolk: int64
                child 5, pacific: int64
                child 6, taiwan: int64
                child 7, countries: int64
              files: list<item: string>
                child 0, item: string
              failed: list<item: null>
                child 0, item: null
              tiles: string
              source: string
              places: list<item: struct<iso3: string, name: string, population: int64, aged_65_plus_pct: double, period: t (... 13 chars omitted)
                child 0, item: struct<iso3: string, name: string, population: int64, aged_65_plus_pct: double, period: timestamp[s] (... 1 chars omitted)
                    child 0, iso3: string
                    child 1, name: string
                    child 2, population: int64
                    child 3, aged_65_plus_pct: double
                    child 4, period: timestamp[s]
              url: string
              licence: string
              publisher: string
              to
              {'source': Value('string'), 'publisher': Value('string'), 'url': Value('string'), 'licence': Value('string'), 'places': List({'iso3': Value('string'), 'name': Value('string'), 'population': Value('int64'), 'aged_65_plus_pct': Value('float64'), 'period': Value('timestamp[s]')})}
              because column names don't match

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 places

Official population figures for places that the World Bank's API leaves out, each from the place's own statistics office (or the official regional body), rebuilt weekly by AlreadyOpen/world-places. Taiwan, for example, has its own government and population and no World Bank entry at all.

  • index.json: the bake time, the files, and how many places each holds.
  • <source>.json, one per source, never merged, so each keeps its own terms: publisher, url, licence, and places with iso3, name, population, period, and where the source publishes it, aged_65_plus_pct and density_per_km2. A figure a source does not publish is left out, never estimated.
  • countries.pmtiles (bucket and dataset): Natural Earth 1:10m country outlines (public domain) as vector tiles, layer countries, zooms 0-10, every Natural Earth field. Taiwan, Hong Kong and Macau are their own places.
  • manifest.json: sha256 and size of every file, the counts and the sources.
File Places Publisher Terms
taiwan.json Taiwan Ministry of the Interior (Taiwan), Department of Household Registration Open Government Data License
pacific.json Cook Islands, Niue, Wallis and Futuna, Pitcairn Islands Pacific Community (SPC) terms of use
aland.json Åland Statistics and Research Åland (ÅSUB). Källa: ÅSUB CC BY 4.0
norfolk.json Norfolk Island Australian Bureau of Statistics CC BY 4.0
insee.json Saint Pierre and Miquelon, Saint-Barthélemy, Saint-Martin INSEE. Source : Insee Licence Ouverte 2.0
jersey.json Jersey Statistics Jersey Open Government Licence – Jersey v1.0
morocco_hcp.json Laâyoune-Sakia El Hamra, Dakhla-Oued Ed-Dahab (ESH) Haut-Commissariat au Plan (HCP), Morocco. Source : HCP, RGPH 2024 CC BY 4.0 for indicators

Every file here is under an open licence or open terms. Official figures with no open licence (Guernsey, Northern Cyprus, Anguilla, Montserrat, Saint Helena and Tristan da Cunha, Falklands, Vatican, Somaliland) are in a separate dataset, alreadyopen/world-places-nc. Places may carry notes (estimate caveats). morocco_hcp.json gives Morocco's 2024 census legal population for the two Moroccan-administered regions side by side, with scope and status_note ("Status disputed"): Morocco's regional borders do not match the territory of Western Sahara, so they are never summed into a Western Sahara total.

Taiwan's density uses its land area of 36,197 km² (Ministry of the Interior). The 65+ share is computed from each source's single-year age counts. Provided as is, with no warranty, and not endorsed by any of the sources.

Downloads last month
126