Skip to contents

Check the date of the latest airfare data available

Usage

latest_airfares_date(dom = TRUE)

Arguments

dom

Logical. Defaults to TRUE download airfares of domestic flights. If FALSE, the function downloads airfares of international flights.

Value

A numeric date in the format yyyymm.

See also

Other support function: latest_flights_date()

Examples

if (FALSE)  if (interactive()) {

latest_date <- latest_airfares_date()

} # \dontrun{}