From ebd7a0c7b8f8276d0f9f0cc305f2163fa432544a Mon Sep 17 00:00:00 2001 From: fujistone Date: Tue, 19 Nov 2024 14:40:52 +0100 Subject: [PATCH 1/3] adding local dashboard exposures yml files --- .../marts/exposures_matomo_page_views.yml | 19 ++++++++++++++++++ .../exposures_matomo_page_views_evolution.yml | 19 ++++++++++++++++++ .../exposures_matomo_pagees_bounce_rate.yml | 19 ++++++++++++++++++ .../marts/meetings/exposures_meetings.yml | 19 ++++++++++++++++++ .../meetings/exposures_meetings_by_users.yml | 20 +++++++++++++++++++ .../meetings/exposures_meetings_type.yml | 19 ++++++++++++++++++ .../marts/proposals/exposures_proposals.yml | 19 ++++++++++++++++++ .../exposures_proposals_categories.yml | 19 ++++++++++++++++++ .../exposures_proposals_evolution.yml | 18 +++++++++++++++++ .../proposals/exposures_proposals_scopes.yml | 19 ++++++++++++++++++ 10 files changed, 190 insertions(+) create mode 100644 projects/demo/models/marts/exposures_matomo_page_views.yml create mode 100644 projects/demo/models/marts/exposures_matomo_page_views_evolution.yml create mode 100644 projects/demo/models/marts/exposures_matomo_pagees_bounce_rate.yml create mode 100644 projects/demo/models/marts/meetings/exposures_meetings.yml create mode 100644 projects/demo/models/marts/meetings/exposures_meetings_by_users.yml create mode 100644 projects/demo/models/marts/meetings/exposures_meetings_type.yml create mode 100644 projects/demo/models/marts/proposals/exposures_proposals.yml create mode 100644 projects/demo/models/marts/proposals/exposures_proposals_categories.yml create mode 100644 projects/demo/models/marts/proposals/exposures_proposals_evolution.yml create mode 100644 projects/demo/models/marts/proposals/exposures_proposals_scopes.yml diff --git a/projects/demo/models/marts/exposures_matomo_page_views.yml b/projects/demo/models/marts/exposures_matomo_page_views.yml new file mode 100644 index 00000000..b2d8dcaf --- /dev/null +++ b/projects/demo/models/marts/exposures_matomo_page_views.yml @@ -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: data@opensourcepolitics.eu \ No newline at end of file diff --git a/projects/demo/models/marts/exposures_matomo_page_views_evolution.yml b/projects/demo/models/marts/exposures_matomo_page_views_evolution.yml new file mode 100644 index 00000000..f42fb9a1 --- /dev/null +++ b/projects/demo/models/marts/exposures_matomo_page_views_evolution.yml @@ -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: data@opensourcepolitics.eu \ No newline at end of file diff --git a/projects/demo/models/marts/exposures_matomo_pagees_bounce_rate.yml b/projects/demo/models/marts/exposures_matomo_pagees_bounce_rate.yml new file mode 100644 index 00000000..51af69d0 --- /dev/null +++ b/projects/demo/models/marts/exposures_matomo_pagees_bounce_rate.yml @@ -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/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: data@opensourcepolitics.eu \ No newline at end of file diff --git a/projects/demo/models/marts/meetings/exposures_meetings.yml b/projects/demo/models/marts/meetings/exposures_meetings.yml new file mode 100644 index 00000000..60891674 --- /dev/null +++ b/projects/demo/models/marts/meetings/exposures_meetings.yml @@ -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: data@opensourcepolitics.eu \ No newline at end of file diff --git a/projects/demo/models/marts/meetings/exposures_meetings_by_users.yml b/projects/demo/models/marts/meetings/exposures_meetings_by_users.yml new file mode 100644 index 00000000..fea1f9ae --- /dev/null +++ b/projects/demo/models/marts/meetings/exposures_meetings_by_users.yml @@ -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: data@opensourcepolitics.eu \ No newline at end of file diff --git a/projects/demo/models/marts/meetings/exposures_meetings_type.yml b/projects/demo/models/marts/meetings/exposures_meetings_type.yml new file mode 100644 index 00000000..b8924901 --- /dev/null +++ b/projects/demo/models/marts/meetings/exposures_meetings_type.yml @@ -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: data@opensourcepolitics.eu \ No newline at end of file diff --git a/projects/demo/models/marts/proposals/exposures_proposals.yml b/projects/demo/models/marts/proposals/exposures_proposals.yml new file mode 100644 index 00000000..60891674 --- /dev/null +++ b/projects/demo/models/marts/proposals/exposures_proposals.yml @@ -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: data@opensourcepolitics.eu \ No newline at end of file diff --git a/projects/demo/models/marts/proposals/exposures_proposals_categories.yml b/projects/demo/models/marts/proposals/exposures_proposals_categories.yml new file mode 100644 index 00000000..b9bf9929 --- /dev/null +++ b/projects/demo/models/marts/proposals/exposures_proposals_categories.yml @@ -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: data@opensourcepolitics.eu \ No newline at end of file diff --git a/projects/demo/models/marts/proposals/exposures_proposals_evolution.yml b/projects/demo/models/marts/proposals/exposures_proposals_evolution.yml new file mode 100644 index 00000000..e565235a --- /dev/null +++ b/projects/demo/models/marts/proposals/exposures_proposals_evolution.yml @@ -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: data@opensourcepolitics.eu \ No newline at end of file diff --git a/projects/demo/models/marts/proposals/exposures_proposals_scopes.yml b/projects/demo/models/marts/proposals/exposures_proposals_scopes.yml new file mode 100644 index 00000000..a1d49ba1 --- /dev/null +++ b/projects/demo/models/marts/proposals/exposures_proposals_scopes.yml @@ -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: data@opensourcepolitics.eu \ No newline at end of file From bfbf086516fa02ba9eee71668e6bca0e0bba01b2 Mon Sep 17 00:00:00 2001 From: fujistone Date: Tue, 19 Nov 2024 15:25:25 +0100 Subject: [PATCH 2/3] correcting file name and source for bounce rate exposures --- ...s_bounce_rate.yml => exposures_matomo_pages_bounce_rate.yml} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename projects/demo/models/marts/{exposures_matomo_pagees_bounce_rate.yml => exposures_matomo_pages_bounce_rate.yml} (92%) diff --git a/projects/demo/models/marts/exposures_matomo_pagees_bounce_rate.yml b/projects/demo/models/marts/exposures_matomo_pages_bounce_rate.yml similarity index 92% rename from projects/demo/models/marts/exposures_matomo_pagees_bounce_rate.yml rename to projects/demo/models/marts/exposures_matomo_pages_bounce_rate.yml index 51af69d0..7d26aab1 100644 --- a/projects/demo/models/marts/exposures_matomo_pagees_bounce_rate.yml +++ b/projects/demo/models/marts/exposures_matomo_pages_bounce_rate.yml @@ -2,7 +2,7 @@ version: 2 exposures: - - name: page_views_in_metabase + - name: bounce_rate_in_metabase label: Metabase Page Views type: dashboard maturity: medium From 47ca8d347fab0a8c8bcd080c4da4545492aa1269 Mon Sep 17 00:00:00 2001 From: fujistone Date: Tue, 19 Nov 2024 15:47:08 +0100 Subject: [PATCH 3/3] correcting source name for meetings exposures --- projects/demo/models/marts/meetings/exposures_meetings.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/demo/models/marts/meetings/exposures_meetings.yml b/projects/demo/models/marts/meetings/exposures_meetings.yml index 60891674..f94b8c77 100644 --- a/projects/demo/models/marts/meetings/exposures_meetings.yml +++ b/projects/demo/models/marts/meetings/exposures_meetings.yml @@ -2,7 +2,7 @@ version: 2 exposures: - - name: proposals_in_metabase + - name: meetings_in_metabase label: Metabase Proposals type: dashboard maturity: medium