match.line.locations.stops: Matches stops to GPS locations for a line

Description Usage Arguments Value

Description

This function splits line GPS locations by bus and filters line stops to call match.bus.locations.stops. Finally, matched trips with size shorter than 1/3 of longest trip are removed and rows are sorted by bus code, trip number and timestamp.

Usage

1
match.line.locations.stops(line.location.data, stops.df, verbose = FALSE)

Arguments

line.location.data

data frame with GPS locations for a single line

stops.df

stops locations data frame

verbose

if TRUE then debugging logs are printed during processing

Value

data frame with matched stops and GPS locations data


analytics-ufcg/busminer documentation built on May 12, 2019, 2:40 a.m.