makeInFlightDf: Load and Organize in-flight data for a route.

Description Usage Arguments Value

View source: R/AppUtils.R

Description

This function takes the name of a route, the flight data and geo data for this route, and returns a df used by leaflet and plotly within the app to display in-flight information.

Usage

1
makeInFlightDf(route, flightgeoCovar, geomatrix)

Arguments

route

A string like "SAN SFO" describing the start and end of a route

flightgeoCovar

A dataframe of all the flights information only within the given route; "df.RDS"

geomatrix

A list of matrices containing 10-second data for lat, long, alt, velocity; "geo.RDS"

Value

A df with rows representing time, repeated for each flight, columns containing location, weather, delay, and other information shown in tooltips.


DatascribeConsulting/MonaRk documentation built on May 4, 2021, 5:28 a.m.