Convert OpenAlex collection of venues' records from list format to data frame
Source:R/oa2df.R
venues2df.Rd
It converts bibliographic collection of venues' records gathered from OpenAlex database https://openalex.org/ into data frame.
The function converts a list of venues' records obtained using oa_request
into a data frame/tibble.
Arguments
- data
List. Output of
oa_request
.- verbose
Logical. If TRUE, print information on querying process. Default to
verbose = FALSE
.
Value
a data.frame.
For more extensive information about OpenAlex API, please visit: <https://docs.openalex.org>
Examples
if (FALSE) {
# Query to search information about the Journal of Informetrics (OA id:V205292342)
query_inst <- oa_query(
identifier = "V205292342",
entity = "venues"
)
res <- oa_request(
query_url = query_inst,
count_only = FALSE,
verbose = FALSE
)
df <- oa2df(res, entity = "venues")
df
}
# @export