createRouteFolders: Format route data to be read into MonaRk shiny app

Description Usage Arguments Value

View source: R/CompareFlights.R

Description

All the flight data is too big to be read into the shiny app. Therefore, the app only reads in data for routes the user selected. This function creates the folder structure so each route has a folder containing a df.RDS and a geo.RDS that can be read into the app.

Usage

1
createRouteFolders(flightgeo, geomatrix, appDataDir)

Arguments

flightgeo

A sf dataframe containing flight data and geodata

geomatrix

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

appDataDir

The folder where all the route subfolders should be located

Value

No objects returns. Folders are created locally and data is written to them.


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