valediction 1.0.0__py3-none-any.whl → 1.1.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- valediction/__init__.py +8 -8
- valediction/convenience.py +45 -50
- valediction/data_types/data_type_helpers.py +75 -75
- valediction/data_types/data_types.py +58 -58
- valediction/data_types/type_inference.py +541 -541
- valediction/datasets/datasets.py +870 -870
- valediction/datasets/datasets_helpers.py +46 -46
- valediction/demo/DEMOGRAPHICS.csv +101 -101
- valediction/demo/DIAGNOSES.csv +650 -650
- valediction/demo/LAB_TESTS.csv +1001 -1001
- valediction/demo/VITALS.csv +1001 -1001
- valediction/demo/__init__.py +6 -6
- valediction/demo/demo_dictionary.py +129 -129
- valediction/dictionary/exporting.py +501 -501
- valediction/dictionary/exporting_helpers.py +371 -371
- valediction/dictionary/generation.py +357 -357
- valediction/dictionary/helpers.py +174 -174
- valediction/dictionary/importing.py +494 -494
- valediction/dictionary/integrity.py +37 -37
- valediction/dictionary/model.py +582 -582
- valediction/exceptions.py +22 -22
- valediction/integrity.py +97 -97
- valediction/io/csv_readers.py +307 -307
- valediction/progress.py +206 -206
- valediction/support.py +72 -72
- valediction/validation/helpers.py +315 -315
- valediction/validation/issues.py +280 -280
- valediction/validation/validation.py +598 -598
- {valediction-1.0.0.dist-info → valediction-1.1.0.dist-info}/METADATA +1 -1
- valediction-1.1.0.dist-info/RECORD +38 -0
- {valediction-1.0.0.dist-info → valediction-1.1.0.dist-info}/WHEEL +1 -1
- valediction-1.0.0.dist-info/RECORD +0 -38
|
@@ -1,37 +1,37 @@
|
|
|
1
|
-
REQUIRED_SHEETS = {"details", "tables", "columns", "enumerations"}
|
|
2
|
-
|
|
3
|
-
S_DETAILS = "details"
|
|
4
|
-
S_TABLES = "tables"
|
|
5
|
-
S_COLUMNS = "columns"
|
|
6
|
-
S_ENUMERATIONS = "enumerations"
|
|
7
|
-
|
|
8
|
-
T_TABLES = "tables"
|
|
9
|
-
T_COLUMNS = "columns"
|
|
10
|
-
T_ENUMERATIONS = "enumerations"
|
|
11
|
-
|
|
12
|
-
C_CHECKS = "checks"
|
|
13
|
-
|
|
14
|
-
DD_TABLE_MAP = {
|
|
15
|
-
S_DETAILS: None,
|
|
16
|
-
S_TABLES: T_TABLES,
|
|
17
|
-
S_COLUMNS: T_COLUMNS,
|
|
18
|
-
S_ENUMERATIONS: T_ENUMERATIONS,
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
DD_COLUMN_MAP = {
|
|
22
|
-
S_DETAILS: None,
|
|
23
|
-
S_TABLES: ["table", "description", C_CHECKS],
|
|
24
|
-
S_COLUMNS: [
|
|
25
|
-
"table",
|
|
26
|
-
"column",
|
|
27
|
-
"order",
|
|
28
|
-
"data type",
|
|
29
|
-
"length",
|
|
30
|
-
"vocabularies",
|
|
31
|
-
"enumerations",
|
|
32
|
-
"primary key",
|
|
33
|
-
"column description",
|
|
34
|
-
C_CHECKS,
|
|
35
|
-
],
|
|
36
|
-
S_ENUMERATIONS: ["table", "column", "code", "description", C_CHECKS],
|
|
37
|
-
}
|
|
1
|
+
REQUIRED_SHEETS = {"details", "tables", "columns", "enumerations"}
|
|
2
|
+
|
|
3
|
+
S_DETAILS = "details"
|
|
4
|
+
S_TABLES = "tables"
|
|
5
|
+
S_COLUMNS = "columns"
|
|
6
|
+
S_ENUMERATIONS = "enumerations"
|
|
7
|
+
|
|
8
|
+
T_TABLES = "tables"
|
|
9
|
+
T_COLUMNS = "columns"
|
|
10
|
+
T_ENUMERATIONS = "enumerations"
|
|
11
|
+
|
|
12
|
+
C_CHECKS = "checks"
|
|
13
|
+
|
|
14
|
+
DD_TABLE_MAP = {
|
|
15
|
+
S_DETAILS: None,
|
|
16
|
+
S_TABLES: T_TABLES,
|
|
17
|
+
S_COLUMNS: T_COLUMNS,
|
|
18
|
+
S_ENUMERATIONS: T_ENUMERATIONS,
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
DD_COLUMN_MAP = {
|
|
22
|
+
S_DETAILS: None,
|
|
23
|
+
S_TABLES: ["table", "description", C_CHECKS],
|
|
24
|
+
S_COLUMNS: [
|
|
25
|
+
"table",
|
|
26
|
+
"column",
|
|
27
|
+
"order",
|
|
28
|
+
"data type",
|
|
29
|
+
"length",
|
|
30
|
+
"vocabularies",
|
|
31
|
+
"enumerations",
|
|
32
|
+
"primary key",
|
|
33
|
+
"column description",
|
|
34
|
+
C_CHECKS,
|
|
35
|
+
],
|
|
36
|
+
S_ENUMERATIONS: ["table", "column", "code", "description", C_CHECKS],
|
|
37
|
+
}
|