Skip to main content

Read Stata

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​

This optional port expects a file object.

Output​

output​

Data from the Stata file is delivered through this port mostly in form of an ExampleSet.

Parameters​

attribute naming mode​

Determines which variable properties should be used for attribute naming.

handle value labels​

Specifies how to handle attributes with value labels, i.e. whether to ignore the labels or how to use them.

sample ratio​

The fraction of the data set which should be read (1 = all; only used if sample_size = -1)

sample size​

The exact number of samples which should be read (-1 = all; if not -1, sample_ratio will not have any effect)

use local random seed​

Indicates if a local random seed should be used.

local random seed​

Specifies the local random seed