Returns a Python generator object for iterating over the dataset.
as_dict : bool, optional
If as_dict is True, yield each row of observations as a dict. If False, yields each row of observations as a list.
Generator object for iterating over the dataset. Yields each row of
observations as a list by default.
If missing_values is True during instantiation of StataReader then observations with _StataMissingValue(s) are not filtered and should be handled by your applcation.