Disruption Sankey
Implementation details
Class names
| Model name | Parameters class | Data class |
|---|---|---|
DisruptionSankey | DisruptionSankeyQueryParams | DisruptionSankeyData |
Import Statement
from openbb_core.provider.standard_models. import (
DisruptionSankeyData,
DisruptionSankeyQueryParams,
)
Parameters
- standard
- imf
event_id: str | None
Default: LATEST
Disruption event ID, or 'LATEST' for the most recent event.
theme: str | None
Theme for the Sankey chart. Only used when chart=True.
Data
- standard
- imf
eventid: int
Event identifier.
source: int
Source node index in the Sankey diagram.
target: int
Target node index in the Sankey diagram.
source_port: str
Display label for the source port (e.g. 'Colombo (Sri Lanka)').
target_port: str
Display label for the destination port.
source_port_id: str | None
IMF Port Watch port ID of the source.
target_port_id: str | None
IMF Port Watch port ID of the destination.
source_country_code: str | None
ISO3 country code of the source port.
target_country_code: str | None
ISO3 country code of the destination port.
perc_disaster_capacity: float | None
Share (%) of the disrupted capacity rerouted along this edge.
object_id: int | None
Internal ArcGIS feature row identifier.