Description Usage Arguments Value
Get a data frame matching each user to the values of several confounding variables.
1 2 3 | getConfounders(users = NULL, queryList, wide = F,
runDate = as.numeric(gsub(pattern = "-", replacement = "", x = Sys.Date())),
con = redshift_connection$con)
|
users |
Numeric, a vector of user ids to include in the calculation. |
queryList |
A list of queries to run in the calculation. Each query calculates one or more confounding variables, and returns the results in a data.frame. |
wide |
Should results be returned in wide format (T) or long format (F)? |
runDate |
A dateid of the form yyyymmdd (numeric). All dates after the runDate will be filtered out. |
con |
The database connection to run the queryList against. |
A data.frame of the form (user_id, variable, value).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.