update_records {rairtable} | R Documentation |
Update Airtable records
Description
Update one or more columns of data in an Airtable table. Supports batch updates and parallel JSON encoding (recommended for large tables).
Usage
update_records(
data,
airtable,
columns = dplyr::everything(),
airtable_id_col = "airtable_record_id",
safely = TRUE,
parallel = FALSE,
batch_size = 10
)
Arguments
data |
A dataframe containing the records and fields to update |
airtable |
An airtable object |
columns |
Columns in the data to update on Airtable. Can be a vector of character strings, unquoted column names, or a |
airtable_id_col |
Column containing Airtable record IDs. Not required if record IDs are stored in row names as returned from |
safely |
If |
parallel |
If |
batch_size |
Number of records to update per request. Maximum of 10 |
Value
A dataframe (invisibly) of the input data, to be stored as an object or piped into further 'dplyr' functions