| 1 | // Package dstream provides facilities for manipulating streams of |
| 2 | // typed, multivariate data. A Dstream is a data container that holds |
| 3 | // a rectangular array of data in which the columns are variables and |
| 4 | // the rows are cases or observations. The dstream framework |
| 5 | // facilitates processing data of this type in a streaming manner, |
| 6 | // with a focus on feeding the data into statistical modeling tools. |
| 7 | // |
| 8 | // The data held by a Dstream are retrieved as chunks of contiguous |
| 9 | // rows. Within each chunk, the data are stored column-wise. A |
| 10 | // Dstream visits its chunks in order. When processing a Dstream, |
| 11 | // call Next to advance to the next chunk, then call Get or GetPos to |
| 12 | // retrieve the data for one column. |
| 13 | // |
| 14 | // Most operations on Dstreams take the form of a transformation d = |
| 15 | // f(d), where d is a Dstream. Many transformations are defined in |
| 16 | // the package, and it is easy to add new transformations. |
| 17 | // Transformations can be composed to produce complex transformations |
| 18 | // from simple components. Examples of transformations are Mutate |
| 19 | // (modify a column in-place) and DropCols (drop one or more columns |
| 20 | // from the Dstream). |
| 21 | package dstream |