Skip to content

enrich_affiliations_openalex

Module: src.enrichers.enrich_affiliations_openalex
Category: Enrichers

Usage

python -m src.enrichers.enrich_affiliations_openalex [options]

Options

usage: enrich_affiliations_openalex.py [-h] --authors_file AUTHORS_FILE
                                       --papers_file PAPERS_FILE
                                       [--output_file OUTPUT_FILE]
                                       [--max_authors MAX_AUTHORS] [--verbose]
                                       [--dry_run] [--recheck]
                                       [--data_dir DATA_DIR]

Paper-based affiliation enrichment (OpenAlex + S2 + CrossRef + DBLP)

options:
  -h, --help            show this help message and exit
  --authors_file AUTHORS_FILE
                        Path to authors.yml
  --papers_file PAPERS_FILE
                        Path to paper_authors_map.json
  --output_file OUTPUT_FILE
                        Output path (default: overwrite authors_file)
  --max_authors MAX_AUTHORS
                        Limit number of authors to process
  --verbose
  --dry_run             Don't write changes
  --recheck             Re-query all authors, including those with existing
                        affiliations
  --data_dir DATA_DIR   Website repo root for author index updates