SetHITTypeNotification( hit.type, notification = NULL, active = NULL,
keypair = credentials(), print = getOption('MTurkR.print'),
browser = getOption('MTurkR.browser'),
log.requests = getOption('MTurkR.log'),
sandbox = getOption('MTurkR.sandbox'),
validation.test = getOption('MTurkR.test'))GenerateNotification).credentials.TRUE.FALSE.TRUE. See readlogfile for details.FALSE.FALSE.Notification object) occurs. This is useful for receiving email notifications about, for example, when assignments are submitted or HITs are completed.
Note: The API operation underlying SetHITTypeNotification and SendTestEventNotification has been deprecated by Amazon is not receiving ongoing development, but remains available for backward compatibility.
setnotification() is an alias.GenerateNotification
SendTestEventNotificationa <- GenerateNotification("requester@example.com",event.type="HITExpired")
SetHITTypeNotification(hit.type="2FFNCWYB49F9BBJWA4SJUNST5OFSOW",notification=a,active=TRUE)Run the code above in your browser using DataLab