Learn R Programming

daiR (version 1.0.0)

enable_processor: Enable processor

Description

Enable processor

Usage

enable_processor(
  proc_id,
  proj_id = get_project_id(),
  loc = "eu",
  token = dai_token()
)

Value

no return value, called for side effects

Arguments

proc_id

a Document AI processor id.

proj_id

a GCS project id.

loc

a two-letter region code; "eu" or "us".

token

an authentication token generated by dai_auth() or another auth function.

Examples

Run this code
if (FALSE) {
enable_processor(proc_id = get_processors()$id[1])
}

Run the code above in your browser using DataLab