Closed robinsones closed 5 years ago
tbl_views_snowplow_moments() %>% funnel_start("registration", tstamp, user_id) %>% funnel_step("exercise_start", type = "first-firstafter") %>% funnel_step("project_start", type = "first-firstafter") %>% funnel_step("subscription", type = "first-firstafter") %>% funnel_end()
end result: columns: user_id, event_id_exercise_start... tstamp_exercise_start, tstamp_project_start, subscription
tbl_funnel: a tbl_df with an attribute containing original data, tstamp column, and user column
Do the joining at each step
add unit tests
done
tbl_views_snowplow_moments() %>% funnel_start("registration", tstamp, user_id) %>% funnel_step("exercise_start", type = "first-firstafter") %>% funnel_step("project_start", type = "first-firstafter") %>% funnel_step("subscription", type = "first-firstafter") %>% funnel_end()
end result: columns: user_id, event_id_exercise_start... tstamp_exercise_start, tstamp_project_start, subscription
tbl_funnel: a tbl_df with an attribute containing original data, tstamp column, and user column