Description Usage Arguments Value Examples
View source: R/scopus_search.R
This function wraps generic_elsevier_api
to give a
scopus search from the Elsevier Scopus Search API
Searches SCOPUS to get information about documents on an author.
1 2 3 4 5 6 7 8 9 | scopus_search(query, api_key = NULL, count = 200,
view = c("STANDARD", "COMPLETE"), start = 0, verbose = TRUE,
max_count = 20000,
http = "https://api.elsevier.com/content/search/scopus",
headers = NULL, wait_time = 0, ...)
sciencedirect_search(count = 100, ...)
scidir_search(count = 100, ...)
|
query |
Query string to search on SCOPUS |
api_key |
API Key for Elsevier |
count |
number of records to retrieve (below 200 for STANDARD, below 25 for COMPLETE views, see https://dev.elsevier.com/api_key_settings.html). |
view |
type of view to give, see https://api.elsevier.com/documentation/ScopusSearchAPI.wadl |
start |
where should the records start gathering |
verbose |
Print diagnostic messages |
max_count |
Maximum count of records to be returned. |
http |
Address for scopus API |
headers |
additional headers to be added to
|
wait_time |
The time in seconds to wait across consecutive requests of a single search (when records > 25) |
... |
Arguments to be passed to the query list for
|
List of entries from SCOPUS
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | if (have_api_key()) {
res = scopus_search(query = "all(gene)", max_count = 20,
count = 10)
df = gen_entries_to_df(res$entries)
head(df$df)
sci_res = sciencedirect_search(query = "heart+attack AND text(liver)",
max_count = 30, count = 25)
sci_df = gen_entries_to_df(sci_res$entries)
Sys.sleep(2)
nt = sciencedirect_search(query = "title(neurotoxin)", max_count = 20,
count = 10, wait_time = 1)
nt_df = gen_entries_to_df(nt$entries)
nt_df = nt_df$df
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.