usc-isi-i2 / dig-etl-engine

Download DIG to run on your laptop or server.
http://usc-isi-i2.github.io/dig/
MIT License
101 stars 39 forks source link

Generate forecasting format from queries #196

Closed szeke closed 6 years ago

szeke commented 6 years ago
{
            "ts": [ (An array of arrays. Each sub-array is the time and the fields defined in the "dimensions" array.)
                ["2017-12-21T00:40:36Z", 3],
                ["2017-12-22T00:40:36Z", 0],
                ...
            ]
            "metadata": { (some relevant metadata about the time series.)
                "name": ...,
                "aggregation_type": ...,
                ...
            }
            "dimensions": [ (A list of the dimensions in the time series. The first dimension will be a date.)
                "DATE",
                {
                    "type": "int", (the datatype {float, int, string})
                    "semantic_type": "deaths" (what the value represents)
                },
                ...
            ]
        }
saggu commented 6 years ago

This is done.