Description Usage Arguments Value References See Also Examples
Adds a parameter to the SODA URL that limits how many responses the API will send back.
| 1 | soql_limit(soql_list, limit)
 | 
| soql_list | The  | 
| limit | Number of records desired. | 
Returns a new soql object, with a limit 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_limit(5) %>%
    as.character()
} else {
  # Without pipes
  soql_chain <- soql()
  soql_chain <- soql_limit(soql_chain, 5)
  my_url <- as.character(soql_chain)
}
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.