metrosp: São Paulo Metro Passenger Demand Data

Provides passenger demand data for the São Paulo metro system, covering 2012 to 2026. Datasets include monthly passenger entries and transported counts by line, average weekday passengers transported by station, daily station entries, and spatial geometries for metro and commuter train lines and stations. The bundled datasets are a fixed snapshot, so analyses stay reproducible and examples run offline. More recent data is published to 'GitHub' releases as the upstream sources are updated, and read_metro_demand() downloads, caches, and reads it, optionally pinned to a dated monthly batch.

Version: 2.0.0
Depends: R (≥ 4.0.0)
Imports: cli, jsonlite, tools, utils
Suggests: bizdays, spelling, dataverse, digest, dplyr (≥ 1.2.0), ggplot2, knitr, quarto, rmarkdown, sf, tarchetypes, targets, testthat (≥ 3.0.0), waldo, withr
Published: 2026-10-06
DOI: 10.32614/CRAN.package.metrosp
Author: Vinicius Oike ORCID iD [aut, cre, cph]
Maintainer: Vinicius Oike <viniciusoike at gmail.com>
BugReports: https://github.com/viniciusoike/metrosp/issues
License: MIT + file LICENSE
URL: https://github.com/viniciusoike/metrosp, https://viniciusoike.github.io/metrosp/
NeedsCompilation: no
Language: en-US
Materials: README, NEWS
CRAN checks: metrosp results

Documentation:

Reference manual: metrosp.html , metrosp.pdf
Vignettes: data-dictionary (source)
getting_started (source, R code)

Downloads:

Package source: metrosp_2.0.0.tar.gz
Windows binaries: r-devel: metrosp_1.2.1.zip, r-release: metrosp_1.2.1.zip, r-oldrel: metrosp_1.2.1.zip
macOS binaries: r-release (arm64): metrosp_2.0.0.tgz, r-oldrel (arm64): metrosp_2.0.0.tgz, r-release (x86_64): metrosp_2.0.0.tgz, r-oldrel (x86_64): metrosp_2.0.0.tgz
Old sources: metrosp archive

Linking:

Please use the canonical form https://CRAN.R-project.org/package=metrosp to link to this page.