Skip to contents

Quarterly records of tourist counts in regions across the country

Usage

tourism

Format

A 1228000 x 4 numeric array

Details

  • Quarter

  • Region

  • Purpose

  • Trips

  • lon

  • lat

Examples


library(tsibble)
#> Registered S3 method overwritten by 'tsibble':
#>   method               from 
#>   as_tibble.grouped_df dplyr
#> 
#> Attaching package: ‘tsibble’
#> The following objects are masked from ‘package:base’:
#> 
#>     intersect, setdiff, union
data(tourism)
tourism <- tourism |>
  mutate(Quarter = yearquarter(myd(Quarter))) |>
  as_tsibble(key = c(Region, Purpose), index = Quarter)
#> Error in mutate(tourism, Quarter = yearquarter(myd(Quarter))): could not find function "mutate"