Barn Swallow data feed

Data files from Barn Swallow Consulting, for evaluation by the people we've given access to. Every file needs the access token we emailed you (it starts with bsf_).

In a browser

  1. Open the README. Your browser asks you to sign in.
  2. Username: feed. Password: paste your token.

Open the README

It says what's here and what each column means. catalog.json lists every file. To open one, put https://feed.barnswallow.consulting/v1/ in front of its path; data files download. Don't put your token in a link, and on a shared computer close the browser when you're done.

curl

export FEED_TOKEN='your token'
curl -fsS -H "Authorization: Bearer $FEED_TOKEN" https://feed.barnswallow.consulting/v1/README.md

DuckDB

Put any .parquet path from the catalog in place of PATH.parquet.

INSTALL httpfs;
LOAD httpfs;
CREATE SECRET feed (TYPE http, BEARER_TOKEN 'your token');
SELECT * FROM read_parquet('https://feed.barnswallow.consulting/v1/PATH.parquet') LIMIT 10;

Python

import os, urllib.request
req = urllib.request.Request("https://feed.barnswallow.consulting/v1/catalog.json",
    headers={"Authorization": "Bearer " + os.environ["FEED_TOKEN"], "User-Agent": "feed"})
print(urllib.request.urlopen(req).read().decode())

Terms

Evaluation access only, for the organization the token was given to. It is not a licence. It is non-exclusive and can be withdrawn at any time. Don't resell the data or pass it on, and credit the sources. The README has the full terms.

Questions

Reply to the email your access came in, or write to rusty@barnswallow.consulting.