nyctrains is an R package containing data on the New York City subway network. The package provides the following three data frames.
routes: subway route names and colors.
stops: subway stop names and locations.
travel_times: route-specific minimum travel times between consecutive stops.
nyctrains can be installed from GitHub via remotes: