forked from thomas-schuster/docker-database
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5 from hochschule-pforzheim/feature/superset
Feature/superset
- Loading branch information
Showing
12 changed files
with
1,632 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
slice_name: Birth Years of Customers | ||
description: null | ||
certified_by: null | ||
certification_details: null | ||
viz_type: big_number | ||
params: | ||
datasource: 25__table | ||
viz_type: big_number | ||
x_axis: BirthDate | ||
time_grain_sqla: P1Y | ||
metric: count | ||
adhoc_filters: | ||
- clause: WHERE | ||
subject: BirthDate | ||
operator: TEMPORAL_RANGE | ||
comparator: No filter | ||
expressionType: SIMPLE | ||
show_trend_line: true | ||
start_y_axis_at_zero: true | ||
color_picker: | ||
r: 0 | ||
g: 122 | ||
b: 135 | ||
a: 1 | ||
header_font_size: 0.4 | ||
subheader_font_size: 0.15 | ||
y_axis_format: SMART_NUMBER | ||
time_format: smart_date | ||
rolling_type: None | ||
extra_form_data: {} | ||
dashboards: [] | ||
query_context: '{"datasource":{"id":25,"type":"table"},"force":false,"queries":[{"filters":[{"col":"BirthDate","op":"TEMPORAL_RANGE","val":"No | ||
filter"}],"extras":{"time_grain_sqla":"P1Y","having":"","where":""},"applied_time_extras":{},"columns":[{"timeGrain":"P1Y","columnType":"BASE_AXIS","sqlExpression":"BirthDate","label":"BirthDate","expressionType":"SQL"}],"metrics":["count"],"annotation_layers":[],"series_limit":0,"order_desc":true,"url_params":{},"custom_params":{},"custom_form_data":{},"post_processing":[{"operation":"pivot","options":{"index":["BirthDate"],"columns":[],"aggregates":{"count":{"operator":"mean"}},"drop_missing_columns":true}},{"operation":"flatten"}]}],"form_data":{"datasource":"25__table","viz_type":"big_number","x_axis":"BirthDate","time_grain_sqla":"P1Y","metric":"count","adhoc_filters":[{"clause":"WHERE","subject":"BirthDate","operator":"TEMPORAL_RANGE","comparator":"No | ||
filter","expressionType":"SIMPLE"}],"show_trend_line":true,"start_y_axis_at_zero":true,"color_picker":{"r":0,"g":122,"b":135,"a":1},"header_font_size":0.4,"subheader_font_size":0.15,"y_axis_format":"SMART_NUMBER","time_format":"smart_date","rolling_type":"None","extra_form_data":{},"dashboards":[],"force":false,"result_format":"json","result_type":"full"},"result_format":"json","result_type":"full"}' | ||
cache_timeout: null | ||
uuid: 4f1b2f66-3704-4121-abf7-26bb3c3285e4 | ||
version: 1.0.0 | ||
dataset_uuid: a65b9227-dbd6-4519-b1a1-6bb0be974a36 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
slice_name: Distribution across US-States | ||
description: null | ||
certified_by: null | ||
certification_details: null | ||
viz_type: pie | ||
params: | ||
datasource: 27__table | ||
viz_type: pie | ||
groupby: | ||
- Province | ||
metric: count | ||
adhoc_filters: | ||
- clause: WHERE | ||
subject: OpenDate | ||
operator: TEMPORAL_RANGE | ||
comparator: No filter | ||
expressionType: SIMPLE | ||
row_limit: 5000 | ||
sort_by_metric: true | ||
color_scheme: supersetColors | ||
show_labels_threshold: 5 | ||
show_legend: false | ||
legendType: scroll | ||
legendOrientation: top | ||
legendMargin: null | ||
label_type: key | ||
number_format: ~g | ||
currency_format: {} | ||
date_format: smart_date | ||
show_labels: true | ||
labels_outside: true | ||
label_line: true | ||
show_total: true | ||
outerRadius: 62 | ||
donut: true | ||
innerRadius: 30 | ||
extra_form_data: {} | ||
dashboards: | ||
- 11 | ||
query_context: '{"datasource":{"id":27,"type":"table"},"force":false,"queries":[{"filters":[{"col":"OpenDate","op":"TEMPORAL_RANGE","val":"No | ||
filter"}],"extras":{"having":"","where":""},"applied_time_extras":{},"columns":["Province"],"metrics":["count"],"orderby":[["count",false]],"annotation_layers":[],"row_limit":5000,"series_limit":0,"order_desc":true,"url_params":{},"custom_params":{},"custom_form_data":{}}],"form_data":{"datasource":"27__table","viz_type":"pie","groupby":["Province"],"metric":"count","adhoc_filters":[{"clause":"WHERE","subject":"OpenDate","operator":"TEMPORAL_RANGE","comparator":"No | ||
filter","expressionType":"SIMPLE"}],"row_limit":5000,"sort_by_metric":true,"color_scheme":"supersetColors","show_labels_threshold":5,"show_legend":false,"legendType":"scroll","legendOrientation":"top","legendMargin":null,"label_type":"key","number_format":"~g","currency_format":{},"date_format":"smart_date","show_labels":true,"labels_outside":true,"label_line":true,"show_total":true,"outerRadius":62,"donut":true,"innerRadius":30,"extra_form_data":{},"dashboards":[11],"force":false,"result_format":"json","result_type":"full"},"result_format":"json","result_type":"full"}' | ||
cache_timeout: null | ||
uuid: 19b1f55a-42f7-453e-b4fd-3cd266886a66 | ||
version: 1.0.0 | ||
dataset_uuid: ca1058a5-6a85-482a-a235-f198a89c72cb |
45 changes: 45 additions & 0 deletions
45
superset/charts/Overview_of_Products_by_Brand_in_Groups_99.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
slice_name: Overview of Products by Brand (in Groups) | ||
description: null | ||
certified_by: null | ||
certification_details: null | ||
viz_type: pivot_table_v2 | ||
params: | ||
datasource: 24__table | ||
viz_type: pivot_table_v2 | ||
groupbyColumns: | ||
- ProductGroup | ||
groupbyRows: | ||
- Brand | ||
time_grain_sqla: P1D | ||
temporal_columns_lookup: | ||
AvailableSince: true | ||
SaleStoppedSince: true | ||
metrics: | ||
- count | ||
metricsLayout: COLUMNS | ||
adhoc_filters: | ||
- clause: WHERE | ||
subject: AvailableSince | ||
operator: TEMPORAL_RANGE | ||
comparator: No filter | ||
expressionType: SIMPLE | ||
row_limit: 10000 | ||
order_desc: true | ||
aggregateFunction: Sum | ||
rowTotals: false | ||
rowSubTotals: false | ||
colTotals: true | ||
valueFormat: SMART_NUMBER | ||
date_format: smart_date | ||
rowOrder: key_a_to_z | ||
colOrder: key_a_to_z | ||
extra_form_data: {} | ||
dashboards: | ||
- 11 | ||
query_context: '{"datasource":{"id":24,"type":"table"},"force":false,"queries":[{"filters":[{"col":"AvailableSince","op":"TEMPORAL_RANGE","val":"No | ||
filter"}],"extras":{"time_grain_sqla":"P1D","having":"","where":""},"applied_time_extras":{},"columns":["ProductGroup","Brand"],"metrics":["count"],"orderby":[["count",false]],"annotation_layers":[],"row_limit":10000,"series_limit":0,"order_desc":true,"url_params":{},"custom_params":{},"custom_form_data":{}}],"form_data":{"datasource":"24__table","viz_type":"pivot_table_v2","groupbyColumns":["ProductGroup"],"groupbyRows":["Brand"],"time_grain_sqla":"P1D","temporal_columns_lookup":{"AvailableSince":true,"SaleStoppedSince":true},"metrics":["count"],"metricsLayout":"COLUMNS","adhoc_filters":[{"clause":"WHERE","subject":"AvailableSince","operator":"TEMPORAL_RANGE","comparator":"No | ||
filter","expressionType":"SIMPLE"}],"row_limit":10000,"order_desc":true,"aggregateFunction":"Sum","rowTotals":false,"rowSubTotals":false,"colTotals":true,"valueFormat":"SMART_NUMBER","date_format":"smart_date","rowOrder":"key_a_to_z","colOrder":"key_a_to_z","extra_form_data":{},"dashboards":[11],"force":false,"result_format":"json","result_type":"full"},"result_format":"json","result_type":"full"}' | ||
cache_timeout: null | ||
uuid: 959ca9ce-1094-4315-be0b-3130cc181865 | ||
version: 1.0.0 | ||
dataset_uuid: 688393d8-8aba-4f69-8f8a-00660b35f401 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
slice_name: Sales for current Year | ||
description: null | ||
certified_by: null | ||
certification_details: null | ||
viz_type: big_number_total | ||
params: | ||
datasource: 23__table | ||
viz_type: big_number_total | ||
metric: | ||
expressionType: SIMPLE | ||
column: | ||
advanced_data_type: null | ||
certification_details: null | ||
certified_by: null | ||
column_name: sales | ||
description: null | ||
expression: null | ||
filterable: true | ||
groupby: true | ||
id: 737 | ||
is_certified: false | ||
is_dttm: false | ||
python_date_format: null | ||
type: DOUBLE PRECISION | ||
type_generic: 0 | ||
verbose_name: null | ||
warning_markdown: null | ||
aggregate: SUM | ||
sqlExpression: null | ||
datasourceWarning: false | ||
hasCustomLabel: false | ||
label: SUM(sales) | ||
optionName: metric_2hp9qeni90d_ox5lmyoy8fm | ||
adhoc_filters: | ||
- clause: WHERE | ||
subject: order_date | ||
operator: TEMPORAL_RANGE | ||
comparator: No filter | ||
expressionType: SIMPLE | ||
header_font_size: 0.5 | ||
subheader_font_size: 0.2 | ||
y_axis_format: .3s | ||
currency_format: | ||
symbolPosition: suffix | ||
symbol: EUR | ||
time_format: smart_date | ||
force_timestamp_formatting: false | ||
conditional_formatting: [] | ||
extra_form_data: {} | ||
dashboards: | ||
- 11 | ||
query_context: '{"datasource":{"id":23,"type":"table"},"force":false,"queries":[{"filters":[{"col":"order_date","op":"TEMPORAL_RANGE","val":"No | ||
filter"}],"extras":{"having":"","where":""},"applied_time_extras":{},"columns":[],"metrics":[{"expressionType":"SIMPLE","column":{"advanced_data_type":null,"certification_details":null,"certified_by":null,"column_name":"sales","description":null,"expression":null,"filterable":true,"groupby":true,"id":737,"is_certified":false,"is_dttm":false,"python_date_format":null,"type":"DOUBLE | ||
PRECISION","type_generic":0,"verbose_name":null,"warning_markdown":null},"aggregate":"SUM","sqlExpression":null,"datasourceWarning":false,"hasCustomLabel":false,"label":"SUM(sales)","optionName":"metric_2hp9qeni90d_ox5lmyoy8fm"}],"annotation_layers":[],"series_limit":0,"order_desc":true,"url_params":{},"custom_params":{},"custom_form_data":{}}],"form_data":{"datasource":"23__table","viz_type":"big_number_total","metric":{"expressionType":"SIMPLE","column":{"advanced_data_type":null,"certification_details":null,"certified_by":null,"column_name":"sales","description":null,"expression":null,"filterable":true,"groupby":true,"id":737,"is_certified":false,"is_dttm":false,"python_date_format":null,"type":"DOUBLE | ||
PRECISION","type_generic":0,"verbose_name":null,"warning_markdown":null},"aggregate":"SUM","sqlExpression":null,"datasourceWarning":false,"hasCustomLabel":false,"label":"SUM(sales)","optionName":"metric_2hp9qeni90d_ox5lmyoy8fm"},"adhoc_filters":[{"clause":"WHERE","subject":"order_date","operator":"TEMPORAL_RANGE","comparator":"No | ||
filter","expressionType":"SIMPLE"}],"header_font_size":0.5,"subheader_font_size":0.2,"y_axis_format":".3s","currency_format":{"symbolPosition":"suffix","symbol":"EUR"},"time_format":"smart_date","force_timestamp_formatting":false,"conditional_formatting":[],"extra_form_data":{},"dashboards":[11],"force":false,"result_format":"json","result_type":"full"},"result_format":"json","result_type":"full"}' | ||
cache_timeout: null | ||
uuid: ae23154e-0bf8-4705-9aa4-78f8849f4026 | ||
version: 1.0.0 | ||
dataset_uuid: e8623bb9-5e00-f531-506a-19607f5f8005 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,191 @@ | ||
dashboard_title: Mondial Warehouse ST 2024 | ||
description: null | ||
css: ".navbar {\n transition: opacity 0.5s ease;\n opacity: 0.05;\n}\n.navbar:hover\ | ||
\ {\n opacity: 1;\n}\n.chart-header .header{\n font-weight: @font-weight-normal;\n\ | ||
\ font-size: 12px;\n}\n/*\nvar bnbColors = [\n //rausch hackb kazan\ | ||
\ babu lima beach tirol\n '#ff5a5f', '#7b0051', '#007A87',\ | ||
\ '#00d1c1', '#8ce071', '#ffb400', '#b4a76c',\n '#ff8083', '#cc0086', '#00a1b3',\ | ||
\ '#00ffeb', '#bbedab', '#ffd266', '#cbc29a',\n '#ff3339', '#ff1ab1', '#005c66',\ | ||
\ '#00b3a5', '#55d12e', '#b37e00', '#988b4e',\n ];\n*/\n" | ||
slug: mondial-warehouse-st24 | ||
certified_by: Department of Information Systems | ||
certification_details: '' | ||
published: true | ||
uuid: 80c06b3b-2547-4408-93f1-71196da8f9c0 | ||
position: | ||
CHART-KwCpk5bwVT: | ||
children: [] | ||
id: CHART-KwCpk5bwVT | ||
meta: | ||
chartId: 97 | ||
height: 27 | ||
sliceName: Birth Years of Customers | ||
uuid: 4f1b2f66-3704-4121-abf7-26bb3c3285e4 | ||
width: 6 | ||
parents: | ||
- ROOT_ID | ||
- GRID_ID | ||
- ROW-otoWuydLq | ||
type: CHART | ||
CHART-explore-100-1: | ||
children: [] | ||
id: CHART-explore-100-1 | ||
meta: | ||
chartId: 100 | ||
height: 50 | ||
sliceName: Distribution across US-States | ||
uuid: 19b1f55a-42f7-453e-b4fd-3cd266886a66 | ||
width: 5 | ||
parents: | ||
- ROOT_ID | ||
- GRID_ID | ||
- ROW-87HJeiAkNd | ||
type: CHART | ||
CHART-explore-98-1: | ||
children: [] | ||
id: CHART-explore-98-1 | ||
meta: | ||
chartId: 98 | ||
height: 27 | ||
sliceName: Sales for current Year | ||
uuid: ae23154e-0bf8-4705-9aa4-78f8849f4026 | ||
width: 3 | ||
parents: | ||
- ROOT_ID | ||
- GRID_ID | ||
- ROW-otoWuydLq | ||
type: CHART | ||
CHART-explore-99-1: | ||
children: [] | ||
id: CHART-explore-99-1 | ||
meta: | ||
chartId: 99 | ||
height: 49 | ||
sliceName: Overview of Products by Brand (in Groups) | ||
uuid: 959ca9ce-1094-4315-be0b-3130cc181865 | ||
width: 4 | ||
parents: | ||
- ROOT_ID | ||
- GRID_ID | ||
- ROW-87HJeiAkNd | ||
type: CHART | ||
DASHBOARD_VERSION_KEY: v2 | ||
GRID_ID: | ||
children: | ||
- HEADER-0uM-er8_xp | ||
- ROW-otoWuydLq | ||
- ROW-87HJeiAkNd | ||
id: GRID_ID | ||
parents: | ||
- ROOT_ID | ||
type: GRID | ||
HEADER-0uM-er8_xp: | ||
children: [] | ||
id: HEADER-0uM-er8_xp | ||
meta: | ||
background: BACKGROUND_WHITE | ||
headerSize: LARGE_HEADER | ||
text: Welcome to the Mondial Warehouse Dashboard | ||
parents: | ||
- ROOT_ID | ||
- GRID_ID | ||
type: HEADER | ||
HEADER_ID: | ||
id: HEADER_ID | ||
meta: | ||
text: Mondial Warehouse ST 2024 | ||
type: HEADER | ||
ROOT_ID: | ||
children: | ||
- GRID_ID | ||
id: ROOT_ID | ||
type: ROOT | ||
ROW-87HJeiAkNd: | ||
children: | ||
- CHART-explore-99-1 | ||
- CHART-explore-100-1 | ||
id: ROW-87HJeiAkNd | ||
meta: | ||
'0': ROOT_ID | ||
background: BACKGROUND_TRANSPARENT | ||
parents: | ||
- ROOT_ID | ||
- GRID_ID | ||
type: ROW | ||
ROW-otoWuydLq: | ||
children: | ||
- CHART-explore-98-1 | ||
- CHART-KwCpk5bwVT | ||
id: ROW-otoWuydLq | ||
meta: | ||
background: BACKGROUND_TRANSPARENT | ||
parents: | ||
- ROOT_ID | ||
- GRID_ID | ||
type: ROW | ||
metadata: | ||
chart_configuration: | ||
'99': | ||
id: 99 | ||
crossFilters: | ||
scope: global | ||
chartsInScope: | ||
- 97 | ||
- 98 | ||
- 100 | ||
'100': | ||
id: 100 | ||
crossFilters: | ||
scope: global | ||
chartsInScope: | ||
- 97 | ||
- 98 | ||
- 99 | ||
global_chart_configuration: | ||
scope: | ||
rootPath: | ||
- ROOT_ID | ||
excluded: [] | ||
chartsInScope: | ||
- 97 | ||
- 98 | ||
- 99 | ||
- 100 | ||
color_scheme: bnbColors | ||
refresh_frequency: 0 | ||
expanded_slices: {} | ||
label_colors: {} | ||
timed_refresh_immune_slices: [] | ||
cross_filters_enabled: true | ||
default_filters: '{}' | ||
shared_label_colors: | ||
California: '#29696B' | ||
Arizona: '#F4B02A' | ||
Kansas: '#792EB2' | ||
Florida: '#921E50' | ||
Illinois: '#9C3498' | ||
Virginia: '#C32F0E' | ||
Georgia: '#5BCACE' | ||
New Mexico: '#B27700' | ||
Indiana: '#F1826A' | ||
Pennsylvania: '#C96EC6' | ||
Hawaii: '#E4679D' | ||
Ohio: '#9D63CA' | ||
Missouri: '#9D63CA' | ||
Kentucky: '#29696B' | ||
Wyoming: '#5BCACE' | ||
color_scheme_domain: | ||
- '#29696B' | ||
- '#5BCACE' | ||
- '#F4B02A' | ||
- '#F1826A' | ||
- '#792EB2' | ||
- '#C96EC6' | ||
- '#921E50' | ||
- '#B27700' | ||
- '#9C3498' | ||
- '#9C3498' | ||
- '#E4679D' | ||
- '#C32F0E' | ||
- '#9D63CA' | ||
version: 1.0.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
database_name: Mondial DB | ||
sqlalchemy_uri: postgresql+psycopg2://mondial:[email protected]:5432/mondial | ||
cache_timeout: null | ||
expose_in_sqllab: true | ||
allow_run_async: false | ||
allow_ctas: false | ||
allow_cvas: false | ||
allow_dml: false | ||
allow_file_upload: false | ||
extra: | ||
allows_virtual_table_explore: true | ||
uuid: 7d0688c7-952a-422a-9f3b-1c86a78aa2e2 | ||
version: 1.0.0 |
Oops, something went wrong.