airtable: Create a new airtable object

View source: R/airtable.R

airtableR Documentation

Create a new airtable object

Description

Creates an S3 airtable object, which serves as a pointer for rairtable functions

Usage

airtable(
  table,
  base,
  view = NULL,
  api_url = "https://api.airtable.com",
  api_version = 0
)

Arguments

table

Table name in Airtable

base

Airtable base containing table. A base functions like a schema in a traditional database. You can retrieve the base ID from the API documentation.

view

Optional view of data to read

api_url

API endpoint to connect to. Can be changed for API integrations that require custom endpoint

api_version

Version of API to use. Defaults to 0 (the current version as of Fall 2021)

Value

An airtable object

Examples

## Not run: 
table <- airtable("Table 1", "appXXXXXXXXXXXXX")

## End(Not run)

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