2024: Week 25 - SuperBytes Customer Complaints
Challenge by: Tobias Colmer
We're continuing with DS43's challenges so over to Tobias to explain his first challenge.
_____________________________________
This week Superbytes needs you to take a look at their complaints data, as an error was spotted in a recent data leak posted by rival supermarket WeakFloats: we need to check if their claims are true! They claim that:
we have no category field in our data clearly stating the category of products being complained about & that we were resolving complaints before we’d even received them!
Inputs
There are 2 inputs for this challenge:
Requirements
- Input the dataInput the data
- Split the Complaint Description field into:
- Product ID
- Issue Type
- Complaint Description (the text the customer wrote to describe the complaint)
- Extract the first 2 letters of the Product ID as this represents the Category Code
- Use this Category Code to join on the Product Category from the lookup table
- Filter the dataset to only contain rows where the Date Resolved happens after the Date Received
- Remove unnecessary fields
- Output the dataOutput the data
Output
- 11 fields
- Complaint ID
- Receipt Number
- Customer ID
- Date Received
- Date Resolved
- Timely Response
- Response to Customer
- Issue Type
- Product Category
- Product ID
- Complaint Description
- 53 rows (54 including headers)
You can view the output here.
After you finish the challenge make sure to fill in the participation tracker, then share your solution on Twitter using #PreppinData and tagging @Datajedininja, @JennyMartinDS14 & @TomProwse1
You can also post your solution on the Tableau Forum where we have a Preppin' Data community page. Post your solutions and ask questions if you need any help!