custom_query | R Documentation |
This functions provides a shorthand for queries of the form "select x from (standalone-query) where ... group by ... having ..."
custom_query(custom, id_field, id_type, where = NULL, having = NULL)
custom |
A SQL query (as a character vector of length 1) |
id_field |
the name of the id column in |
id_type |
a text label for the type of id |
where |
pre-aggregated filter conditions |
having |
post-aggregated filter conditions |
This function is similar to aggregate_q except the source is not constrained to being a single table, it can be any query.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.