% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/data.R
\docType{data}
\name{passengers_entrance}
\alias{passengers_entrance}
\title{Passengers Entering Metro SP Stations by Line}
\format{
A data frame with the following columns:
\describe{
\item{date}{First day of the month (Date).}
\item{line_number}{Metro line number: 1, 2, 3, 4, 5, 15, or 99 for
network total (integer).}
\item{metric_abb}{Abbreviated metric code (character). One of:
"total", "mdu", "msa", "mdo", "max".}
\item{value}{Passenger count in thousands (numeric).}
\item{metric}{Measurement type in Portuguese (character). One of:
"Total", "Media dos Dias Uteis", "Media dos Sabados",
"Media dos Domingos", "Maxima Diaria".}
\item{line_name}{English name of the metro line (character).}
\item{line_name_pt}{Portuguese name of the metro line (character).}
\item{year}{Calendar year (integer).}
}
}
\source{
Companhia do Metropolitano de Sao Paulo (METRO).
\url{https://transparencia.metrosp.com.br/dataset/demanda}
}
\usage{
passengers_entrance
}
\description{
Monthly count of passengers entering Sao Paulo metro stations, aggregated
by metro line. Data covers October 2017 through 2025, sourced from the
METRO SP transparency portal.
}
\details{
Lines 1, 2, 3, and 15 come from the METRO transparency portal (2017-2025).
Lines 4 (Amarela) and 5 (Lilas) come from the Insper Dataverse source
(2020-2025). The network total (line_number = 99) may not be available for
all years.

Values represent thousands of passengers (e.g., a value of 900 means
900,000 passengers).

Metrics:
\itemize{
\item \code{total}: Total passengers in the month
\item \code{mdu}: Average on business days (Media dos Dias Uteis)
\item \code{msa}: Average on Saturdays (Media dos Sabados)
\item \code{mdo}: Average on Sundays (Media dos Domingos)
\item \code{max}: Daily maximum (Maxima Diaria)
}
}
\keyword{datasets}
