This dataset contains the number of monthly air passengers from 1949 to 1960. It is taken from the R datasets package and formatted into long data frame format.

data("AirPassengersDf")

Format

A data frame with 144 rows and 2 columns.

Month

the month of the observation, as a Date (the first day of each month from January 1949 to December 1960).

Passengers

the monthly total of international airline passengers.

Source

The AirPassengers time series in base R (the classic Box and Jenkins airline data), reshaped into a long data frame.

References

Box, G. E. P., Jenkins, G. M. and Reinsel, G. C. (1976) Time Series Analysis, Forecasting and Control. San Francisco: Holden-Day.

Examples

data("AirPassengersDf")
head(AirPassengersDf)
#>        Month Passengers
#> 1 1949-01-01        112
#> 2 1949-02-01        118
#> 3 1949-03-01        132
#> 4 1949-04-01        129
#> 5 1949-05-01        121
#> 6 1949-06-01        135

# Monthly international airline passengers over time
plot(Passengers ~ Month, data = AirPassengersDf, type = "l")