Package 'jprailway'

Title: Dataset of Japanese Railway
Description: Provides an extended dataset of Japanese railway revised from <https://github.com/Seo-4d696b75/station_database>. The original dataset is sourced from <https://www.ekidata.jp/>, the digital national land information download site, or other resources, and licensed under 'CC BY 4.0' <https://creativecommons.org/licenses/by/4.0/>.
Authors: Akiru Kato [aut, cre]
Maintainer: Akiru Kato <[email protected]>
License: CC BY 4.0
Version: 2024.08.31
Built: 2024-10-30 05:30:51 UTC
Source: https://github.com/paithiov909/jprailway

Help Index


List of railway lines

Description

A list of railway lines from 'extra/json.zip' in Seo-4d696b75/station_database. The original data is here.

Usage

lines

Format

A tibble with 13 variables:

code

A value that uniquely distinguishes lines in the dataset. Unlike line IDs, it does not guarantee consistency between different versions of the dataset.

id

A string that uniquely distinguishes lines in the dataset. Unlike line codes, it ensures consistency between different versions of datasets (the IDs of the same lines be always the same IDs even if in different datasets).

name

Name of lines. A suffix may be added to prevent duplications.

name_kana

Hiragana representation of line names.

name_formal

The original names of lines.

station_size

How many stations does the line have?

station_list

A list of tibbles with 2 variables; code (station codes that the line is passing through) and name (their names).

company_code

Company (company codes) that ownes the line.

color

Image color of the line.

symbol

The symbol string of the line.

closed

Whether the line was closed or not?

closed_date

Date when the line was closed.

extra

Whether or not the line is implemented in the 'Ekimemo!' game app?


Polylines of Japanese railway

Description

Polylines from 'extra/json.zip' in Seo-4d696b75/station_database. The original data is here.

Usage

polylines

Format

A simple feature collection with 9 fields:

code

A value that uniquely distinguishes lines in the dataset. Unlike line IDs, it does not guarantee consistency between different versions of the dataset.

id

A string that uniquely distinguishes lines in the dataset. Unlike line codes, it ensures consistency between different versions of datasets (the IDs of the same lines be always the same IDs even if in different datasets).

start

Location where the polyline starts.

end

Location where the polyline ends.

name

Name of lines. A suffix may be added to prevent duplications.

north

North edge of the polyline (latitude).

south

South edge of the polyline (latitude).

east

East edge of the polyline (longitude).

west

West edge of the polyline (longitude).


List of railway stations

Description

A list of railway stations from 'extra/json.zip' in Seo-4d696b75/station_database. The original data is here.

Usage

stations

Format

A simple feature collection with 17 fields:

code

A value that uniquely distinguishes stations in the dataset. Unlike station IDs, it does not guarantee consistency between different versions of the dataset.

id

A string that uniquely distinguishes stations in the dataset. Unlike station codes, it ensures consistency between different versions of datasets (the IDs of the same stations be always the same IDs even if in different datasets).

name

Name of stations. A suffix may be added to prevent duplications.

original_name

Station name as indicated by each company.

name_kana

Hiragana representation of station names.

closed

Whether the station was closed or not?

lat

Station coordinates (latitude).

lng

Station coordinates (longitude).

prefecture

JIS code of the prefecture where the station is located.

postal_code

Zip code of the station's location.

address

Address of the station's location.

open_date

Date when the station was opened.

closed_date

Date when the station was closed.

extra

Whether or not the station is implemented in the 'Ekimemo!' game app?

attr

Station attribute in the 'Ekimemo!' game app.

lines

List of line codes passing through the station.

delaunay

List of the neighboring points (station codes) obtained by Delaunay partitioning.