def iter(self, relations=False, **options):
<EOL>if not self.tabular:<EOL><INDENT>message = '<STR_LIT>'<EOL>raise exceptions.DataPackageException(message)<EOL><DEDENT>if relations:<EOL><INDENT>relations = self.__get_relations()<EOL><DEDENT>return self.__get_table().iter(relations=relations, **options)<EOL>
https://github.com/frictionlessdata/datapackage-py#resource