The dataset viewer is not available for this split.
Error code: FeaturesError
Exception: ArrowInvalid
Message: JSON parse error: Invalid value. in row 0
Traceback: Traceback (most recent call last):
File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 354, in _generate_tables
df = pandas_read_json(f)
File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 38, in pandas_read_json
return pd.read_json(path_or_buf, **kwargs)
~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/pandas/io/json/_json.py", line 815, in read_json
return json_reader.read()
~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.14/site-packages/pandas/io/json/_json.py", line 1014, in read
obj = self._get_object_parser(self.data)
File "/usr/local/lib/python3.14/site-packages/pandas/io/json/_json.py", line 1040, in _get_object_parser
obj = FrameParser(json, **kwargs).parse()
File "/usr/local/lib/python3.14/site-packages/pandas/io/json/_json.py", line 1176, in parse
self._parse()
~~~~~~~~~~~^^
File "/usr/local/lib/python3.14/site-packages/pandas/io/json/_json.py", line 1392, in _parse
ujson_loads(json, precise_float=self.precise_float), dtype=None
~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: Expected object or value
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/src/services/worker/src/worker/job_runners/split/first_rows.py", line 244, in compute_first_rows_from_streaming_response
iterable_dataset = iterable_dataset._resolve_features()
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 4675, in _resolve_features
features = _infer_features_from_batch(self.with_format(None)._head())
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2885, in _head
return next(iter(self.iter(batch_size=n)))
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 3095, in iter
for key, pa_table in ex_iterable.iter_arrow():
~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2600, in _iter_arrow
yield from self.ex_iterable._iter_arrow()
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 577, in _iter_arrow
for key, pa_table in iterator:
^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 459, 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 357, in _generate_tables
raise e
File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 295, in _generate_tables
pa_table = paj.read_json(
io.BytesIO(batch), read_options=paj.ReadOptions(block_size=block_size)
)
File "pyarrow/_json.pyx", line 364, in pyarrow._json.read_json
File "pyarrow/error.pxi", line 155, in pyarrow.lib.pyarrow_internal_check_status
File "pyarrow/error.pxi", line 92, in pyarrow.lib.check_status
raise convert_status(status)
pyarrow.lib.ArrowInvalid: JSON parse error: Invalid value. in row 0Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
Bus networks of 25 cities, as used by route_efficiency's world pilot
The inputs and redesigned feeds of the world pilot of
route_efficiency, a study that measures a
city's bus network from its GTFS feed and searches for a better one with the same buses.
The repository keeps the code, the settings and the results; this dataset keeps the larger
files, exactly as the committed results were made from them. data/world_files.csv in the
repository lists every file here with its size and SHA-256, and
python3 data/fetch_world.py downloads them into place.
Layout
The paths are the repository's:
data/cities/<city>/gtfs.zip: the city's GTFS feed, as its publisher released it.data/cities/<city>/kontur_population_<XX>_20231101.gpkg: Kontur Population (release 2023-11-01, CC BY 4.0) for the city's country, cut to the box of the feed's served stops plus 5 km.data/cities/<city>/osm_education.json,osm_health.json,osm_shopping.json,osm_offices.json,osm_transport.json: places people go, from OpenStreetMap (© OpenStreetMap contributors, ODbL 1.0), cut out of Geofabrik's extracts of 21 Novemberoutput/cities/<city>/redesign/gtfs_today.zipandgtfs_redesign.zip: the network as the model reads it today, and as the search redesigned it, written as GTFS byredesign.py;network.geojson, the same as a map.
Riga's files are in the repository itself. Baku's world-pilot run reads the repository's own feed (Mobility Database mdb-3629), so only the feeds and map its redesign writes are here. In all, 243 files and 351 MB.
Sources and licences
Every feed is under a licence that allows redistribution with credit; the publisher's terms apply to it and to the feeds derived from it here. Where a feed is ODbL, its derived feeds are offered under the ODbL too.
| City | Folder | Publisher | Licence |
|---|---|---|---|
| Gdańsk | data/cities/gdansk/ |
ZTM Gdańsk (Zarząd Transportu Miejskiego w Gdańsku) | CC0 1.0, as the Mobility Database records it |
| Cardiff | data/cities/cardiff/ |
Cardiff Bus | Open Government Licence v3.0 |
| Dublin | data/cities/dublin/ |
Dublin Bus, published by the National Transport Authority (Transport for Ireland) | CC BY 4.0 (data.gov.ie) |
| Palermo | data/cities/palermo/ |
AMAT Palermo S.p.A. and the Comune di Palermo | CC BY 4.0 IT; the tram's data CC BY-SA 4.0 (the portal) |
| Kyiv | data/cities/kyiv/ |
Kyivpastrans (КП «Київпастранс»), Kyiv's municipal operator | CC BY 4.0, as the Mobility Database records it |
| Sofia | data/cities/sofia/ |
Urban Mobility Center, Sofia | CC BY 4.0, under Sofia Municipality's terms for mobility data (order СОА25-РД09-3745 of 3 September 2025) |
| Valencia | data/cities/valencia/ |
EMT València (Empresa Municipal de Transports) | CC BY 4.0 (the portal's metadata) |
| Rennes | data/cities/rennes/ |
STAR, Rennes Métropole's network | ODbL 1.0 |
| Grenoble | data/cities/grenoble/ |
SMMAG, the Grenoble area's TAG network | ODbL 1.0 |
| Jyväskylä | data/cities/jyvaskyla/ |
Linkki, Jyväskylä's network, through Waltti | CC BY 4.0 |
| Halifax | data/cities/halifax/ |
Halifax Transit | Open Government Licence – Halifax |
| Québec City | data/cities/quebec/ |
Réseau de transport de la Capitale (RTC), Québec City | CC BY 4.0 (Données Québec's metadata) |
| Austin | data/cities/austin/ |
Capital Metropolitan Transportation Authority (CapMetro), Austin | CapMetro's Open Data License Agreement, which grants non-exclusive, revocable rights to use, reproduce and redistribute its data |
| Trujillo | data/cities/trujillo/ |
Transportes Metropolitanos de Trujillo's OMUS platform, built from OpenStreetMap by the Trufi Association | GPL-3.0 for the repository; the routes are OpenStreetMap data (ODbL 1.0) |
| Kuala Lumpur | data/cities/kuala_lumpur/ |
Prasarana Malaysia, Rapid Bus KL | CC BY 4.0 (developer.data.gov.my) |
| Penang | data/cities/penang/ |
Prasarana Malaysia, Rapid Penang | CC BY 4.0 (developer.data.gov.my) |
| Melaka | data/cities/melaka/ |
BAS.MY Melaka | CC BY 4.0 (developer.data.gov.my) |
| Sendai | data/cities/sendai/ |
Sendai City Transportation Bureau (仙台市交通局), city buses | CC BY 4.0 |
| Kōchi | data/cities/kochi/ |
Tosaden Kotsu (とさでん交通), regular buses in Kōchi | CC BY 4.0 |
| Christchurch | data/cities/christchurch/ |
Metro, Environment Canterbury | CC BY 4.0 (metroinfo.co.nz, developer resources) |
| Cairns | data/cities/cairns/ |
Translink, Queensland's Department of Transport and Main Roads (Sunbus Cairns) | CC BY 4.0 (data.qld.gov.au) |
| Townsville | data/cities/townsville/ |
Translink, Queensland's Department of Transport and Main Roads (Sunbus Townsville) | CC BY 4.0 (data.qld.gov.au) |
| Addis Ababa | data/cities/addis_ababa/ |
AddisMapTransit, with support from DigitalTransport4Africa: the Anbessa and Sheger city buses, mapped August 2022 to March 2024 | ODbL 1.0 (the folder's README) |
| Accra | data/cities/accra/ |
Accra Mobility, a project of the Accra Metropolitan Assembly and AFD: trotro lines | ODbL 1.0 (the repository's LICENSE) |
Full details, with each file's date and checksum, are in the repository's data/SOURCES.md.
What the numbers mean
Every saving the study reports from these networks is a model estimate: apart from Baku, no city's demand rests on passenger counts, and only buses are modelled. The repository's docs/world.md says what was run and how far to trust it.
- Downloads last month
- 71