Read Stata (Advanced File Connectors)
Synopsis
This operator can read Stata data files.Description
This operator can read Stata files. Currently only Stata files of version 113 or 114 are supported.
Input
- file (File)
This optional port expects a file object.
Output
- output (Data table)
Data from the Stata file is delivered through this port mostly in form of an ExampleSet.
Parameters
- filenameName of the file to read the data from.
- attribute naming modeDetermines which variable properties should be used for attribute naming.
- handle value labelsSpecifies how to handle attributes with value labels, i.e. whether to ignore the labels or how to use them.
- sample ratioThe fraction of the data set which should be read (1 = all; only used if sample_size = -1)
- sample sizeThe exact number of samples which should be read (-1 = all; if not -1, sample_ratio will not have any effect)
- use local random seedIndicates if a local random seed should be used.
- local random seedSpecifies the local random seed