Skip to content

Commit

Permalink
Dashboard update (#30)
Browse files Browse the repository at this point in the history
* Initial changes to incorporate elementary-data.

* Initial

* Elementary WIP

* Exlude UA, GB, Serbia from dashboard/dataset.
  • Loading branch information
EJOOSTEROP authored Aug 26, 2023
1 parent 47624ec commit 7a1be6e
Show file tree
Hide file tree
Showing 7 changed files with 39 additions and 5 deletions.
8 changes: 8 additions & 0 deletions Mimodast.code-workspace
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"folders": [
{
"path": "."
}
],
"settings": {}
}
8 changes: 7 additions & 1 deletion meltano.yml
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,13 @@ plugins:
variant: great-expectations
pip_url: great_expectations[sqlalchemy]
duckdb-engine==0.7.0
# sqlalchemy==1.4.47
# sqlalchemy==1.4.47
- name: elementary
variant: elementary
pip_url: elementary-data[sqlalchemy]==0.8.0 git+https://github.com/potloc/elementary-ext.git
duckdb-engine==0.7.0
#commands:
# dbt run --select elementary
jobs:
- name: usgs-to-duckdb-rpt
tasks:
Expand Down
7 changes: 6 additions & 1 deletion meltano_transform/dbt_project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,9 @@ models:
usgs_rpt:
+materialized: table
+tags:
- usgs
- usgs
elementary:
## elementary models will be created in the schema '<your_schema>_elementary'
+schema: "elementary"
## To disable elementary for dev, uncomment this:
# enabled: "{{ target.name in ['prod','analytics'] }}"
3 changes: 1 addition & 2 deletions meltano_transform/models/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,4 @@ This **dbt project** defines the transformation and tests related to the two dat
[GIEAPI-url]: https://agsi.gie.eu/
[GIEAccount-url]: https://agsi.gie.eu/account

{% enddocs %}

{% enddocs %}
4 changes: 3 additions & 1 deletion meltano_transform/packages.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
packages:
- package: dbt-labs/dbt_utils
version: 1.0.0
version: 1.0.0
- package: elementary-data/elementary
version: 0.8.0
14 changes: 14 additions & 0 deletions meltano_transform/profiles/duckdb/profiles.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,17 @@ meltano:
#path: "{{ env_var('DBT_DUCKDB_PATH') }}"
path: "/project/data/prod/data.duckdb"
threads: 4
elementary:
outputs:
default:
type: duckdb
#path: "{{ env_var('DBT_DUCKDB_PATH') }}"
path: "/project/data/dev/data.duckdb"
database: data
threads: 1
dev:
type: duckdb
#path: "{{ env_var('DBT_DUCKDB_PATH') }}"
path: "/project/data/dev/data.duckdb"
database: data
threads: 1
Binary file modified standup/dashboards.zip
Binary file not shown.

0 comments on commit 7a1be6e

Please sign in to comment.