get_job_result: Get job result given a job id (blocking until the job is...

View source: R/functions.R

get_job_resultR Documentation

Get job result given a job id (blocking until the job is done)

Description

It can be safely retried multiple times until the job is done.

Usage

get_job_result(job_id, timeout = 10)

Arguments

job_id

The avatarization job id

timeout

The time to wait for a result in seconds

Value

A list containing the job response

  • privacy_metricsa list containg privacy metrics, with names 'local_cloaking' and 'hidden_rate'

  • avatars_dataseta list containing the avatars dataset metadata

Examples

## Not run: 
get_job_result(job_id)$metrics$local_cloaking

## End(Not run)

octopize/avatar-r documentation built on March 23, 2024, 1:41 p.m.