aa_summary_by_content: aa_summary_by_content

Description Usage Arguments Details

View source: R/activity.R

Description

This summarises 'activity' data, according to the fields: id : A unique key for the user session : A unique key for each 'session', which denotes a single login from a single user timestamp : When the event occured content : A collection of field names that describe what was accessed

Usage

1
2
aa_summary_by_content(aa, content = c("event", "handle", "data",
  "content_pk1"), max_time_interval = "2 days")

Arguments

aa

dataframe of activity data. Must include column names corresponding to the other params

content

A character vector of the field names that define the content

max_time_interval

The cutoff for duration of any session (duration data type, accepts recognised strings). Any session registering above this is filtered out as it is likely to be someone just logging in and then walking away. Defaults to 2 days.

Details

The defaults have been setup to work with Blackboard DDA report data, hence some of the strange names.


benwhicks/lakit documentation built on Sept. 28, 2019, 4:27 p.m.