flights: function to load and format flight data

Description Usage Arguments Details Value Source Examples

View source: R/flights.R

Description

flights is used for loading the format the flight data from selected days.

Usage

1
flights(from = NULL, to = NULL, path = system.file("MUCflights.RData", package = "MUCflights"))

Arguments

from

first day which should be loaded

to

last day which should be loaded

path

path the data is located

Details

Information of the flights arrived and departured at Munich Franz-Josef-Strauss airport (from http://www.munich-airport.de).

Value

A data frame with the following 18 variables.

lsk

arrival(L) or departure(S)

fnr

number of the flight

lvg

airline

ha1

IATA

ha2

IATA (stopover)

ha3

IATA (stopover)

haf

from/to (German)

hafen

from/to (English)

stt

scheduled time

ett

estimated time

lde

country

len

country

ter

terminal

ber

area

typ

aircraft type

ver

aircraft type-version

saa
gat

gate

Source

http://www.munich-airport.de/de/consumer/fluginfo/abflug/index.jsp http://www.munich-airport.de/de/consumer/fluginfo/ankunft/index.jsp

Examples

1
2
flight.info <- flights(from = "2011-01-07", to = "2011-01-08")
head(flight.info)

MUCflights documentation built on May 1, 2019, 9:32 p.m.