Learn R Programming

SportMiner (version 0.1.0)

sm_search_scopus: Search Scopus Database

Description

Retrieves abstracts and metadata from the Scopus database based on a structured query. Handles pagination automatically and provides progress feedback.

Usage

sm_search_scopus(
  query,
  max_count = 200,
  batch_size = 100,
  view = "COMPLETE",
  verbose = TRUE
)

Value

A data.frame containing the retrieved papers with columns including title, abstract, author_keywords, year, DOI, and EID.

Arguments

query

Character string containing the Scopus search query. Should follow Scopus query syntax (e.g., 'TITLE-ABS-KEY("machine learning")').

max_count

Maximum number of papers to retrieve. Use Inf to retrieve all available papers. Default is 200.

batch_size

Number of records to retrieve per API call. Maximum is 100. Default is 100.

view

Level of detail in the response. Options are "STANDARD" or "COMPLETE". Default is "COMPLETE".

verbose

Logical indicating whether to print progress messages. Default is TRUE.

Examples

Run this code
if (FALSE) {
# Requires Scopus API key
sm_set_api_key()
query <- 'TITLE-ABS-KEY("sport science" AND "machine learning")'
papers <- sm_search_scopus(query, max_count = 50)
}

Run the code above in your browser using DataLab