to_canonical_station_info¶
to_canonical_station_info
¶
to_canonical_station_info(raw: dict, *, system_id: str, gbfs_version: str = '2.x', station_type: str | None = None) -> DataFrame
Parse a station_information.json document into a canonical frame.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
raw
|
dict
|
The parsed JSON of |
required |
system_id
|
str
|
Identifier to stamp on every row. |
required |
gbfs_version
|
str
|
Used only for the |
"2.x"
|
station_type
|
str
|
If given, force this type on all stations (overrides inference). |
None
|
Returns:
| Type | Description |
|---|---|
DataFrame
|
Canonical station-information frame ( |
See Also
to_canonical_station_status : The matching live-status parser.
GBFSFeed : The feed that calls these parsers.