sync-jobs

raven sync-jobs #

Download openjobdata daily deltas into a local SQLite index.

Usage #

raven sync-jobs
raven sync-jobs --days 3

What it does #

  1. Syncs companies registry from HuggingFace bucket
  2. Downloads recent daily parquet deltas
  3. Upserts into data/jobs.db
  4. Exports ATS company slug lists to data/cache/ats-companies/

Environment #

If you get HTTP 401:

# .env
HF_TOKEN=hf_xxxxxxxx

After sync #

raven discover --sources index --q "engineer"
raven query --q "ML engineer" --since 7

Flags #

FlagDescription
--days NNumber of daily deltas to fetch
--fullFull backfill (slow)
--no-export-atsSkip ATS slug export

See openjobdata for details.