get_links: Get Links for next/first/last query

Description Usage Arguments Value Examples

View source: R/get_next.R

Description

Get Links for next/first/last query

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
get_links(result)

get_url(result, type = c("self", "first", "prev", "next", "last"))

next_url(result)

last_url(result)

prev_url(result)

self_url(result)

first_url(result)

get_link_type(result, ..., type = c("self", "first", "prev", "next",
  "last"))

get_first(result, ...)

get_last(result, ...)

get_prev(result, ...)

get_next(result, ...)

get_self(result, ...)

Arguments

result

Object (list) with an element named content, usually from generic_elsevier_api

type

The type of link requested

...

Options passed to GET

Value

A data.frame or a vector of characters

Examples

1
2
3
4
5
6
7
8
## Not run: 
result <- generic_elsevier_api(
query = "ISSN(0004-3702) AND YEAR(2001)",
search_type = "scopus")
next_result = get_next(result)


## End(Not run)

rscopus documentation built on Sept. 18, 2019, 1:03 a.m.