Transform a column into a comma-separated concadenate string in R
Data
How to consolidate rows with similar names and create columns for different years?
I’m working on aggregating raw data to show historical sales to all customers over the past 10 years. Each row includes the (1) company name, (2) part number, (3), year sale was made, (4) quantity. Sales to some of our top customers include many rows with the details listed above for each invoice.