Would it be possible to write the passenger KM KPI to an output file? No scaling is required for this metric, it's a parameter.
// TODO add kpi for passenger KM // to get to a passenger-km metric the easiest way is to go through legs // Table legs = dataModel.getLegs(); // vehicles.stringColumn("vehicleID").setName("vehicle_id"); // legs = legs // .joinOn("vehicle_id") // .inner(vehicles.selectColumns("vehicle_id", "PTLineID", "PTRouteID")); // Table kpi = legs.selectColumns( // "person", "trip_id", "dep_time", "trav_time", // "distance", "mode", "vehicle_id", "PTLineID", "PTRouteID");
Would it be possible to write the passenger KM KPI to an output file? No scaling is required for this metric, it's a parameter.
// TODO add kpi for passenger KM // to get to a passenger-km metric the easiest way is to go through legs // Table legs = dataModel.getLegs(); // vehicles.stringColumn("vehicleID").setName("vehicle_id"); // legs = legs // .joinOn("vehicle_id") // .inner(vehicles.selectColumns("vehicle_id", "PTLineID", "PTRouteID")); // Table kpi = legs.selectColumns( // "person", "trip_id", "dep_time", "trav_time", // "distance", "mode", "vehicle_id", "PTLineID", "PTRouteID");