LabelNewUsers#
Data processor#
- class retentioneering.data_processors_lib.label_new_users.LabelNewUsers(params)[source]#
Create a new synthetic event for each user:
new_userorexisting_user.- Parameters:
- new_users_listlist of int or list of str or all
If the list of user_ids is given -
new_userevent will be created for each user from the list. Eventexisting_userwill be added to the rest of the users.If
all-new_usersynthetic event will be created for all users from the inputeventstream.
- Returns:
- Eventstream
Eventstream with new synthetic events, one for each user:
event_name
event_type
timestamp
new_user
new_user
first_event
existing_user
existing_user
first_event
Notes
See Data processors user guide for the details.
- class retentioneering.data_processors_lib.label_new_users.LabelNewUsersParams(*, new_users_list)[source]#
A class with parameters for
LabelNewUsersclass.