tourism
tourism.Rd
Quarterly records of tourist counts in regions across the country
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"