soql_offset {soql} | R Documentation |
This function adds a parameter to a soql
object that controls what index the returned records start at. For more information, view the SODA documentation linked in the References section below.
soql_offset(soql_list, offset)
soql_list |
The |
offset |
Desired starting index of responses. |
Returns a new soql
object, with an offset parameter added, for use in other functions.
Documentation on the SODA website
if (require(magrittr)) {
# With pipes
my_url <- soql() %>%
soql_offset(50) %>%
as.character()
} else {
# Without pipes
soql_chain <- soql()
soql_chain <- soql_offset(soql_chain, 50)
my_url <- as.character(soql_chain)
}