Description Usage Arguments Value
Fetch session duration data for a given group of users
1 2 3 | fetchSessDurData(userGroup = NULL, runDate = as.numeric(gsub(pattern = "-",
replacement = "", x = Sys.Date())), csvLoc = NULL,
con = redshift_connection$con)
|
userGroup |
A numeric vector of user_ids. Only user_ids belonging to this set will be included in the analysis. |
runDate |
A numeric date id in the form yyyymmdd. All data after this date will be dropped. |
csvLoc |
A string containing the location of a csv file containing session duration data. If left NULL, data will be fetched from Redshift. |
con |
A database connection object to fetch the results from. |
data.frame of the form (user_id, active_week_start_date)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.