aggregateOpenalexWorks

Free

Get aggregate counts of works grouped by a dimension (year, type, OA status, institution, country, etc.).

Try it

Open in playground
kirha tools run openalex_aggregateOpenalexWorks \
  --input '{
    "groupBy": "publication_year"
  }'

Uses the key saved by kirha auth login.

  • groupBystring, required

    One 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

  • fromDatestring

    YYYY-MM-DD

  • institutionIdsstring[]

    Institution OpenAlex IDs

  • isOaboolean
  • searchstring
  • sourceIdsstring[]

    Source OpenAlex IDs

  • toDatestring

    YYYY-MM-DD

  • topicIdsstring[]

    Topic OpenAlex IDs

  • typestring

    One of article, preprint, book, book-chapter, dissertation, dataset, review, report, letter, editorial, grant, software