delete_records: Delete airtable records

View source: R/delete_records.R

delete_recordsR Documentation

Delete airtable records

Description

Delete records in an Airtable table based on their Airtable record ID.

Usage

delete_records(
  data,
  airtable,
  airtable_id_col = "airtable_record_id",
  safely = TRUE,
  batch_size = 10
)

Arguments

data

A data frame containing records to delete

airtable

An airtable object

airtable_id_col

Column containing Airtable record IDs. Not required if record IDs are stored in row names as returned from read_airtable.

safely

If TRUE, ask for confirmation before executing DELETE request

batch_size

Number of requests to send at a time. Maximum of 10.

Value

A vector of IDs deleted


rairtable documentation built on April 3, 2023, 5:48 p.m.