Convert OpenAlex collection of publishers' records from list format to data frame
Source:R/oa2df.R
publishers2df.Rd
It converts bibliographic collection of publishers' records gathered from OpenAlex database https://openalex.org/ into data frame.
The function converts a list of publishers' records obtained using oa_request
into a data frame/tibble.
Usage
publishers2df(
data,
verbose = TRUE,
pb = if (verbose) oa_progress(length(data)) else NULL
)
Value
a data.frame.
For more extensive information about OpenAlex API, please visit: <https://docs.openalex.org>
Examples
if (FALSE) { # \dontrun{
# Get publishers located in Canada with more than 100,000 citations
res <- oa_request(
"https://api.openalex.org/publishers?filter=country_codes:ca"
)
df <- oa2df(res, entity = "publishers")
df
} # }