get_tasks {epitweetr} | R Documentation |
detect_loop
task statusReads the status of the detect_loop
tasks and updates it with changes requested by the Shiny app
get_tasks(statuses = list())
statuses |
Character vector for limiting the status of the returned tasks, default: list() |
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.
A named list containing all necessary information to run and monitor the detect loop tasks.
if(FALSE){
#getting tasks statuses
library(epitweetr)
message('Please choose the epitweetr data directory')
setup_config(file.choose())
tasks <- get_tasks()
}