Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add airtable example #1477

Merged
merged 2 commits into from
Jun 21, 2024
Merged

Add airtable example #1477

merged 2 commits into from
Jun 21, 2024

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
4 checks passed
@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
3 participants