Skip to content

Commit

Permalink
Merge pull request #31 from OpenSourcePolitics/add_exposures
Browse files Browse the repository at this point in the history
adding exposures.yml to participation models
  • Loading branch information
Fujistone authored Nov 19, 2024
2 parents 6a6bf66 + eb01155 commit f3eb96f
Show file tree
Hide file tree
Showing 10 changed files with 166 additions and 0 deletions.
18 changes: 18 additions & 0 deletions projects/demo/models/intermediate/matomo/exposures_referrers.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
version: 2

exposures:

- name: int_referrers_in_metabase
label: Metabase Referrers
type: dashboard
maturity: medium
url: https://metabase.osp.cat/question/5931-top-6-des-sources-darrivees-des-visites-sur-la-periode
description: >
Top 6 channels from which visitors come on a Decidim platform.
depends_on:
- ref('int_matomo_referrers')

owner:
name: Data Team
email: [email protected]
18 changes: 18 additions & 0 deletions projects/demo/models/intermediate/matomo/exposures_visits.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
version: 2

exposures:

- name: average_visit_time_in_metabase
label: Metabase Average Visit Time
type: dashboard
maturity: medium
url: https://metabase.osp.cat/question/6021-duree-moyenne-des-visites
description: >
Average time spent spent by visitors on a decidim platform.
depends_on:
- ref('int_matomo_visits')

owner:
name: Data Team
email: [email protected]
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
version: 2

exposures:

- name: participations_in_metabase
label: Metabase Participations
type: dashboard
maturity: medium
url: https://metabase.osp.cat/question/5932-nombre-de-contributions
description: >
Actions made by users on a Decidim platform.
depends_on:
- ref('participations')

owner:
name: Data Team
email: [email protected]
18 changes: 18 additions & 0 deletions projects/demo/models/marts/users/exposures_users.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
version: 2

exposures:

- name: users_in_metabase
label: Metabase Users
type: dashboard
maturity: medium
url: https://metabase.osp.cat/question/5926-evolution-du-nombre-dinscrits
description: >
Numbers of users registered on a Decidim platform throughout its lifetime.
depends_on:
- ref('users')

owner:
name: Data Team
email: [email protected]
19 changes: 19 additions & 0 deletions projects/demo/models/staging/matomo/exposures_device_type.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
version: 2

exposures:

- name: device_type_in_metabase
label: Metabase Device Type
type: dashboard
maturity: medium
url: https://metabase.osp.cat/question/6024-peripheriques-des-visiteurs

description: >
Devices used by visitors to visit a Decidim platform.
depends_on:
- ref('stg_matomo_device_type')

owner:
name: Data Team
email: [email protected]
19 changes: 19 additions & 0 deletions projects/demo/models/staging/matomo/exposures_pages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
version: 2

exposures:

- name: pages_in_metabase
label: Metabase Matomo Pages
type: dashboard
maturity: medium
url: https://metabase.osp.cat/question/6013-top-20-des-pages-les-plus-visitees

description: >
Top 20 most visited pages on a Decidim platform.
depends_on:
- ref('stg_matomo_pages')

owner:
name: Data Team
email: [email protected]
18 changes: 18 additions & 0 deletions projects/demo/models/staging/matomo/exposures_referrers.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
version: 2

exposures:

- name: stg_referrers_in_metabase
label: Metabase Referrers
type: dashboard
maturity: medium
url: https://metabase.osp.cat/question/5929-canaux-darrivee-des-visiteurs-sur-la-periode
description: >
Channels from which visitors come on a Decidim platform
depends_on:
- ref('stg_matomo_referrers')

owner:
name: Data Team
email: [email protected]
19 changes: 19 additions & 0 deletions projects/demo/models/staging/matomo/exposures_users_city.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
version: 2

exposures:

- name: visitors_location_in_metabase
label: Metabase Visitors Location
type: dashboard
maturity: medium
url: https://metabase.osp.cat/question/6914-carte-des-visites

description: >
Location from where visitors are visiting a Decidim platform.
depends_on:
- ref('stg_matomo_users_city')

owner:
name: Data Team
email: [email protected]
19 changes: 19 additions & 0 deletions projects/demo/models/staging/matomo/exposures_visits.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
version: 2

exposures:

- name: visits_in_metabase
label: Metabase Visits
type: dashboard
maturity: medium
url: https://metabase.osp.cat/question/5925-evolution-du-nombre-de-visites

description: >
Visits on the a Decidim platform, and throughout time.
depends_on:
- ref('stg_matomo_pages')

owner:
name: Data Team
email: [email protected]

0 comments on commit f3eb96f

Please sign in to comment.