r5py.sampledata.helsinki

Sample data for the r5py module, covering Helsinki city centre


Keywords
accessibility, transport, routing, research
Licenses
CNRI-Python-GPL-Compatible/MIT
Install
pip install r5py.sampledata.helsinki==0.1.2

Documentation

An r5py sample data set that covers the centre of Helsinki

This package contains the following data sets:

r5py.sampledata.helsinki.gtfs

General Transit Feed Specification (GTFS) data representing the public transport schedules, stop locations, lines, etc. The data was created by Helsinki Region Transport (HLS) and obtained from TransitFeeds.com.

This GTFS data set is licensed under CC BY 4.0.

r5py.sampledata.helsinki.osm_pbf

A sample dataset representing OpenStreetMap data in protocolbuffer binary format (PBF), which was obtained from Geofabrik. The data is licensed under the Open Data Commons Open Database License (ODbL).

We used osmium to crop the data to the given extent.

r5py.sampledata.helsinki.population_grid

A sample dataset representing the population of Helsinki. The data is obtained from Helsinki Region Environmental Services (HSY). The data is licensed under CC BY 4.0.

The data is downloaded from the Helsinki Region Environmental Services’ (HSY) Web Feature Service (WFS) endpoint (see the Helsinki Region Infoshare’s data description). We used a script, that we share with this package, to download the data set and adapt it to the requirements of r5py’s documentation. Namely, we:

  • reindexed the data,
  • omitted some columns,
  • renamed the remaining columns from Finnish to English
  • reprojected the data to "EPSG:4326", and
  • extracted centroids from the grid polygons (for the point data set)