Files
smartguide/webapp/src/app/api/model/authorTopicProfile.ts
T

117 lines
2.5 KiB
TypeScript

/**
* Innovation Search Engine API
*
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { SubfieldShare } from './subfieldShare';
/**
* A primary topic within a subfield.
*/
export interface TopicNode {
/**
* The OpenAlex ID of the primary topic.
*/
id: string;
/**
* The primary-topic display name.
*/
name: string;
/**
* Number of works whose primary topic is this topic.
*/
count: number;
}
/**
* A subfield within a field, with its primary topics.
*/
export interface SubfieldNode {
/**
* The OpenAlex ID of the subfield.
*/
id: string;
/**
* The subfield display name.
*/
name: string;
/**
* Number of works whose primary topic belongs to this subfield.
*/
count: number;
/**
* Primary topics within this subfield, largest first.
*/
topics: Array<TopicNode>;
}
/**
* A field with its subfields, top of the primary-topic hierarchy.
*/
export interface FieldNode {
/**
* The OpenAlex ID of the field.
*/
id: string;
/**
* The field display name.
*/
name: string;
/**
* Number of works whose primary topic belongs to this field.
*/
count: number;
/**
* Subfields within this field, largest first.
*/
subfields: Array<SubfieldNode>;
}
export interface AuthorTopicProfile {
/**
* The OpenAlex ID of the author.
*/
author_id: string;
/**
* The name of the author.
*/
display_name: string;
/**
* All works of the author in the timespan, regardless of the topic filter.
*/
works_total: number;
/**
* Works matching the topic filter (same subset as Section 1).
*/
matched_works: number;
/**
* Matched works where one of the searched topics is the work\'s primary topic (only meaningful for filter_type \'topic\').
*/
primary_topic_matches: number;
/**
* Number of distinct primary topics across all works.
*/
distinct_topics: number;
/**
* Number of distinct primary-topic subfields across all works.
*/
distinct_subfields: number;
/**
* Number of distinct primary-topic fields across all works.
*/
distinct_fields: number;
/**
* Top subfields over all works, by primary topic, largest first.
*/
subfields?: Array<SubfieldShare>;
/**
* Field -> subfield -> topic hierarchy over all works, by primary topic,
* each level largest first. Drives the interactive topic treemap.
*/
field_tree: Array<FieldNode>;
}