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:
write_gtfs now correctly converts sf objects to gtfs csv tables
added gtfs_transform which runs sf::st_transform on shapes and stops
This PR adds
filter_trips
andfilter_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:
write_gtfs
now correctly converts sf objects to gtfs csv tablesgtfs_transform
which runssf::st_transform
on shapes and stops