Description Usage Arguments Value
View source: R/CompareFlights.R
Loop through the routes in flightgeo, find the existing flight path with the shortest duration, shortest distance("shortestDistFlight"), as well as the direct geo distance between airports ("shortestDist"), the number of flights within this route ("routeCount"). Also returns starting and ending airports latitude for data quality analyses. This function needs to be run after parsing flight data and adding covars, called within compareFlights() for a shorter pipeline.
1 | addDistanceCovars(flightgeo)
|
flightgeo |
A sf dataframe containing flight data and geodata |
A sf dataframe with additional columns containing routeCount, shortest dist and dur
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.