Skip to contents

Main functions

oa_fetch()
A composition function to perform query building, requesting, and convert the result to a tibble/data frame.
oa_snowball()
A function to perform a snowball search and convert the result to a tibble/data frame.
oa_ngrams()
Get N-grams of works
oa_random()
oa_fetch but for a random query

Utility functions

show_authors()
Simplify the OpenAlex authors result
show_works()
Simplify the OpenAlex works result

Low-level functions

oa_query()
Generate an OpenAlex query from a set of parameters
oa_request()
Get bibliographic records from OpenAlex database
oa_generate()
A generator for making request to OpenAlex API Returns one record at a time.

To dataframe

convert the JSON object to tibble/dataframe

authors2df()
Convert OpenAlex collection of authors' records from list format to data frame
concepts2df()
Convert OpenAlex collection of concepts' records from list format to data frame
funders2df()
Convert OpenAlex collection of funders' records from list format to data frame
institutions2df()
Convert OpenAlex collection of institutions' records from list format to data frame
oa2df()
Convert OpenAlex collection from list to data frame
publishers2df()
Convert OpenAlex collection of publishers' records from list format to data frame
snowball2df()
Flatten snowball result
sources2df()
Convert OpenAlex collection of sources' records from list format to data frame
venues2df()
Convert OpenAlex collection of venues' records from list format to data frame
works2df()
Convert OpenAlex collection of works from list format to data frame

Data and others

countrycode
Index of Countries and their alpha-2 and aplha-3 codes.
concept_abbrev
Concepts and abbreviations.
oa_entities()
Available entities in the OpenAlex database
oa2bibliometrix()
Convert OpenAlex collection from data frame to bibliometrix object