get_tasks {epitweetr}R Documentation

Get the detect_loop task status

Description

Reads the status of the detect_loop tasks and updates it with changes requested by the Shiny app

Usage

get_tasks(statuses = list())

Arguments

statuses

Character vector for limiting the status of the returned tasks, default: list()

Details

After reading the tasks.json file and parsing it with jsonlite, this function will update the necessary fields in the tasks for executing and monitoring them.

Value

A named list containing all necessary information to run and monitor the detect loop tasks.

See Also

download_dependencies

update_geonames

update_languages

detect_loop

generate_alerts

Examples

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

[Package epitweetr version 2.2.16 Index]