aggregateOpenalexWorks
Free
Get aggregate counts of works grouped by a dimension (year, type, OA status, institution, country, etc.).
Try it
kirha tools run openalex_aggregateOpenalexWorks \
--input '{
"groupBy": "publication_year"
}'Uses the key saved by kirha auth login.
groupBystring, requiredOne of publication_year, type, open_access.oa_status, is_oa, primary_location.source.id, primary_location.source.type, authorships.institutions.id, authorships.institutions.country_code, authorships.institutions.continent, topics.domain.id, topics.field.id, topics.subfield.id, primary_topic.id, language, is_retracted
authorIdsstring[]Author OpenAlex IDs
fromDatestringYYYY-MM-DD
institutionIdsstring[]Institution OpenAlex IDs
isOabooleansearchstringsourceIdsstring[]Source OpenAlex IDs
toDatestringYYYY-MM-DD
topicIdsstring[]Topic OpenAlex IDs
typestringOne of article, preprint, book, book-chapter, dissertation, dataset, review, report, letter, editorial, grant, software