fetchSessDurData: Fetch session duration data for a given group of users

Description Usage Arguments Value

Description

Fetch session duration data for a given group of users

Usage

1
2
3
fetchSessDurData(userGroup = NULL, runDate = as.numeric(gsub(pattern = "-",
  replacement = "", x = Sys.Date())), csvLoc = NULL,
  con = redshift_connection$con)

Arguments

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.

Value

data.frame of the form (user_id, active_week_start_date)


johnchower/gloobtyd documentation built on May 19, 2019, 3:03 p.m.