update_intermediate: update_intermediate

Description Usage Arguments Details Value

Description

Updates the intermediate list that contains auxiliary objects. The intermediate list is used to produce the aggregate list. It therefore needs to be updated combining the present intermediate object with the new events that have been registered

Usage

1
update_intermediate(intermediate, new_events)

Arguments

intermediate:

a list with many objects.

new_events:

a dataframe, see details below.

Details

The "new_events" dataframe should have been processed using the "prepare_events" function. The latter adds in particular "time_spent" and "duration_session", possibly taking into account that the session spans from a previous call to the API The "intermediate" is a list with the following objects:

Value

a list with the same structure than intermediate but where the objects have been updated taking into account the information contained in "new_events"


mkesslerct/INDIeanalyticsIncremental documentation built on May 31, 2019, 5:42 a.m.