Put together the url of flight data files

get_flights_url(type, year, month)

Arguments

type

String. Whether the data set should be of the type basica (flight stage, the default) or combinada (On flight origin and destination - OFOD).

year

Numeric. Year of the data in yyyy format.

month

Numeric. Month of the data in mm format.

Value

A url string.

Examples

if (FALSE)  if (interactive()) {
# Generate url
a <- get_flights_url(type='basica', year=2000, month=11)
}