Coming soon - Get a detailed view of why an account is flagged as spam!
view details

This post has been de-listed

It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.

2
Remove duplicates based on several variables, but combine unique text values in another field.
Post Body

I have some data that I need to collapse to one row per unique item (say, person) per month. I have a unique code (say, social security number) for each person. However, I have some duplicate observations in each time period, because, perhaps some people have two jobs in a given month. For these cases, I want to combine all of their jobs in that month into one text variable. For example, if the input is:

ID Month Job
1233 Jan Accounting
1234 Jan Waiter
1234 Jan Barber
1234 Feb Barber

I want the output to be something like:

ID Month Job
1233 Jan Accounting
1234 Jan Waiter/Barber
1234 Feb Barber

I know how to find the duplicates, but am stuck on how to combine perhaps 2-3 different Jobs, if and when they occur. Thank you for your ideas!

Author
Account Strength
100%
Account Age
10 years
Verified Email
Yes
Verified Flair
No
Total Karma
12,443
Link Karma
122
Comment Karma
11,831
Profile updated: 1 day ago
Posts updated: 1 month ago

Subreddit

Post Details

We try to extract some basic information from the post title. This is not always successful or accurate, please use your best judgement and compare these values to the post title and body for confirmation.
Posted
4 years ago