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
library(tsibble)
#> #> Attaching package: 'tsibble'#> The following objects are masked from 'package:stats':#> #> filter, lagdt_new<- tsibble(Time=0:23, rnorm= rnorm(24), Sensor="???", index=Time)
pedestrian %>%
left_join(dt_new, by="Time")
#> Error in .f(.x[[i]], ...): object 'Sensor' not found
Issue is because the join operation renames the key. Perhaps a tsibble join operation should protect the names of keys from the LHS and only make new names for the RHS dataset.
earowang
changed the title
join operations between tsibbles with mutual key by non-key variable looks for key
join operations between tsibbles with mutual key and index
Mar 8, 2019
Created on 2019-03-08 by the reprex package (v0.2.1)
Issue is because the join operation renames the key. Perhaps a tsibble join operation should protect the names of keys from the LHS and only make new names for the RHS dataset.
Created on 2019-03-08 by the reprex package (v0.2.1)
The text was updated successfully, but these errors were encountered: