Caltech Library logo
skip to main content

NAME

generate_collaborator_affiliations_rpt

SYNOPSIS

generate_collaborator_affiliations_rpt OPTIONS CLPID

DESCRIPTION

Given a CLPID, generate a collaborator affiliations report as a CSV file. This report is similar to the basic collaborator report but expands affiliation details. Each row represents one (coauthor, affiliation, CaltechAUTHORS record) combination, allowing acknowledgement and additional information context to be read per publication.

The output columns are:

Acknowledgement and Additional Information are sourced from the record’s metadata.additional_descriptions field (types “Acknowledgement” and “Additional Information” respectively). Multiple entries of the same type within one record are joined with two line breaks.

Records searched cover all available CaltechAUTHORS history. ROR country lookups use the local ror.ds dataset collection and are cached per affiliation to minimise datasetd calls.

OPTIONS

-h, –help
display help
-l, –license
display license
-v, –version
display version
–record_ids
Include the CaltechAUTHORS record identifier as a final column (do not submit to NSF)

EXAMPLE

Generate a collaborator affiliations report:

generate_collaborator_affiliations_rpt Newman-D-K >Newman_affiliations.csv

Include CaltechAUTHORS record IDs for cross-referencing:

generate_collaborator_affiliations_rpt --record_ids Newman-D-K >Newman_affiliations.csv