# Reconstruct and Visualize Transit Vehicle Trajectories

## Documentation for package ‘transittraj’ version 1.1.0

- DESCRIPTION file
- User guides, package vignettes and other documentation
- Package NEWS
- Package README

## Help Pages

clean_incomplete_trips | Filter out entire trips which do not meet distance or duration requirements
clean_jumps | Apply median filters to detect large jumps (i.e., outliers) in trajectories.
clean_overlapping_subtrips | Remove trips with multiple operators or vehicles assigned to the same trip ID
export_animation | Save an animation at a desired quality
filter_by_route | Filter GTFS to a desired route(s) and direction(s)
get_gtfs_service_dates | Get a dataframe of all service dates and their service IDs from a GTFS
get_gtfs_trajectory_fun | Fit continuous trajectory interpolating curves from GTFS schedule data
get_linear_distances | Linearize latitude-longitude GPS points on a provided route shape
get_shape_geometry | Get the geometry of a route shape
get_stop_distances | Get the distances of stops along routes
get_trajectory_fun | Fit continuous trajectory interpolating curves from AVL data
get_trip_extremes | Get the distance and time range of each trip in a trajectory object
group_trajectories | Group existing trajectory objects or split them apart
lacmta_avl | LA Metro AVL Data
lacmta_gtfs | LA Metro GTFS
make_monotonic | Correct distance observations, and optionally speeds, to be weakly or strictly monotonic
new_transittraj_data | Retrieve an object from a particular step of 'transittraj"s workflow
plot.avltrajectory_group | Quickly plot an AVL trajectory
plot.avltrajectory_single | Quickly plot an AVL trajectory
plot_animated_line | Animate vehicle trajectory or AVL data
plot_animated_map | Animate vehicle trajectory or AVL data
plot_interactive_gtfs | Generate a Leaflet viewer of GTFS routes and stops
plot_trajectory | Plot vehicle trajectories or AVL data
predict.avltrajectory_group | Interpolate time or distance points using AVL trajectories
print.avltrajectory_group | Print an AVL trajectory object
print.avltrajectory_single | Print an AVL trajectory object
project_onto_route | Project points to linear distances along a route
summary.avltrajectory_group | Summarize an AVL trajectory object
summary.avltrajectory_single | Summarize an AVL trajectory object
trim_trips | Remove observations occurring before a trip's minimum distance, or after a trip's maximum distance
validate_monotonicity | Check if AVL data satisfies assumptions of monotonicity
validate_tides | Check if AVL data meets TIDES standards