-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Carla Ferreira - Reporting Mini project #15
base: main
Are you sure you want to change the base?
Carla Ferreira - Reporting Mini project #15
Conversation
…es on the macros folder (including a test) and documentation.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@carsofferrei Nice job, congrats 👏🏻
You made a really nice customer segmentation and you have created simple and clean models that answer the use cases.
Kudos for:
- Documentation 💪🏻
- Testing 💪🏻
- Macros 💪🏻
with customers AS ( | ||
select customer_id | ||
, gender | ||
, {{ age_segm()}} as age |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All customers segmentation you made was really nice 👏🏻
Hello,
This PR reflects the changes to the dbt project to include the reporting models.
In addition to all the files from the previous PR, the project includes:
Reporting folder: containing two new models (channel_effectiveness, customer_responsiveness) and documentation.
Macros folder: with the following macros: age_segm, income_segm, years_since_client_segm, calculate_response_rate, response_rate_test and documentation.
Note: I had troubles creating a test and placed it on tests folders so I placed it on macros folder.
Thank you,
Carla Ferreira