searchScopus: searchScopus

Description Usage Arguments Value Author(s) See Also Examples

View source: R/searchScopus.R

Description

This function accepts a search string in URL format and an Elsevier API Key and returns the DOI numbers of all search results as a vector for further processing.

Usage

1
2
3
4
5
6
7
searchScopus(
  searchString,
  myAPIKey,
  maxResults = 500,
  countIncrement = 200,
  saveToWd = FALSE
)

Arguments

searchString

The search string you want to ask the server. See the Scopus API (https://dev.elsevier.com/) for details.

myAPIKey

Your private Elsevier API key for communicating with the API. You can request one at https://dev.elsevier.com/.

maxResults

The maximum amount of accepted search results. Usually, Scopus does not provide more than 5000 results.

countIncrement

The number of results per GET request. A private user can't exceed 25 per request. If you are inside a subscribed IP range, you can use the maximum of 200 per request. Note that the weekly quota for requests is 20,000.

saveToWd

A logical parameter whether or not to save the output of the function to the working directory. This is especially useful for later analysis steps. The file can be read in by using readRDS.

Value

A data frame containing the DOI numbers and Scopus-IDs of the search results, as well as paper metadata like author and publishing year.

Author(s)

Creator of the scicloud workflow: Henrik von Wehrden, henrik.von_wehrden@leuphana.de

Code by: Matthias Nachtmann, matthias.nachtmann@stud.leuphana.de, Lisa Gotzian, lisa.gotzian@stud.leuphana.de, Prabesh Dhakal, prabesh.dhakal@stud.leuphana.de

First version of scicloud: Matthias Nachtmann, matthias.nachtmann@stud.leuphana.de

See Also

Other scicloud functions: createScicloudList(), deleteRDS(), inspectScicloud(), runAnalysis()

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
## Not run: 
DOInumbers <- searchScopus("TITLE-ABS-KEY(sustainability) AND PUBYEAR > 2009",
  "1234567890ABCDEF",
  maxResults = 160, countIncrement = 20
)
View(DOInumbers)

## Run the analysis with the acquired dataframe using scicloud
# Create a tfidf wordlist
scicloudList <- createScicloudList(scopusList = DOInumbers, myAPIKey = myAPIKey)

# Run the analysis with a specified no. of cluster
scicloudAnalysis <- runAnalysis(scicloudList = scicloudList, numberOfClusters = 4)

# Generate a summary of the analysis
scicloudSpecs <- inspectScicloud(scicloudAnalysis)

## End(Not run)

LisaGotzian/scicloud documentation built on March 29, 2021, 5:52 a.m.