View source: R/incidents-elevator.R
elevator_incidents | R Documentation |
Elevator/Escalator Outages
elevator_incidents(StationCode = NULL, api_key = wmata_key())
StationCode |
Station code. Use |
api_key |
Subscription key which provides access to this API. Defaults
|
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.
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
.
Data frame of reported elevator and escalator outages.
Other Incident APIs:
bus_incidents()
,
rail_incidents()
## Not run:
elevator_incidents()
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.