Addresed Uri's comments and also included new reports in exposures.ymal

This commit is contained in:
Joaquin Ossa 2024-07-03 12:29:01 +02:00
parent 0cda63d1a7
commit af4ab70b96
3 changed files with 113 additions and 6 deletions

View file

@ -30,9 +30,9 @@ with
)
select
gss.id_verification_request,
u.id_user as guestsuperhoguserid,
u.id_user as id_user_guest,
-- not show email if the guest is not contactable
case when gss.is_contactable is true then u.email else '' end as guestemailaddress,
case when gss.is_contactable is true then u.email else '' end as guest_email,
gss.experience_rating,
gss.guest_comments,
case when gss.is_contactable is true then true else false end as is_contactable,
@ -42,9 +42,9 @@ select
when v.verification_value is not null
then v.verification_value
else 'No Payment Validation Option'
end as selectedpaymentoption,
extract(year from age(u.date_of_birth)) as ageofguest,
case when pt.checkincover is true then true else false end as checkincover,
end as selected_payment_option,
extract(year from age(u.date_of_birth)) as age_of_guest,
case when pt.checkincover is true then true else false end as check_in_cover,
case when pt.waiver is true then true else false end as waiver,
case when pt.deposit is true then true else false end as deposit,
case when pt.fee is true then true else false end as fee

View file

@ -941,4 +941,75 @@ models:
- name: company_name
data_type: character varying
description: ""
- name: int_core__guest_satisfaction_responses
description:
This model contains information on guests satisfaction survey responses,
it contains some basic information on the guests, a rating of their experience
and some comments on it.
It also includes information on the services provided by Superhog that they payed for.
columns:
- name: id_verification_request
data_type: bigint
description: Unique id value for the verification request
tests:
- not_null
- unique
- name: guestsuperhoguserid
data_type: character varying
description: Unique id value for the guest
- name: guestemailaddress
data_type: character varying
description: Guest email
- name: experience_rating
data_type: bigint
description:
Guest rating of their experience with Superhog from 1 to 5
- name: guest_comments
data_type: character varying
description:
Guest comments on their experience with Superhog
- name: is_contactable
data_type: boolean
description: |
True if the guest allows to be contacted for more feedback
- name: created_at_utc
data_type: timestamp without time zone
description:
Date and time of response creation
- name: updated_at_utc
data_type: timestamp without time zone
description:
Date and time of last update of response
- name: selectedpaymentoption
data_type: character varying
description: ""
- name: ageofguest
data_type: numeric
description: ""
- name: checkincover
data_type: boolean
description: ""
- name: waiver
data_type: boolean
description: ""
- name: deposit
data_type: boolean
description: ""
- name: fee
data_type: boolean
description: ""

View file

@ -113,4 +113,40 @@ exposures:
owner:
name: Oriol Roqué
email: oriol.roque@superhog.com
email: oriol.roque@superhog.com
- name: currency_exchange_dashboard
label: Currency Exchange
type: dashboard
maturity: medium
url: https://app.powerbi.com/groups/me/apps/10c41ce2-3ca8-4499-a42c-8321a3dce94b/reports/fcfd0a77-6c2a-4379-89be-aa0b090265d7/64ddecd28ca50dc3f029?ctid=862842df-2998-4826-bea9-b726bc01d3a7&experience=power-bi
description: |
A PBI report to see information about rate exchange on currencies used
by the user of Superhog.
It contains daily rate between all currency pairs and allows the user
to export this data.
depends_on:
- ref('daily_currency_exchange_rates')
owner:
name: Joaquin Ossa
email: joaquin.ossa@superhog.com
- name: checkinhero_hosts_data
label: Hosts Details
type: dashboard
maturity: medium
url: https://app.powerbi.com/groups/me/apps/14859ed7-b135-431e-b0a6-229961c10c68/reports/8e88ea63-1874-47d9-abce-dfcfcea76bda/ReportSection?ctid=862842df-2998-4826-bea9-b726bc01d3a7&experience=power-bi
description: |
A PBI report that shows detailed information about hosts that
currently have check-in hero available.
It shows host data as well as metrics on the guest journeys and
check-in covers purchased by the guests.
depends_on:
- ref('core__check_in_cover_users')
owner:
name: Joaquin Ossa
email: joaquin.ossa@superhog.com