metrosp 2.0.0

Breaking changes

The exported datasets now use a consistent <grain>_<measure>_<frequency> convention:

1.x name 2.0 name
passengers_entrance line_entries_monthly
passengers_transported line_transported_monthly
station_averages station_transported_monthly
station_daily station_entries_daily
lines rail_lines
stations rail_stations
station_inauguration Unshipped
calendar_spo Unchanged
metro_colors Unchanged

Migrating from 1.x

The metric rename changes meaning: in 1.x it contained the English label, while in 2.0 it contains the stable abbreviated code. Code that groups, filters, or pivots on metric columns should use this mapping:

1.x column 2.0 column Meaning
metric_abb metric Stable code such as total or mdu
metric metric_name English display label
metric_pt metric_name_pt Portuguese display label

The measure columns passengers and avg_passenger are now consistently named value. The calendar columns is_ponto_facultativo and is_feriadao are now is_optional_holiday and is_long_weekend.

line_transported_monthly$value is 1000 times its 1.x value. Remove any * 1000 your code applied before comparing it with the entry counts.

Code that previously used line_number == 99 has no replacement network total: METRO line entries include transfers from Lines 4 and 5 while those lines count turnstiles only, and transported counts double-count interchange journeys. Do not sum transported counts: a passenger is counted on every line used, so interchange journeys would be counted more than once.

Only vintages that were actually published can be pinned. The first dated archive is data-2026-09; earlier year-month tags do not exist.

Minor improvements and fixes

metrosp 1.3.0

New features

Documentation

The bundled snapshot is unchanged in this release.

metrosp 1.2.1

Datasets

metrosp 1.2.0

Datasets

Bug fixes

Pipeline

No exported value changes. The snapshot was refrozen for two structural differences: metric_abb in passengers_entrance and passengers_transported no longer carries a stray names attribute, and station_averages drops one all-NA row (Jardim Colonial, January 2022).

Documentation

metrosp 1.1.1

Datasets

Vignettes

metrosp 1.1.0

Datasets

Data quality

Data pipeline

metrosp 1.0.0