if (FALSE) {
# with daiR configured on your system, several parameters are automatically provided,
# and you can pass simple calls, such as:
dai_async("my_document.pdf")
# NB: Include all parent bucket folders (but not the bucket name) in the filepath:
dai_async("for_processing/pdfs/my_document.pdf")
# Bulk process by passing a vector of filepaths in the files argument:
dai_async(my_files)
# Specify a bucket subfolder for the json output:
dai_async(my_files, dest_folder = "processed")
}
Run the code above in your browser using DataLab