def where(self, where: str) -> '<STR_LIT>':
sd = SASdata(self.sas, self.libref, self.table, dsopts=dict(self.dsopts))<EOL>sd.HTML = self.HTML<EOL>sd.dsopts['<STR_LIT>'] = where<EOL>return sd<EOL>
This method returns a clone of the SASdata object, with the where attribute set. The original SASdata object is not affected.

:param where: the where clause to apply
:return: SAS data object