Skip to content

Conversation

@Fil
Copy link
Contributor

@Fil Fil commented Jun 21, 2024

View live: https://observablehq.observablehq.cloud/framework-example-loader-airtable/

This Observable Framework example demonstrates how to write a JavaScript data loader that uses Airtable as a backend. The data loader lives in src/data/penguins.csv.ts.

(Since the example depends on a personal access token, I've also uploaded the resulting data as a static file.)

closes #1377

@Fil Fil requested a review from allisonhorst June 21, 2024 13:45
Copy link
Contributor

@allisonhorst allisonhorst left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Example LGTM! Also add to Examples README

@Fil Fil enabled auto-merge (squash) June 21, 2024 14:23
@Fil Fil merged commit f0e45f1 into main Jun 21, 2024
@Fil Fil deleted the fil/airtable branch June 21, 2024 14:25

Airtable.configure({apiKey: AIRTABLE_PAT});

const base = Airtable.base(AIRTABLE_DB as string);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should probably be AIRTABLE_DB! instead of using as string.

Fil added a commit that referenced this pull request Jun 26, 2024
@Fil Fil mentioned this pull request Jun 26, 2024
Fil added a commit that referenced this pull request Jun 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Airtable data loader

4 participants