You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm running into a similar issue to #149 for tsibble. Im converting a data frame to a tsibble then trying to autopilot (via fabletools::autoplot). As instructed I tried uninstalling and re-installing the CRAN version of tsibble (1.1.4) but am running into an error message of Error in not_tsibble(): ! x is not a tsibble.
Even when I call Here's my code for a minimum reproducible example
df$Year <- as.integer(as.character(df$`Monitoring Year`))
# Creates time series object from our dataframe
rems_tsbl <- df %>%
as_tsibble(index = Year,
key=c("Program Office", "Operations Office",
"Site", "Reporting Organization",
"Facility Type", "Labor Category" ,
"Occupation", "Monitoring Status"))
rems_tsbl
# A tsibble: 6 x 120 [1Y]
# Key: Program Office, Operations Office, Site, Reporting Organization, Facility Type, Labor Category, Occupation, #> Monitoring Status [2]
#> `Monitoring Year` `Program Office` `Operations Office` Site Reporting Organizati…¹ `Facility Type` `Labor #> Category` Occupation
#> <int> <chr> <chr> <chr> <chr> <chr> <chr> <chr>
#> 1 2008 Energy Efficiency and Renewab… ALBUQUERQUE Nati… National Renewable En… OTHER #> Misc. Miscellan…
#> 2 2009 Energy Efficiency and Renewab… ALBUQUERQUE Nati… National Renewable En… RESEARCH, #> GENE… Management Manager -…
#> 3 2010 Energy Efficiency and Renewab… ALBUQUERQUE Nati… National Renewable En… RESEARCH, #> GENE… Management Manager -…
#> 4 2011 Energy Efficiency and Renewab… ALBUQUERQUE Nati… National Renewable En… RESEARCH, #> GENE… Management Manager -…
#> 5 2012 Energy Efficiency and Renewab… ALBUQUERQUE Nati… National Renewable En… RESEARCH, #> GENE… Management Manager -…
#> 6 2013 Energy Efficiency and Renewab… ALBUQUERQUE Nati… National Renewable En… RESEARCH, #> GENE… Management Manager -…
# ℹ abbreviated name: ¹`Reporting Organization`
# ℹ 112 more variables: `Monitoring Status` <chr>, `Total Number Monitored` <int>, `Number with Meas. TED` <int>,
is_tsibble(rems_tsbl)
#> TRUE
rems_tsbl %>%
autoplot(`ted_dose`)
Error in `not_tsibble()`:
! x is not a tsibble.
Backtrace:
1. ... %>% autoplot(`ted_dose`)
3. fabletools:::autoplot.tbl_ts(., `ted_dose`)
8. tsibble::index_var(object)
9. tsibble:::not_tsibble(x)
Any help is greatly appreciated!
The text was updated successfully, but these errors were encountered:
I'm running into a similar issue to #149 for
tsibble
. Im converting a data frame to a tsibble then trying to autopilot (viafabletools::autoplot
). As instructed I tried uninstalling and re-installing the CRAN version oftsibble
(1.1.4
) but am running into an error message ofError in not_tsibble(): ! x is not a tsibble.
Even when I call Here's my code for a minimum reproducible example
Any help is greatly appreciated!
The text was updated successfully, but these errors were encountered: