Skip to contents

Spatial point locations for São Paulo metro (METRO SP) and commuter train (CPTM) stations, including both currently operating stations and planned future stations.

Usage

rail_stations

Format

An sf data frame with POINT geometry (CRS: WGS84 / EPSG:4326) and the following columns:

station_id

Stable identifier for the physical station complex (character). Shared across lines and modes; treat as opaque.

station_name

Station name in title case (character).

station_code

Three-letter METRO abbreviation when available (character).

line_number

Line number the station belongs to (integer).

line_name

English color name of the line (character).

line_name_pt

Portuguese color name of the line (character).

company_name

Operating company name (character).

type

Either "metro" (METRO SP) or "train" (CPTM) (character).

status

Either "current" (operating) or "future" (planned expansion) (character).

geom

Station location (sfc_POINT).

Source

GeoSampa, Prefeitura de São Paulo. https://geosampa.prefeitura.sp.gov.br/

Details

Requires the sf package to work with spatial features. The distinction between types follows GeoSampa's classification. Broadly, "metro" lines run underground as a subway and "train" lines run above ground as commuter rail, though exceptions exist.

See also

rail_lines for line route geometries, station_transported_monthly for passenger data by station.