latest_airfares_date: Check the date of the latest airfare data available

View source: R/latest_flights_date.R

latest_airfares_dateR Documentation

Check the date of the latest airfare data available

Description

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

## Not run:  if (interactive()) {

latest_date <- latest_airfares_date()

}
## End(Not run)

flightsbr documentation built on June 8, 2025, 1:17 p.m.