r-transit / tidytransit

R package for working with GTFS data
https://r-transit.github.io/tidytransit/
150 stars 22 forks source link

filter_trips and write sf objects to csv #167

Closed polettif closed 3 years ago

polettif commented 3 years ago

This PR adds filter_trips and filter_trips_through_area. These functions can be used to create a subset of a feed for trips running through an area or using certain stops. I decided not to use "filterfeed" or "subset*" as I think these names are more confusing. I intend to add a vignette covering this as well.

I've also done some restructuring with spatial functions: