Skip to content

Instantly share code, notes, and snippets.

@dreftymac
Last active December 20, 2015 16:08
Show Gist options
  • Save dreftymac/6158864 to your computer and use it in GitHub Desktop.
Save dreftymac/6158864 to your computer and use it in GitHub Desktop.
tss3_SiteId
## SITE_ID ;; (error-correcting addon)
def tss3_SiteId(row)
if ( false ||
row['tss2_MachineDept']=='cfc' ||
row['tss2_MachineDept']=='chc' ||
row['tss2_MachineDept']=='ctl' ||
row['tss2_MachineDept']=='economics' ||
row['tss2_MachineDept']=='lundquistcollegeofbusiness' ||
row['tss2_MachineDept']=='materialscience' ||
row['tss2_MachineDept']=='schoolofmusicanddance' ||
row['tss2_MachineDept']=='somd' ||
false
);
return '@@669f94339b5e6178cefc85ff22d93dfe'
elsif(true);
return '@@__blank__'
end
end
##
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment