Description Usage Arguments Value References See Also Examples
This function adds a parameter to the URL to filter records in a simple way, using equality only. For more advanced filters, see soql_where
.
1 | soql_simple_filter(soql_list, column, value)
|
soql_list |
The |
column |
The column name to filter by. |
value |
The value the column must be equal to. |
Returns a new soql
object, with a filter 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_simple_filter("height", 50) %>%
as.character()
} else {
# Without pipes
soql_chain <- soql()
soql_chain <- soql_simple_filter(soql_chain, "height", 50)
my_url <- as.character(soql_chain)
}
|
Loading required package: magrittr
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.