CarOwnershipQuery.query#
- CarOwnershipQuery.query(conn, include_zone_name=False)[source]#
Query NTEM database for Car Ownership data using parameters defined on initialisation.
- Parameters:
conn (Connection) – Connection to the database containing the NTEM data.
include_zone_name (bool) – If True, include “zone_name” column in output.
- Returns:
pd.DataFrame
Car Ownership data with columns “zone”, “year”, “car_ownership_type”, “value”
- Return type:
DataFrame