Skip to content
This repository was archived by the owner on Nov 13, 2021. It is now read-only.
This repository was archived by the owner on Nov 13, 2021. It is now read-only.

ad_ts does not work with data.table #113

@fedemolina

Description

@fedemolina

I'm using a data set with different time series, I'm store it as data.table
So in every iteration I filter by some condition:

DT[var1 == x, c("date", "var2")]

Error in rbindlist(l, use.names, fill, idcol) :
Class attribute on column 1 of item 2 does not match with column 1 of item 1.

This happen because date column is store as numeric(0), ie:

all_anoms <- data.frame(timestamp = numeric(0), count = numeric(0)) meanwhile column date is required to be POSIXct/POSIXlt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions