combine_analytics: Combine multiple analytics reports.

Description Usage Arguments Details

Description

Allows users to combine a given number of analytics reports into a helpful compiled format.

Usage

1
combine_analytics(prefix, weeks)

Arguments

prefix

A character string. This is the regular expression that will be included in each of your file names. I suggest that this expression be entirely lower case and not include any spaces. For instance, if I were looking to combine analytics reports from Texas Politics, I may name each file starting with "txpol_spring_".

weeks

An integer. This is the number of analytics reports you want to combine. For instance, if I want to look at a full term of SNHU analytics reports, I may want to look at 8 weeks. This means I would give this value 8.

Details

'combine_analytics' will return a named data.frame which can be exported as a .csv file with useful column names. This function requires you to name functions using some consistent style and within the same file. For instance, if you want to combine 8 weeks of analytics reports from the admin space, you might name each file analytics_report_n where n is the week in question. The columns returned will include the user id for each student as 'user_id', as well as question completion percentage, time spent in minutes, first attempt score, last attempt score, and if templates were used in that chapter.


plduffy/rsoomo documentation built on May 26, 2019, 12:32 a.m.