-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Some suggestions #22
Comments
Thanks Ramnath! I'll work on these this week. |
@ramnathv from my understanding of this function, you'd want to specify How I reproduced your result:
|
@robinsones That will work! Note that I am proposing this only as an internal utility function to help make clear the distinction of the output produced by the different variations, since it is a little nuanced. It will only be useful when working with toy datasets. |
@robinsones First off, great package! It makes creating and analyzing funnels clean and easy. Based on my navigation of the package's API, I had some suggestions:
You might want to make
landed
andregistered
datasets in the package so users can get started with the examples without having to define them. This can be extended to define out-of-memory versions of the data by taking advantage ofdbplyr::src_dbi
.The notion of a join
type
is great and factors in the multiple scenarios that one might run into. However, I had trouble visualizing the execution and how eachtype
results in a different output compared to the pure version of thejoin
function. So I put together a helper function that allows one to visualize the differences. Based on this, here is my understanding of the working ofafter_join
:{mode}_join
event_x
occurs beforeevent_y
user_id
only retain versions of events specified bytype
any-any
will retain all records in Step (2)first-first
,first-firstafter
, andlastbefore-firstafter
will retain only ONE record per user.Is my understanding correct? It might be useful to add something like this to the documentation so it is really clear to users how these
after_joins
work.after_join_all
The text was updated successfully, but these errors were encountered: