An S4 class to represent a Flash Report query.
min_dateA Date object, representing the first day of the date ranges for which results are collected.
max_dateA Date object, representing the final day of the date ranges for which results are collected.
user_groupinteger vector of user_ids to restrict results to. Cannot specify both user_group and user_group_query.
user_group_queryCharacter 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_nameCharacter, a name for the user group you're running the query on.
query_prototypeA 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.
queryA character. The actual query to run in Redshift.
raw_resultsA data frame. The results of running "query".
final_resultsA 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.