Closed Hussein-Mahfouz closed 6 months ago
Speed up would be useful for this function https://github.com/Hussein-Mahfouz/drt-potential/blob/2a85386a67ba48265075c15a69f75ec2fe7f3eec/R/trips_to_zone_pairs.R#L116-L128
I should try turning the list() object to a vector with pre-allocated size
I'm getting some NA values with the "Origin" and "Destination" columns in the output of gtfs_trips_od_coverage()
. This is because some buses go through zones outside the study area, so the stops are not joined onto any OA. This isn't really a problem, but I can either:
filter_by_sf()
function is working correctlyI think (c) is the way to go, but might do (a) for now