health_check | R Documentation |
It validates if epitweetr is not collecting tweets, aggregating tweets or not calculating alerts
health_check(send_mail = TRUE, one_per_day = TRUE)
send_mail |
Boolean. Whether an email should be sent to the defined administrator, default: TRUE |
one_per_day |
Boolean. Whether a limit of one email per day will be applied, default: TRUE |
This function sends an email to the defined administrator if epitweetr is not collecting tweets, aggregating tweets or not calculating alerts
A list of health check errors found
if(FALSE){
#importing epitweetr
library(epitweetr)
message('Please choose the epitweetr data directory')
setup_config(file.choose())
#sending the email to the administrator if epitweetr components are not properly working
health_check()
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.