rpys
Count cited references by year, subtract the five-year median, and identify peak years with the most-cited works to reveal a paper set's historical roots; writes CSV and PNG.
Instructions
Reference Publication Year Spectroscopy (Marx et al. 2014): counts every cited reference of a set of papers by the year the cited work appeared, subtracts the five-year median, and reports the peak years with the works cited most from each: the set's historical roots. Give ids or a query (e.g. the confirmed citers from resolve_citers). Writes a CSV of the spectrogram and a PNG. Cost: one reference request per paper (cached; shared with citation_network). With source='openalex' the cited works are fetched in batches of 50.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | No | The papers (Scopus IDs/EIDs; with source='openalex', DOIs or OpenAlex IDs). Use this or query. | |
| query | No | Search query defining the set, instead of ids. | |
| scope | No | Restrict to journals, by ISSN: a list of ISSNs, or a basket name ('basket_of_eight' / 'ais8': the AIS Senior Scholars' Basket of Eight). ISSNs are used rather than journal names, which Scopus spells inconsistently. | |
| source | No | Data source. 'scopus' (default) needs subscriber entitlement for search, citations and references. 'openalex' needs none: IDs may be DOIs, OpenAlex work IDs (W...), or Scopus IDs (resolved to a DOI via Scopus metadata), and results carry OpenAlex IDs. Never mix sources within one analysis. | scopus |
| to_year | No | Latest cited year (default: this year). | |
| from_year | No | Earliest cited year to count (default 1900). | |
| top_peaks | No | Peaks to report (default 10). | |
| corpus_file | No | A corpus file from import_records, instead of ids or query. | |
| max_results | No | With query: how many papers to include (default 300). |