air_records_to_tibble: Format Airtable records to a data frame (tibble)

View source: R/airtable.R

air_records_to_tibbleR Documentation

Format Airtable records to a data frame (tibble)

Description

Transforms a list of records obtained from the airtable api (for example using air_get_records) into a data frame.

Usage

air_records_to_tibble(records)

Arguments

records

List of records from an airtable table

Details

Fields that have a only one item are stored as a vector while fields that accept multiple items are stored as a nested list column

Value

a tibble

Examples

## Not run: 
# Get all records for the table boats
air_get_records(table = "boats", base_id = "appjEVaN8kBNXAWak") %>%
  air_record_to_tibble()

## End(Not run)

WorldFishCenter/peskas.timor.data.pipeline documentation built on April 14, 2025, 1:47 p.m.