- data
List. Output of oa_request
.
- entity
Character. Scholarly entity of the search.
The argument can be one of
c("works", "authors", "institutions", "concepts", "funders", "sources", "publishers", "topics").
- options
List. Additional parameters to add in the query. For example:
- `select` Character vector. Top-level fields to show in output.
Defaults to NULL, which returns all fields.
https://docs.openalex.org/how-to-use-the-api/get-single-entities/select-fields
- `sort` Character. Attribute to sort by.
For example: "display_name" for sources or "cited_by_count:desc" for works.
See more at <https://docs.openalex.org/how-to-use-the-api/get-lists-of-entities/sort-entity-lists>.
- `sample` Integer. Number of (random) records to return.
Should be no larger than 10,000.
Defaults to NULL, which returns all records satisfying the query.
Read more at <https://docs.openalex.org/how-to-use-the-api/get-lists-of-entities/sample-entity-lists>.
- `seed` Integer.
A seed value in order to retrieve the same set of random records in
the same order when used multiple times with `sample`.
IMPORTANT NOTE: Depending on your query, random results with a seed value may change over time due to new records coming into OpenAlex.
This argument is likely only useful when queries happen close together (within a day).
- count_only
Logical.
If TRUE, the function returns only the number of item matching the query.
Defaults to FALSE.
- group_by
Character. Attribute to group by.
For example: "oa_status" for works.
See more at <https://docs.openalex.org/how-to-use-the-api/get-groups-of-entities>.
- abstract
Logical. If TRUE, the function returns also the abstract of each item.
Ignored if entity is different from "works". Defaults to TRUE.
- verbose
Logical.
If TRUE, print information about the dataframe conversion process.
Defaults to TRUE.