Learn R Programming

⚠️There's a newer version (2.0.4) of this package.Take me there.

##reconstructr A package for session reconstruction and analysis in R.

Author: Oliver Keyes License: MIT Status: Stable

###Description

A well-studied part of web analytics and human-computer interaction is the concept of a "session": a series of linked user actions. This is used for anything from evaluating the impact of design or engineering changes on users, to providing common, high-level metrics such as time-on-page or bounce rate.

reconstructr is a library designed to efficiently reconstruct sessions from a series of user events, and then generate common metrics from that session-based data, including bounce rate, session length and time-on-page. It features heavy internal use of C++ to make it lightning-fast over datasets containing millions or tens of millions of events, along with a wide range of options with each function, allowing you to heavily customise what data is produced and what data is evaluated. For more information, see the introductory vignette.

reconstructr is under active development: if you find bugs or have suggestions for new features, please feel free to report them.

###Installation

For the current release version:

library(devtools)
install_github("ironholds/reconstructr", ref = "1.0.0")

For the development version:

library(devtools)
install_github("ironholds/reconstructr")

###Dependencies

Copy Link

Version

Install

install.packages('reconstructr')

Monthly Downloads

352

Version

1.1.1

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Oliver Keyes

Last Published

September 2nd, 2016

Functions in reconstructr (1.1.1)

padding_value

automatically generate plausible padding values
reconstructr

functions for session reconstruction and analysis
reconstruct_sessions

split a series of timestamps (or a series of series) associated with UUIDs, into sessions
session_events

count the number of events in a session (or set of sessions)
session_length

Counts the length of each session within a set
session_dataset

Example event dataset
bounce_rate

calculate the bounce rate within a session dataset
event_time

calculate the time between each event in a session, or set of sessions
to_seconds

to_seconds