metro-package {metro}R Documentation

metro: A package for the Washington Metropolitan Area Transit Authority API

Description

The Metro Transparent Data Sets API provides developer access to JSON data for the order and location of rail stations by line, train arrival predictions for each station, service alerts, and elevator/escalator status. This package has been developed to make calls to the API using dedicated R functions with copied documentation and identical parameters/arguments. All functions return one or more data frames for easy analysis.

Endpoints

There are six endpoint categories returning JSON data.

  1. Bus Route and Stop Methods, starting with ⁠bus_*⁠:

  2. Incidents, ending with ⁠*_incidents⁠:

  3. Misc Methods

  4. Rail Station Information, starting with ⁠rail_*⁠:

  5. Real-Time Predictions, starting with ⁠next_*⁠:

  6. Train Positions:

Author(s)

Maintainer: Kiernan Nicholls k5cents@gmail.com (ORCID) [copyright holder]

See Also

Useful links:


[Package metro version 0.9.3 Index]