An S4 class to represent a Flash Report query.
min_date
A Date object, representing the first day of the date ranges for which results are collected.
max_date
A Date object, representing the final day of the date ranges for which results are collected.
user_group
integer vector of user_ids to restrict results to. Cannot specify both user_group and user_group_query.
user_group_query
Character containing a SQL query that returns a table with a single column, user_id. Cannot specify both user_group and user_group_query.
user_group_name
Character, a name for the user group you're running the query on.
query_prototype
A character. Represents the SQL query that will return the desired results, but the date filters are general, and need to be subbed in using the 'substitute_dates' method.
query
A character. The actual query to run in Redshift.
raw_results
A data frame. The results of running "query".
final_results
A data frame. The formatted results that are ready to be bound to all other query results.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.