Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
cregouby opened this issue Jun 26, 2017 · 3 comments
Assignees
Labels

Comments

@cregouby
Copy link

cregouby commented Jun 26, 2017

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.

@ben519
Copy link
Owner

ben519 commented Jun 26, 2017

Can you please make this reproducible? (I.e. be sure to include any library(...) calls I need to get the nasa table. Thanks!

@cregouby
Copy link
Author

Hello Ben,
sorry for this miss. corrected. Hope you will b able to fix it.
Best regards,
C.R.

@ben519
Copy link
Owner

ben519 commented Jun 27, 2017

Ah, much better. Thanks for reporting. Not sure when I can get to this though. explore_dataset () is still "experimental" at this time, but I have plans to improve it in the future.

@ben519 ben519 self-assigned this Jun 27, 2017
@ben519 ben519 added the bug label Jun 27, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants