dsApi2df {dimensionsR} | R Documentation |
Convert json dimensions bibliographic data into a dataframe
Description
It converts dimensions data, downloaded using DSL API, into a dataframe
Usage
dsApi2df(P, format = "bibliometrix")
Arguments
P |
is a list in json dimensions structure downloaded using the function |
format |
is a character. If |
Value
a dataframe containing bibliographic records or grants information.
To obtain a free access to Dimenions API fro no commercial use, please visit: https://ds.digital-science.com/NoCostAgreement
For more extensive information about dimensions API, please visit: https://www.dimensions.ai/dimensions-apis/
For more extensive information about bibliometrix R packagee, please visit: https://www.bibliometrix.org
See Also
Examples
# Example 1: Querying a collection of publications
## Not run:
token <- dsAuth(username = "my.email@my.domain", password = "mypassword")
query <- dsQueryBuild(item = "publications", words = "bibliometric*",
type = "article", categories = "management",
start_year=1980,end_year = 2020)
D <- dsApiRequest(token = token, query = query, limit = 50000)
M <- dsApi2df(D)
## End(Not run)
# Example 2: Querying a collection of grants
## Not run:
token <- dsAuth(username = "my.email@my.domain", password = "mypassword")
query <- dsQueryBuild(item = "grants", words = "bibliometric*",
type = "", categories = "management",
start_year=1980,end_year = 2020)
D <- dsApiRequest(token = token, query = query, limit = 50000)
M <- dsApi2df(D)
## End(Not run)