powered by
segment_fullname is also added : it's the combination of segment's id and name. segment_id should be in the configuration file.
segment_fullname
segment_id
enrich_name(data)
Same dataframe with two additionnal columns : segment_name and segment_fullname
segment_name
Data frame containing a segment_id column
df <- data.frame('segment_id' = c(9000002156, 9000001906)) enrich_name(df)
Run the code above in your browser using DataLab