Skip to content

Commit

Permalink
Merge pull request #34 from OpenSourcePolitics/add_exposures_local_da…
Browse files Browse the repository at this point in the history
…shboard

adding local dashboard exposures yml files
  • Loading branch information
Fujistone authored Nov 19, 2024
2 parents 3f7e582 + 47ca8d3 commit 6a6bf66
Show file tree
Hide file tree
Showing 10 changed files with 190 additions and 0 deletions.
19 changes: 19 additions & 0 deletions projects/demo/models/marts/exposures_matomo_page_views.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
version: 2

exposures:

- name: page_views_in_metabase
label: Metabase Page Views
type: dashboard
maturity: medium
url: https://metabase.osp.cat/question/6019-vues-de-pages-uniques
description: >
Total sum of unique page views on a Decidim platform.
depends_on:
- ref('matomo_pages')
- ref('components')

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

exposures:

- name: page_views_throught_time_in_metabase
label: Metabase Page Views Evolution
type: dashboard
maturity: medium
url: https://metabase.osp.cat/question/6017-evolution-du-nombre-de-vues-de-pages-uniques-par-processus
description: >
Sum of unique pages views throughout a Decidim platform lifetime, per day.
depends_on:
- ref('matomo_pages')
- ref('components')

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

exposures:

- name: bounce_rate_in_metabase
label: Metabase Page Views
type: dashboard
maturity: medium
url: https://metabase.osp.cat/question/6020-taux-de-rebond-sur-vues-de-pages-uniques
description: >
Bounce rate of unique pages views on a Decidim platform.
depends_on:
- ref('matomo_pages')
- ref('components')

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

exposures:

- name: meetings_in_metabase
label: Metabase Proposals
type: dashboard
maturity: medium
url: https://metabase.osp.cat/question/6171-nombre-de-propositions-par-processus?ps_title=Budget%20participatif%202023%20&component_name=&date=
description: >
Number of proposals submitted on a Decidim Platform.
depends_on:
- ref('proposals')
- ref('components')

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

exposures:

- name: meetings_initiated_in_metabase
label: Metabase Meetings Initiated by Users
type: dashboard
maturity: medium
url: https://metabase.osp.cat/question/6911-rencontres-par-initiateur
Number of meetings initiated per user.

depends_on:
- ref('proposals')
- ref('components')
- ref('users')


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

exposures:

- name: meetings_type_in_metabase
label: Metabase Meetings By Type
type: dashboard
maturity: medium
url: https://metabase.osp.cat/question/6910-rencontres-par-type
description: >
Number of meetings per meetings type (remote or not).
depends_on:
- ref('proposals')
- ref('components')

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

exposures:

- name: proposals_in_metabase
label: Metabase Proposals
type: dashboard
maturity: medium
url: https://metabase.osp.cat/question/6171-nombre-de-propositions-par-processus?ps_title=Budget%20participatif%202023%20&component_name=&date=
description: >
Number of proposals submitted on a Decidim Platform.
depends_on:
- ref('proposals')
- ref('components')

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

exposures:

- name: proposals_categories_in_metabase
label: Metabase Proposals Categories
type: dashboard
maturity: medium
url: https://metabase.osp.cat/question/6032-categories-les-plus-proposees
description: >
Most chosen submitted proposal categories.
depends_on:
- ref('proposals')
- ref('components')

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: proposals_through_time_in_metabase
label: Metabase Proposals Evolution
type: dashboard
maturity: medium
url: https://metabase.osp.cat/question/6031-evolution-du-nombre-de-propositions-par-processus
description: >
Cumulative number of proposals submitted on a Decidim Platform throughout time.
depends_on:
- ref('proposals')

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

exposures:

- name: proposals_scopes_in_metabase
label: Metabase Proposals Scopes
type: dashboard
maturity: medium
url: https://metabase.osp.cat/question/6033-perimetres-les-plus-proposes
description: >
Most chosen submitted proposal scopes.
depends_on:
- ref('proposals')
- ref('components')

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

0 comments on commit 6a6bf66

Please sign in to comment.