Skip to content
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

Open
wants to merge 13 commits into
base: main
Choose a base branch
from

Conversation

carsofferrei
Copy link

@carsofferrei carsofferrei commented Dec 26, 2024

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

Copy link
Owner

@paty-oliveira paty-oliveira left a 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
Copy link
Owner

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 👏🏻

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants