π Report : Analysis of completion rates by category, relative to number of attributes and mandatory attributes β
In a nutshell
This job allows you to export a report of completion rates by category, relative to number of attributes and mandatory attributes. The report also presents best practices and how your data structure is positioned in relation to these best practices.
π₯ Download the latest version of this jobs.
β Time to setup: 5 minutes.
Result β
- Each bubble: A category
- Size of the bubble: Total number of products within the category
- Color of the bubble: Completion rate of attributs within the category
- X Axis: Total number of common and specific attributs
- Y Axis: Percentage of mandatory attributs regarding the total number of common and specific attributs
Setup β
- Download the last version of this job, available here
- Update the file job.json by replacing all elements below:
- TODO_TABLE_KEY: The table key (in export items and export table)
- TODO_CLASSIFICATION_KEY: The classification key of the classification that must be analysed
- TODO_CONDITIONAL_FORMATTING_KEY: The conditional formatting key of the conditional formatting that must be used
- TODO_STATUS_KEY: The status key representing invalid data
- TODO_SCREEN_KEY: The screen key
- TODO_OUTPUT: output file name, best pratice: account_compliance_screen.html
json
{
"schema": "1.0",
"key": "report_taxonomy_completion_by_category_attributs_mandatory_attributes",
"title": "Rapport: Analyse de la complΓ©tion de donnΓ©e par catΓ©gories, attributs et attributs obligatoires",
"tasks": [
{
"name": "table-export-items",
"taskReferenceName": "table_export_items",
"description": "Export all items",
"optional": false,
"type": "SUB_WORKFLOW",
"inputParameters": {
"tableKey": "TODO_TABLE_KEY",
"mode": "ALL",
"fileName": "items.xml"
}
},
{
"name": "table-export-schema",
"taskReferenceName": "table_export_schema",
"description": "Export table schema",
"optional": false,
"type": "SUB_WORKFLOW",
"inputParameters": {
"tableKey": "TODO_TABLE_KEY",
"mode": "ACTIVE",
"fileName": "table.xml"
}
},
{
"name": "file-transformation-xslt",
"taskReferenceName": "file_transformation_xslt_metrics",
"description": "Calculate metrics and generate json",
"optional": false,
"type": "SUB_WORKFLOW",
"inputParameters": {
"mode": "FILE",
"file": "${table_export_schema.output.file}",
"params": [
{
"name": "items_url",
"select": "${table_export_items.output.file}"
},
{
"name": "classification",
"select": "'TODO_CLASSIFICATION_KEY'"
},
{
"name": "conditional_formatting",
"select": "'TODO_CONDITIONAL_FORMATTING_KEY'"
},
{
"name": "status",
"select": "'TODO_STATUS_KEY'"
},
{
"name": "screen",
"select": "'TODO_SCREEN_KEY'"
}
],
"xslt": "file://assets/metrics.xslt",
"fileName": "result.json"
}
},
{
"name": "file-transformation-xslt",
"taskReferenceName": "file_transformation_xslt_html",
"description": "Generate html report",
"optional": false,
"type": "SUB_WORKFLOW",
"inputParameters": {
"mode": "FILE",
"file": "file://assets/empty.xml",
"params": [
{
"name": "metrics_url",
"select": "${file_transformation_xslt_metrics.output.file}"
},
{
"name": "index_url",
"select": "file://assets/index.html"
}
],
"xslt": "file://assets/html.xslt",
"fileName": "TODO_OUTPUT.html"
}
}
],
"outputParameters": {
"report": "${file_transformation_xslt_html.output.file}"
}
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92