Skip to content
Snippets Groups Projects
Commit c95e84b8 authored by Simon Belak's avatar Simon Belak
Browse files

Add overview, Number heuristic, crosstab

parent 70c17317
No related branches found
No related tags found
No related merge requests found
......@@ -6,8 +6,13 @@ metrics:
- Sum: [sum, [dimension, GenericNumber]]
- Avg: [avg, [dimension, GenericNumber]]
- Count: [count]
- Distinct: [distinct, [dimension, this]]
dimensions:
- GenericNumber: GenericTable.Number
- GenericCategoryMedium:
field_type: GenericTable.Category
max_cardinality: 12
score: 90
# bind just so they don't get used
- LongLat: GenericTable.Coordinate
- ZipCode: GenericTable.ZipCode
......@@ -16,16 +21,14 @@ dimensions:
field_type: GenericTable.Country
- State:
field_type: GenericTable.State
- GenericCategoryMedium:
field_type: GenericTable.Category
max_cardinality: 12
score: 90
- Timestamp:
field_type: CreationTimestamp
score: 100
- Timestamp:
field_type: DateTime
score: 90
filters:
- Nils: [is-null, [dimension, this]]
dashboard_filters:
- Timestamp
- State
......@@ -35,8 +38,27 @@ groups:
- Overview:
title: Overview
- Breakdowns:
title: "How different numbers are distributed across [[this]]"
title: How [[this]] are distributed
cards:
- Count:
title: Count
visualization: scalar
metrics: Count
group: Overview
width: 6
- Nils:
title: Null values
visualization: scalar
metrics: Count
filters: Nils
group: Overview
width: 6
- Distinct:
title: Distinct values
visualization: scalar
metrics: Distinct
group: Overview
width: 6
- Distribution:
title: Distribution of [[this]]
visualization:
......@@ -74,3 +96,13 @@ cards:
- Sum
dimensions: this
group: Breakdowns
- Crosstab:
title: "[[this]] by [[GenericCategoryMedium]]"
visualization: table
metrics: Count
dimensions:
- this
- GenericCategoryMedium
group: Breakdowns
width: 9
height: 8
\ No newline at end of file
......@@ -6,6 +6,7 @@ metrics:
- Sum: [sum, [dimension, GenericNumber]]
- Avg: [avg, [dimension, GenericNumber]]
- Count: [count]
- Distinct: [distinct, [dimension, this]]
dimensions:
- GenericNumber: GenericTable.Number
- GenericCategoryMedium:
......@@ -20,6 +21,8 @@ dimensions:
field_type: GenericTable.Country
- State:
field_type: GenericTable.State
filters:
- Nils: [is-null, [dimension, this]]
dashboard_filters:
- this
- State
......@@ -29,10 +32,29 @@ groups:
- Overview:
title: Overview
- Breakdowns:
title: Different numbers across [[this]]
- Seasonality:
title: How [[this]] is distributed
- Seasonality:
title: Seasonal components of [[this]]
cards:
- Count:
title: Count
visualization: scalar
metrics: Count
group: Overview
width: 6
- Nils:
title: Null values
visualization: scalar
metrics: Count
filters: Nils
group: Overview
width: 6
- Distinct:
title: Distinct values
visualization: scalar
metrics: Distinct
group: Overview
width: 6
- Distribution:
title: "[[GenericTable]] by [[this]]"
visualization: line
......@@ -51,7 +73,9 @@ cards:
group: Breakdowns
- ByCategory:
title: "Count of [[GenericCategoryMedium]] by [[this]]"
visualization: area
visualization:
area:
stackable.stack_type: stacked
metrics: Count
dimensions:
- this
......
......@@ -6,8 +6,13 @@ metrics:
- Sum: [sum, [dimension, GenericNumber]]
- Avg: [avg, [dimension, GenericNumber]]
- Count: [count]
- Distinct: [distinct, [dimension, this]]
dimensions:
- GenericNumber: GenericTable.Number
- GenericCategoryMedium:
field_type: GenericTable.Category
max_cardinality: 12
score: 90
# bind just so they don't get used
- LongLat: GenericTable.Coordinate
- ZipCode: GenericTable.ZipCode
......@@ -16,16 +21,14 @@ dimensions:
field_type: GenericTable.Country
- State:
field_type: GenericTable.State
- GenericCategoryMedium:
field_type: GenericTable.Category
max_cardinality: 12
score: 90
- Timestamp:
field_type: CreationTimestamp
score: 100
- Timestamp:
field_type: DateTime
score: 90
filters:
- Nils: [is-null, [dimension, this]]
dashboard_filters:
- Timestamp
- State
......@@ -35,8 +38,27 @@ groups:
- Overview:
title: Overview
- Breakdowns:
title: "How different numbers are distributed across [[this]]"
title: How [[this]] are distributed
cards:
- Count:
title: Count
visualization: scalar
metrics: Count
group: Overview
width: 6
- Nils:
title: Null values
visualization: scalar
metrics: Count
filters: Nils
group: Overview
width: 6
- Distinct:
title: Distinct values
visualization: scalar
metrics: Distinct
group: Overview
width: 6
- Distribution:
title: How [[this]] is distributed
visualization: bar
......@@ -52,3 +74,13 @@ cards:
- Avg
dimensions: this
group: Breakdowns
- Crosstab:
title: "[[this]] by [[GenericCategoryMedium]]"
visualization: table
metrics: Count
dimensions:
- this
- GenericCategoryMedium
group: Breakdowns
width: 9
height: 8
title: A look at your [[this]]
transient_title: Here's an overview of your [[this]]
description: How [[this]] is distributed and more.
applies_to: GenericTable.Number
metrics:
- Sum: [sum, [dimension, this]]
- Avg: [avg, [dimension, this]]
- Min: [min, [dimension, this]]
- Max: [max, [dimension, this]]
- SD: [stddev, [dimension, this]]
- Count: [count]
- Distinct: [distinct, [dimension, this]]
dimensions:
- GenericNumber: GenericTable.Number
- GenericCategoryMedium:
field_type: GenericTable.Category
max_cardinality: 12
score: 90
- Timestamp:
field_type: DateTime
score: 90
# bind just so they don't get used
- LongLat: GenericTable.Coordinate
- ZipCode: GenericTable.ZipCode
# only used for filters
- Country:
field_type: GenericTable.Country
- State:
field_type: GenericTable.State
filters:
- Nils: [is-null, [dimension, this]]
dashboard_filters:
- Timestamp
- State
- Country
- GenericCategoryMedium
groups:
- Overview:
title: Overview
- Breakdowns:
title: How [[this]] are distributed
cards:
- Count:
title: Count
visualization: scalar
metrics: Count
group: Overview
width: 6
- Nils:
title: Null values
visualization: scalar
metrics: Count
filters: Nils
group: Overview
width: 6
- Distinct:
title: Distinct values
visualization: scalar
metrics: Distinct
group: Overview
width: 6
- Stats:
title: Summary statistics
visualization: table
metrics:
- Sum
- Avg
- Min
- Max
- SD
group: Overview
width: 9
- Distribution:
title: How [[this]] is distributed
visualization: bar
metrics: Count
dimensions:
- this:
aggregation: default
group: Overview
width: 9
- ByDateTime:
title: "[[this]] by [[Timestamp]]"
visualization: line
metrics:
- Sum
- Avg
dimensions: Timestamp
group: Breakdowns
width: 9
height: 6
- ByCategory:
title: "[[this]] by [[GenericCategoryMedium]]"
visualization: bar
metrics:
- Sum
- Avg
dimensions: GenericCategoryMedium
group: Breakdowns
height: 6
width: 9
......@@ -6,8 +6,13 @@ metrics:
- Sum: [sum, [dimension, GenericNumber]]
- Avg: [avg, [dimension, GenericNumber]]
- Count: [count]
- Distinct: [distinct, [dimension, this]]
dimensions:
- GenericNumber: GenericTable.Number
- GenericCategoryMedium:
field_type: GenericTable.Category
max_cardinality: 12
score: 90
# bind just so they don't get used
- LongLat: GenericTable.Coordinate
- ZipCode: GenericTable.ZipCode
......@@ -16,16 +21,14 @@ dimensions:
field_type: GenericTable.Country
- State:
field_type: GenericTable.State
- GenericCategoryMedium:
field_type: GenericTable.Category
max_cardinality: 12
score: 90
- Timestamp:
field_type: CreationTimestamp
score: 100
- Timestamp:
field_type: DateTime
score: 90
filters:
- Nils: [is-null, [dimension, this]]
dashboard_filters:
- Timestamp
- State
......@@ -35,8 +38,27 @@ groups:
- Overview:
title: Overview
- Breakdowns:
title: Different numbers per state
title: How [[this]] are distributed
cards:
- Count:
title: Count
visualization: scalar
metrics: Count
group: Overview
width: 6
- Nils:
title: Null values
visualization: scalar
metrics: Count
filters: Nils
group: Overview
width: 6
- Distinct:
title: Distinct values
visualization: scalar
metrics: Distinct
group: Overview
width: 6
- Distribution:
title: "[[GenericTable]] per [[this]]"
visualization:
......@@ -74,3 +96,13 @@ cards:
- Sum
dimensions: this
group: Breakdowns
- Crosstab:
title: "[[this]] by [[GenericCategoryMedium]]"
visualization: table
metrics: Count
dimensions:
- this
- GenericCategoryMedium
group: Breakdowns
width: 9
height: 8
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment