register_search_runner_task: Registers the tweet collection task

View source: R/scheduler.R

register_search_runner_taskR Documentation

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()

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.

Value

Nothing

Examples

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

epitweetr documentation built on Nov. 16, 2023, 5:07 p.m.