#' Sabali Guide: Twitter
#'
#' This function activates the Sabali Help Guide for Twitter Mining
#' @param activate Do you like mines? Defaults to TRUE.
#' @keywords Twitter
#' @export
#' @examples
#' guide.twitter()
guide.twitter <- function(activate = TRUE) {
if(activate == TRUE) {
print("rtweet Guides help(package = 'rtweet')")
print("# --- Twitter Mining Options --- #")
print("[1] q (not case sensitive) = word1 OR word2 AND word3 word4 => [space acts as AND]")
print("[2] n = 18000 per 15 min => [36000, retryonratelimit = TRUE]")
print("[2a] -> 54000 -> 72000 -> 90000 => [Memory Exceeded]")
print("[3] retryonratelimit = FALSE | TRUE => switch to TRUE if mining > 18000+ tweets")
print("[4] type = mixed| recent | popular")
print("[5] include_rts = FALSE | TRUE")
print("[6] lang = ISO Language Codes")
print("[6a] https://www.iso.org/iso-639-language-codes.html")
} else {
print("Cannot Access Guide")
}
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.