Description Usage Arguments Value References See Also Examples
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.
1 | 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
1 2 3 4 5 6 7 8 9 10 11 | 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)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.