# Read, Validate, Analyze, and Map GTFS Feeds

## Documentation for package ‘tidytransit’ version 1.3.0

- DESCRIPTION file.
- User guides, package vignettes and other documentation.

## Help Pages

cluster_stops | Cluster nearby stops within a group
convert_times_to_hms | Use hms::hms columns in feed
empty_strings_to_na | Convert empty strings ("") to NA values in gtfs tables
feedlist | Dataframe of source GTFS data from Transitfeeds
feed_contains | Returns TRUE if the given gtfs_obj contains the table. Used to check for tidytransit's calculated tables in sublist
filter_feed_by_area | Filter a gtfs feed so that it only contains trips that pass a given area
filter_feed_by_date | Filter a gtfs feed so that it only contains trips running on a given date
filter_feed_by_stops | Filter a gtfs feed so that it only contains trips that pass the given stops
filter_feed_by_trips | Filter a gtfs feed so that it only contains a given set of trips
filter_stops | Get a set of stops for a given set of service ids and route ids
filter_stop_times | Filter a 'stop_times' table for a given date and timespan.
get_feedlist | Get list of all available feeds from transitfeeds API
get_route_frequency | Get Route Frequency
get_route_geometry | Get all trip shapes for a given route and service
get_stop_frequency | Get Stop Frequency
get_trip_geometry | Get all trip shapes for given trip ids
gtfs_as_sf | Convert stops and shapes to Simple Features
gtfs_duke | Example GTFS data
gtfs_transform | Transform or convert coordinates of a gtfs feed
na_to_empty_strings | Convert NA values to empty strings ("")
plot.tidygtfs | Plot GTFS stops and trips
print.tidygtfs | Print a GTFS object
raptor | Calculate travel times from one stop to all reachable stops
read_gtfs | Read and validate GTFS files
route_type_names | Dataframe of route type id's and the names of the types (e.g. "Bus")
set_api_key | Set TransitFeeds API key for recall
set_servicepattern | Calculate servicepattern ids for a gtfs feed
sf_as_tbl | Convert stops and shapes from sf objects to tibbles
sf_lines_to_df | Adds the coordinates of an sf LINESTRING object as columns and rows
sf_points_to_df | Adds the coordinates of an sf POINT object as columns
shapes_as_sf | Convert shapes into Simple Features Linestrings
stops_as_sf | Convert stops into Simple Features Points
stop_distances | Calculate distances between a given set of stops
stop_group_distances | Calculates distances among stop within the same group column
summary.tidygtfs | GTFS feed summary
travel_times | Calculate shortest travel times from a stop to all reachable stops
validate_gtfs | Validate GTFS file
write_gtfs | Write a tidygtfs object to a zip file