Skip to content

Timeseries raises Error in dt1[, lapply(.SD, uniqueN)] : incorrect number of dimensions #2

@cregouby

Description

@cregouby

Hello,
Standard time-series dataset raise the following error :

library(dplyr)
explore_dataset(nasa)
[1] "Data has 41472 rows and 4 columns"
Error in dt1[, lapply(.SD, uniqueN)] : incorrect number of dimensions

turning the data-frame into data.table drops another error

library(data.table)
explore_dataset(nasa %>% as.data.table)
[1] "Data has 41472 rows and 11 columns"
Error in rep.int(y, times = nrow/(x[i] * n[i])) : 
  incorrect value 'times' 

thank you for your efforts !
Best regards
C.R.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions