Data | data.frame/str | | data.frame or a file address where customer journeys are stored |
var_path | str | | name of the column containing paths |
var_conv | str | | name of the column containing total conversions |
var_value | str | None | name of the column containing total conversion value |
var_null | str | None | name of the column containing total paths that do not lead to conversion |
row_sep | str | "," | if Data is a file address then row _sep is the line separator |
cha_sep | str | ">" | separator between channels |
type_worth | str | "odds" | type of quantity used for attribution. It can be equal to "sum" (sum of conversions), "cr" (conversion rate), "odds" (classical odds), "diff_odds" (differential odds) or "exp_odds" (exponential odds) |
verbose | bool | True | if True, additional information during the execution will be shown |
file_output | str | None | file address where path attribution will be written |
flg_write_nulls | bool | True | If True then non converting paths will be returned in path attribution output |
flg_write_paths | bool | False | If True then paths will be returned in the path attribution output |
server | str | "app.channelattribution.io" | address of the server where password will be checked to authorize the execution of the function |
password | str | None | user |