![](../logo.png)
Convert OpenAlex collection of topics' records from list format to data frame
Source:R/oa2df.R
topics2df.Rd
It converts collection of topics' records gathered from the OpenAlex database.
The function converts a list of topics' records obtained using oa_request
into a data frame/tibble.
Usage
topics2df(
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{
# Query to search information about all Italian educational institutions
query_inst <- oa_query(
entity = "topics",
display_name.search = "electrodynamics"
)
res <- oa_request(
query_url = query_inst,
count_only = FALSE,
verbose = FALSE
)
df <- oa2df(res, entity = "topics")
df
} # }