Compares filenames between local data and remote records, uploads new/changed files, skips unchanged.
Arguments
- base_id
Base ID (e.g.,
"appXXXXXX"). IfNULL, uses the session default set byair_set_base()or theAIRTABLE_BASE_IDenvironment variable.- table
Table name or ID.
- field
Name of the attachment field.
- data
A tibble with a key column and
file_pathcolumn.- key
Column name that identifies which record to attach to.
- parallel
Logical or
NULL. IfTRUE, attachment downloads usehttr2::req_perform_parallel()(up to 5 concurrent). IfNULL, uses optionairtable2.parallelor env varAIRTABLE2_PARALLEL(defaultTRUE).- .token
Personal access token (resolved via
air_token()ifNULL).