Analyze trajectory data (GPS) and get bus route information in Istanbul, Turkey.
# install.packages("devtools")
devtools::install_github("CTNL/IETTAnalyzer")library(IETTAnalyzer)Istanbul bus routes and bus stops can be fetched from iett.istanbul or trafi.com websites.
route.iett <- get_bus_route("43R")
route.trafi <- get_bus_route("43R", from="trafi")
head(route.trafi$stops.going)The bus route and its bus stops can be plotted together.
plot_bus_route(route.trafi)