As discussed with @PublicHealthDataGeek I think st_centroid() should be used to convert the linestring geometry of the rnet object in https://itsleeds.github.io/pct/articles/km-cycled.html into points to prevent double counting of cycle trips along segments that cross boundaries.
As discussed with @PublicHealthDataGeek I think
st_centroid()
should be used to convert the linestring geometry of the rnet object in https://itsleeds.github.io/pct/articles/km-cycled.html into points to prevent double counting of cycle trips along segments that cross boundaries.