Learn R Programming

epitweetr (version 2.2.16)

register_search_runner_task: Registers the tweet collection task

Description

registers the tweet collection task or stops if no configuration has been set or if it is already running

Usage

register_search_runner_task()

Arguments

Value

Nothing

Details

Registers the tweet collextion task or stops if no configuration has been set or if it is already running. Twitter authentication needs to be previously set on the shiny app or by calling set_twitter_app_auth(). You can test if authentication is working on the shiny app troubleshot page or by calling (with dplyr): epitweetr::check_all() This function will use the task scheduler on windows and will fall back to launching the runner as a separate process (attached to this session) on Linux.

Examples

Run this code
if(FALSE){
   #getting tasks statuses
   library(epitweetr)
   message('Please choose the epitweetr data directory')
   setup_config(file.choose())
   register_search_runner_task()
}

Run the code above in your browser using DataLab