track_api_job: Track the API job table. If prediction is done, it writes it...

View source: R/fct_api_pred.R

track_api_jobR Documentation

Track the API job table. If prediction is done, it writes it to the main table and delete the job from the api job table

Description

Track the API job table. If prediction is done, it writes it to the main table and delete the job from the api job table

Usage

track_api_job(job, conn, write_db = TRUE, board = NULL)

Arguments

job

an instance of the api job table

conn

database connection

write_db

logical should the prediction data be written to the database or returned as a dataframe?

board

a pin board to temporary write the prediction incase database writing fails

Value

dataframe (if 'write_db' is FALSE)


CDU-data-science-team/experiencesdashboard documentation built on Nov. 30, 2023, 5:57 a.m.