Elevator/Escalator Outages
elevator_incidents(StationCode = NULL, api_key = wmata_key())
A data frame with 1 row per incident and 9 variables:
Unique identifier for unit, by type (a single elevator and
escalator may have the same UnitName
, but no two elevators or two
escalators will have the same UnitName
).
Type of unit. Will be ELEVATOR
or ESCALATOR
.
Unit's station code. Use this value in other rail-related APIs to retrieve data about a station.
Full station name, may include entrance information (e.g.: Metro Center, G and 11th St Entrance).
Free-text description of the unit location within a station (e.g.: Escalator between mezzanine and platform).
Description for why the unit is out of service or otherwise in reduced operation.
Date and time (UTC) unit was reported out of service.
Date and time (UTC) outage details was last updated.
Estimated date and time (UTC) by when unit is expected to return to normal service. May be NULL.
Station code. Use rail_stations()
to return a list of
all station codes. Use NULL
(default) to list all incidents.
Subscription key which provides access to this API. Defaults
Sys.getenv("WMATA_KEY")
via wmata_key()
.
Data frame of reported elevator and escalator outages.
Note that for stations with multiple platforms and therefore StationCodes
(e.g.: Metro Center, L'Enfant Plaza, etc.), a distinct call is required for
each StationCode
.
if (FALSE) {
elevator_incidents()
}