metrosp 1.0.0
CRAN release: 2026-05-05
New datasets
-
station_daily: Daily passenger entries by station for Lines 1, 2, 3, and 15 (2020–2025). -
lines: Spatial line geometries for all METRO SP and CPTM commuter train lines, covering both currently operating and planned routes (sf, EPSG:4326). Replaces the previous separatemetro_lines_geo,train_lines_geo, andtrain_linesobjects. -
stations: Spatial point locations for all METRO SP and CPTM stations, covering current and planned stations (sf, EPSG:4326). Replaces the previous separatemetro_stations_geoandtrain_stations_geoobjects.
New datasets (continued)
-
metro_lines: Line reference table mapping line numbers to Portuguese and English color names (replaces the old spatialmetro_linesobject). -
metro_colors: Named character vector of official hex color codes for the six currently operating metro lines.
Breaking changes
-
metro_lines_geo,metro_stations_geo,train_lines,train_lines_geo, andtrain_stations_geohave been removed. Uselinesandstationsinstead, filtering on thetypecolumn ("metro"or"train"). - The previous
metro_linesspatial dataset has been replaced by a newmetro_linesdimension table (non-spatial). Uselinesfor route geometries.
