adiwg-mdcodes 2.8.4 → 2.9.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/README.md +1 -7
- data/lib/adiwg/mdcodes/version.rb +2 -1
- data/package-lock.json +31 -65
- data/package.json +9 -4
- data/resources/adiwg_dataQualityElement.yml +34 -0
- data/resources/adiwg_evaluationMethod.yml +15 -0
- data/resources/adiwg_unitsOfMeasure.yml +55 -0
- data/resources/iso_evaluationMethodTypeCode.yml +13 -0
- data/resources/iso_scope.yml +41 -42
- data/resources/iso_valueStructure.yml +16 -0
- data/scripts/prepublish.js +6 -2
- metadata +11 -8
- data/bower.json +0 -29
- data/resources/iso_dataQualityElement.yml +0 -35
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0526c3b3899762cac428d826dac74f141b3318e661cebfac6a50113f2d93c901
|
4
|
+
data.tar.gz: 298a7bf82ad5b27ddfe133285520fa662b866f7010cd6851b90a629341b775a3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8f550ff7a269da32a0412499a80197a75c98436bc1fff020e97e9704bb6037c72af0b46294ab4b02a3da88ee6436cd6bcc948e2fbf74efa0b6f7b567faeebae0
|
7
|
+
data.tar.gz: '048015b1f737500bed31d9497d7ae795a44eed070e61f24df80ddbfcdf49f5873d6b023802db6aba819055ed71e9916c7aee4301aab09722c871727785e0e2fa'
|
data/.gitignore
CHANGED
data/README.md
CHANGED
@@ -1,6 +1,4 @@
|
|
1
|
-
[![Build Status](https://travis-ci.org/adiwg/mdCodes.svg)](https://travis-ci.org/adiwg/mdCodes)
|
2
1
|
[![Gem Version](https://badge.fury.io/rb/adiwg-mdcodes.svg)](http://badge.fury.io/rb/adiwg-mdcodes)
|
3
|
-
[![Bower version](https://badge.fury.io/bo/mdcodes.svg)](https://badge.fury.io/bo/mdcodes)
|
4
2
|
[![npm version](https://badge.fury.io/js/mdcodes.svg)](https://badge.fury.io/js/mdcodes)
|
5
3
|
|
6
4
|
# mdCodes
|
@@ -9,13 +7,9 @@ mdCodes provides code lists in hash or JSON formats for loading of mdEditor and
|
|
9
7
|
tools that use the ADIwg [mdJson-schemas](https://github.com/adiwg/mdJson-schemas). The code lists
|
10
8
|
include all ISO 19115-2 and ISO 19115-1 codes plus supplemental codes added by NGDC and ADIwg. The
|
11
9
|
code lists may be accessed in Ruby using the gem. Alternatively, JSON may be generated from the YAML
|
12
|
-
using [Grunt](http://gruntjs.com/getting-started).
|
10
|
+
using [Grunt](http://gruntjs.com/getting-started). NPM package is available as well.
|
13
11
|
See the following for instructions.
|
14
12
|
|
15
|
-
## Bower
|
16
|
-
|
17
|
-
bower install mdcodes
|
18
|
-
|
19
13
|
## npm
|
20
14
|
|
21
15
|
npm install mdcodes
|
@@ -1,6 +1,7 @@
|
|
1
1
|
# adiwg mdCodes
|
2
2
|
|
3
3
|
# version 2 history
|
4
|
+
# 2.9.1 2024-02-26 refactored data quality
|
4
5
|
# 2.8.4 2023-03-06 added data quality
|
5
6
|
# 2.7.6 2019-07-09 fixed iso_role changed use to user
|
6
7
|
# 2.7.4 2019-04-12 fixed iso_telephone changed sourceName to CI_TelephoneTypeCode
|
@@ -29,7 +30,7 @@
|
|
29
30
|
|
30
31
|
module ADIWG
|
31
32
|
module Mdcodes
|
32
|
-
VERSION = "2.
|
33
|
+
VERSION = "2.9.1"
|
33
34
|
end
|
34
35
|
end
|
35
36
|
|
data/package-lock.json
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
{
|
2
2
|
"name": "mdcodes",
|
3
|
-
"version": "2.
|
3
|
+
"version": "2.9.1",
|
4
4
|
"lockfileVersion": 3,
|
5
5
|
"requires": true,
|
6
6
|
"packages": {
|
7
7
|
"": {
|
8
8
|
"name": "mdcodes",
|
9
|
-
"version": "2.
|
9
|
+
"version": "2.9.1",
|
10
10
|
"license": "Unlicense",
|
11
11
|
"dependencies": {
|
12
|
-
"buildify": "powmedia/buildify#20458a121411f759dcc5ec1b441695eb7fc2b3b7",
|
12
|
+
"buildify": "github:powmedia/buildify#20458a121411f759dcc5ec1b441695eb7fc2b3b7",
|
13
13
|
"glob": "^7.1.0",
|
14
14
|
"rimraf": "^2.6.2"
|
15
15
|
},
|
@@ -88,9 +88,9 @@
|
|
88
88
|
}
|
89
89
|
},
|
90
90
|
"node_modules/async": {
|
91
|
-
"version": "3.2.
|
92
|
-
"resolved": "https://registry.npmjs.org/async/-/async-3.2.
|
93
|
-
"integrity": "sha512-
|
91
|
+
"version": "3.2.4",
|
92
|
+
"resolved": "https://registry.npmjs.org/async/-/async-3.2.4.tgz",
|
93
|
+
"integrity": "sha512-iAB+JbDEGXhyIUavoDl9WP/Jj106Kz9DEn1DPgYw5ruDn0e3Wgi3sKFm55sASdGBNOQB8F59d9qQ7deqrHA8wQ==",
|
94
94
|
"dev": true
|
95
95
|
},
|
96
96
|
"node_modules/balanced-match": {
|
@@ -531,7 +531,7 @@
|
|
531
531
|
"node_modules/grunt-convert/node_modules/async": {
|
532
532
|
"version": "0.9.2",
|
533
533
|
"resolved": "https://registry.npmjs.org/async/-/async-0.9.2.tgz",
|
534
|
-
"integrity": "
|
534
|
+
"integrity": "sha512-l6ToIJIotphWahxxHyzK9bnLR6kM4jJIIgLShZeqLY7iboHoGkdgFl7W2/Ivi4SkMJYGKqW8vSuk0uKUj6qsSw==",
|
535
535
|
"dev": true
|
536
536
|
},
|
537
537
|
"node_modules/grunt-known-options": {
|
@@ -602,12 +602,6 @@
|
|
602
602
|
"url": "https://github.com/chalk/chalk?sponsor=1"
|
603
603
|
}
|
604
604
|
},
|
605
|
-
"node_modules/grunt-legacy-log-utils/node_modules/lodash": {
|
606
|
-
"version": "4.17.21",
|
607
|
-
"resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz",
|
608
|
-
"integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==",
|
609
|
-
"dev": true
|
610
|
-
},
|
611
605
|
"node_modules/grunt-legacy-log-utils/node_modules/supports-color": {
|
612
606
|
"version": "7.2.0",
|
613
607
|
"resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz",
|
@@ -620,12 +614,6 @@
|
|
620
614
|
"node": ">=8"
|
621
615
|
}
|
622
616
|
},
|
623
|
-
"node_modules/grunt-legacy-log/node_modules/lodash": {
|
624
|
-
"version": "4.17.21",
|
625
|
-
"resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz",
|
626
|
-
"integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==",
|
627
|
-
"dev": true
|
628
|
-
},
|
629
617
|
"node_modules/grunt-legacy-util": {
|
630
618
|
"version": "2.0.1",
|
631
619
|
"resolved": "https://registry.npmjs.org/grunt-legacy-util/-/grunt-legacy-util-2.0.1.tgz",
|
@@ -644,12 +632,6 @@
|
|
644
632
|
"node": ">=10"
|
645
633
|
}
|
646
634
|
},
|
647
|
-
"node_modules/grunt-legacy-util/node_modules/lodash": {
|
648
|
-
"version": "4.17.21",
|
649
|
-
"resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz",
|
650
|
-
"integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==",
|
651
|
-
"dev": true
|
652
|
-
},
|
653
635
|
"node_modules/grunt-legacy-util/node_modules/which": {
|
654
636
|
"version": "2.0.2",
|
655
637
|
"resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz",
|
@@ -691,22 +673,13 @@
|
|
691
673
|
"node": ">=0.10.0"
|
692
674
|
}
|
693
675
|
},
|
694
|
-
"node_modules/grunt-yamllint/node_modules/argparse": {
|
695
|
-
"version": "1.0.10",
|
696
|
-
"resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz",
|
697
|
-
"integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==",
|
698
|
-
"dev": true,
|
699
|
-
"dependencies": {
|
700
|
-
"sprintf-js": "~1.0.2"
|
701
|
-
}
|
702
|
-
},
|
703
676
|
"node_modules/grunt-yamllint/node_modules/async": {
|
704
|
-
"version": "2.6.
|
705
|
-
"resolved": "https://registry.npmjs.org/async/-/async-2.6.
|
706
|
-
"integrity": "sha512-
|
677
|
+
"version": "2.6.4",
|
678
|
+
"resolved": "https://registry.npmjs.org/async/-/async-2.6.4.tgz",
|
679
|
+
"integrity": "sha512-mzo5dfJYwAn29PeiJ0zvwTo04zj8HDJj0Mn8TD7sno7q12prdbnasKJHhkm2c1LgrhlJ0teaea8860oxi51mGA==",
|
707
680
|
"dev": true,
|
708
681
|
"dependencies": {
|
709
|
-
"lodash": "^4.17.
|
682
|
+
"lodash": "^4.17.14"
|
710
683
|
}
|
711
684
|
},
|
712
685
|
"node_modules/grunt-yamllint/node_modules/chalk": {
|
@@ -725,19 +698,6 @@
|
|
725
698
|
"node": ">=0.10.0"
|
726
699
|
}
|
727
700
|
},
|
728
|
-
"node_modules/grunt-yamllint/node_modules/js-yaml": {
|
729
|
-
"version": "3.13.1",
|
730
|
-
"resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.13.1.tgz",
|
731
|
-
"integrity": "sha512-YfbcO7jXDdyj0DGxYVSlSeQNHbD7XPWvrVWeVUujrQEoZzWJIRrCPoyk6kL6IAjAG2IolMK4T0hNUe0HOUs5Jw==",
|
732
|
-
"dev": true,
|
733
|
-
"dependencies": {
|
734
|
-
"argparse": "^1.0.7",
|
735
|
-
"esprima": "^4.0.0"
|
736
|
-
},
|
737
|
-
"bin": {
|
738
|
-
"js-yaml": "bin/js-yaml.js"
|
739
|
-
}
|
740
|
-
},
|
741
701
|
"node_modules/grunt-yamllint/node_modules/strip-ansi": {
|
742
702
|
"version": "3.0.1",
|
743
703
|
"resolved": "http://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz",
|
@@ -770,6 +730,18 @@
|
|
770
730
|
"url": "https://github.com/sponsors/isaacs"
|
771
731
|
}
|
772
732
|
},
|
733
|
+
"node_modules/grunt/node_modules/glob/node_modules/minimatch": {
|
734
|
+
"version": "3.1.2",
|
735
|
+
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz",
|
736
|
+
"integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==",
|
737
|
+
"dev": true,
|
738
|
+
"dependencies": {
|
739
|
+
"brace-expansion": "^1.1.7"
|
740
|
+
},
|
741
|
+
"engines": {
|
742
|
+
"node": "*"
|
743
|
+
}
|
744
|
+
},
|
773
745
|
"node_modules/grunt/node_modules/grunt-cli": {
|
774
746
|
"version": "1.4.3",
|
775
747
|
"resolved": "https://registry.npmjs.org/grunt-cli/-/grunt-cli-1.4.3.tgz",
|
@@ -1136,9 +1108,9 @@
|
|
1136
1108
|
}
|
1137
1109
|
},
|
1138
1110
|
"node_modules/lodash": {
|
1139
|
-
"version": "4.17.
|
1140
|
-
"resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.
|
1141
|
-
"integrity": "sha512-
|
1111
|
+
"version": "4.17.21",
|
1112
|
+
"resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz",
|
1113
|
+
"integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==",
|
1142
1114
|
"dev": true
|
1143
1115
|
},
|
1144
1116
|
"node_modules/lru-cache": {
|
@@ -1182,9 +1154,9 @@
|
|
1182
1154
|
}
|
1183
1155
|
},
|
1184
1156
|
"node_modules/minimatch": {
|
1185
|
-
"version": "3.0.
|
1186
|
-
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.
|
1187
|
-
"integrity": "
|
1157
|
+
"version": "3.0.8",
|
1158
|
+
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.8.tgz",
|
1159
|
+
"integrity": "sha512-6FsRAQsxQ61mw+qP1ZzbL9Bc78x2p5OqNgNpnoAFLTrX8n5Kxph0CsnhmKKNXTWjXqU5L0pGPR7hYk+XWZr60Q==",
|
1188
1160
|
"dependencies": {
|
1189
1161
|
"brace-expansion": "^1.1.7"
|
1190
1162
|
},
|
@@ -1652,12 +1624,6 @@
|
|
1652
1624
|
"xmlbuilder": "^4.1.0"
|
1653
1625
|
}
|
1654
1626
|
},
|
1655
|
-
"node_modules/xml2js/node_modules/lodash": {
|
1656
|
-
"version": "4.17.15",
|
1657
|
-
"resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.15.tgz",
|
1658
|
-
"integrity": "sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A==",
|
1659
|
-
"dev": true
|
1660
|
-
},
|
1661
1627
|
"node_modules/xml2js/node_modules/xmlbuilder": {
|
1662
1628
|
"version": "4.2.1",
|
1663
1629
|
"resolved": "https://registry.npmjs.org/xmlbuilder/-/xmlbuilder-4.2.1.tgz",
|
@@ -1685,7 +1651,7 @@
|
|
1685
1651
|
"node_modules/xmlbuilder/node_modules/lodash": {
|
1686
1652
|
"version": "3.10.1",
|
1687
1653
|
"resolved": "https://registry.npmjs.org/lodash/-/lodash-3.10.1.tgz",
|
1688
|
-
"integrity": "
|
1654
|
+
"integrity": "sha512-9mDDwqVIma6OZX79ZlDACZl8sBm0TEnkf99zV3iMA4GzkIT/9hiqP5mY0HoT1iNLCrKc/R1HByV+yJfRWVJryQ==",
|
1689
1655
|
"dev": true
|
1690
1656
|
},
|
1691
1657
|
"node_modules/xmldom": {
|
@@ -1735,7 +1701,7 @@
|
|
1735
1701
|
"node_modules/yamljs/node_modules/minimatch": {
|
1736
1702
|
"version": "0.2.14",
|
1737
1703
|
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-0.2.14.tgz",
|
1738
|
-
"integrity": "
|
1704
|
+
"integrity": "sha512-zZ+Jy8lVWlvqqeM8iZB7w7KmQkoJn8djM585z88rywrEbzoqawVa9FR5p2hwD+y74nfuKOjmNvi9gtWJNLqHvA==",
|
1739
1705
|
"deprecated": "Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue",
|
1740
1706
|
"dev": true,
|
1741
1707
|
"dependencies": {
|
data/package.json
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
{
|
2
2
|
"name": "mdcodes",
|
3
|
-
"version": "2.
|
3
|
+
"version": "2.9.1",
|
4
4
|
"main": "index.js",
|
5
5
|
"description": "CodeLists for ADIwg mdJSON",
|
6
6
|
"repository": {
|
7
7
|
"type": "git",
|
8
|
-
"url": "https://github.com/adiwg/mdCodes.git"
|
8
|
+
"url": "git+https://github.com/adiwg/mdCodes.git"
|
9
9
|
},
|
10
10
|
"keywords": [
|
11
11
|
"metadata",
|
@@ -25,11 +25,16 @@
|
|
25
25
|
"grunt-yamllint": "^0.3.0"
|
26
26
|
},
|
27
27
|
"scripts": {
|
28
|
-
"prepublishOnly": "scripts/prepublish.js"
|
28
|
+
"prepublishOnly": "scripts/prepublish.js",
|
29
|
+
"build": "npm i --force && grunt convert && grunt concat-json && npm run prepublishOnly"
|
29
30
|
},
|
30
31
|
"dependencies": {
|
31
|
-
"buildify": "powmedia/buildify#20458a121411f759dcc5ec1b441695eb7fc2b3b7",
|
32
|
+
"buildify": "github:powmedia/buildify#20458a121411f759dcc5ec1b441695eb7fc2b3b7",
|
32
33
|
"glob": "^7.1.0",
|
33
34
|
"rimraf": "^2.6.2"
|
35
|
+
},
|
36
|
+
"directories": {
|
37
|
+
"lib": "lib",
|
38
|
+
"test": "test"
|
34
39
|
}
|
35
40
|
}
|
@@ -0,0 +1,34 @@
|
|
1
|
+
---
|
2
|
+
# mdJson codelists
|
3
|
+
|
4
|
+
codelistType: "staticList"
|
5
|
+
codelistName: "adiwg_dataQualityElement"
|
6
|
+
source: "Alaska Data Integration working group"
|
7
|
+
sourceName: "ADIwg_DataQualityElement"
|
8
|
+
extensible: true
|
9
|
+
description: "ISO data quality element class names"
|
10
|
+
codelist:
|
11
|
+
- { code: "001", codeName: AbsoluteExternalPositionalAccuracy, description: "closeness of reported coordinate values to values accepted as or being true" }
|
12
|
+
- { code: "002", codeName: AccuracyOfATimeMeasurement, description: "correctness of the temporal references of an item (reporting of error in time measurement)" }
|
13
|
+
- { code: "003", codeName: ConceptualConsistency, description: "adherence to rules of the conceptual schema" }
|
14
|
+
- { code: "004", codeName: CompletenessCommission, description: "excess data present in the dataset, as described by the scope" }
|
15
|
+
- { code: "005", codeName: CompletenessOmission, description: "data absent from the dataset, as described by the scope" }
|
16
|
+
- { code: "006", codeName: Confidence, description: "trustworthiness of a data quality result" }
|
17
|
+
- { code: "007", codeName: CoverageResult, description: "result of a data quality measure organising the measured values as a coverage" }
|
18
|
+
- { code: "008", codeName: DomainConsistency, description: "adherence of values to the value domains" }
|
19
|
+
- { code: "009", codeName: FormatConsistency, description: "degree to which data is stored in accordance with the physical structure of the dataset, as described by the scope" }
|
20
|
+
- { code: "010", codeName: GriddedDataPositionalAccuracy, description: "closeness of gridded data position values to values accepted as or being true" }
|
21
|
+
- { code: "011", codeName: Homogeneity, description: "expected or tested uniformity of the results obtained for a data quality evaluation" }
|
22
|
+
- { code: "012", codeName: NonQuantitativeAttributeCorrectness, description: "correctness of non-quantitative attributes" }
|
23
|
+
- { code: "013", codeName: QuantitativeAttributeAccuracy, description: "accuracy of quantitative attributes" }
|
24
|
+
- { code: "014", codeName: RelativeInternalPositionalAccuracy, description: "closeness of the relative positions of features in the scope to their respective relative positions accepted as or being true" }
|
25
|
+
- { code: "015", codeName: Representativity, description: "degree to which the sample used has produced a result which is representative of the data within the data quality scope" }
|
26
|
+
- { code: "016", codeName: TemporalConsistency, description: "correctness of ordered events or sequences, if reported" }
|
27
|
+
- { code: "017", codeName: TemporalValidity, description: "validity of data specified by the scope with respect to time" }
|
28
|
+
- { code: "018", codeName: ThematicClassificationCorrectness, description: "comparison of the classes assigned to features or their attributes to a universe of discourse" }
|
29
|
+
- { code: "019", codeName: TopologicalConsistency, description: "correctness of the explicitly encoded topological characteristics of the dataset as described by the scope" }
|
30
|
+
- { code: "020", codeName: UsabilityElement, description: "degree of adherence of a dataset to a specific set of requirements" }
|
31
|
+
- { code: "021", codeName: Completeness, description: "presence and absence of features, their attributes and their relationships" }
|
32
|
+
- { code: "022", codeName: LogicalConsistency, description: "adherence to rules of the conceptual schema" }
|
33
|
+
- { code: "023", codeName: PositionalAccuracy, description: "closeness of reported coordinate values to values accepted as or being true" }
|
34
|
+
- { code: "024", codeName: TemporalQuality, description: "correctness of the temporal references of an item (reporting of error in time measurement)" }
|
@@ -0,0 +1,15 @@
|
|
1
|
+
---
|
2
|
+
# mdJson codelists
|
3
|
+
|
4
|
+
codelistType: "staticList"
|
5
|
+
codelistName: "adiwg_evaluationMethod"
|
6
|
+
source: "Alaska Data Integration working group"
|
7
|
+
sourceName: "ADIwg_EvaluationMethod"
|
8
|
+
extensible: true
|
9
|
+
description: "the type of Evaluation Method"
|
10
|
+
codelist:
|
11
|
+
- { code: "001", codeName: evaluationMethod, description: "type of method used to evaluate quality of the data" }
|
12
|
+
- { code: "002", codeName: data, description: "data evaluation method" }
|
13
|
+
- { code: "003", codeName: fullInspection, description: "full inspection" }
|
14
|
+
- { code: "004", codeName: sampleBasedInspection, description: "sample based inspection" }
|
15
|
+
- { code: "005", codeName: aggregationDerivation, description: "aggregation or derivation method" }
|
@@ -0,0 +1,55 @@
|
|
1
|
+
---
|
2
|
+
# mdJson codelists
|
3
|
+
|
4
|
+
codelistType: "staticList"
|
5
|
+
codelistName: "adiwg_unitsOfMeasure"
|
6
|
+
source: "Alaska Data Integration working group"
|
7
|
+
sourceName: "ADIwg_UnitsOfMeasure"
|
8
|
+
extensible: true
|
9
|
+
description: "units of measure"
|
10
|
+
codelist:
|
11
|
+
- { code: "001", codeName: metres, description: "m" }
|
12
|
+
- { code: "002", codeName: millimetres, description: "mm" }
|
13
|
+
- { code: "003", codeName: centimetres, description: "cm" }
|
14
|
+
- { code: "004", codeName: kilometres, description: "km" }
|
15
|
+
- { code: "005", codeName: inches, description: "in" }
|
16
|
+
- { code: "006", codeName: feet, description: "ft" }
|
17
|
+
- { code: "007", codeName: yards, description: "yd" }
|
18
|
+
- { code: "008", codeName: miles, description: "mi" }
|
19
|
+
- { code: "009", codeName: kilometresPerHour, description: "km/h" }
|
20
|
+
- { code: "010", codeName: milesPerHour, description: "mph" }
|
21
|
+
- { code: "011", codeName: metresPerSecond, description: "m/s" }
|
22
|
+
- { code: "012", codeName: feetPerSecond, description: "ft/s" }
|
23
|
+
- { code: "013", codeName: metresPerSecondSquared, description: "m/s²" }
|
24
|
+
- { code: "014", codeName: seconds, description: "s" }
|
25
|
+
- { code: "015", codeName: degCelsius, description: "°C" }
|
26
|
+
- { code: "016", codeName: degFahrenheit, description: "°F" }
|
27
|
+
- { code: "017", codeName: kelvin, description: "K" }
|
28
|
+
- { code: "018", codeName: candela, description: "cd" }
|
29
|
+
- { code: "019", codeName: radian, description: "rad" }
|
30
|
+
- { code: "020", codeName: steradian, description: "sr" }
|
31
|
+
- { code: "021", codeName: hertz, description: "Hz" }
|
32
|
+
- { code: "022", codeName: newton, description: "N" }
|
33
|
+
- { code: "023", codeName: pascal, description: "Pa" }
|
34
|
+
- { code: "024", codeName: joule, description: "J" }
|
35
|
+
- { code: "025", codeName: watt, description: "W" }
|
36
|
+
- { code: "026", codeName: ampere, description: "A" }
|
37
|
+
- { code: "027", codeName: volt, description: "V" }
|
38
|
+
- { code: "028", codeName: farad, description: "F" }
|
39
|
+
- { code: "029", codeName: ohm, description: "Ω" }
|
40
|
+
- { code: "030", codeName: siemens, description: "S" }
|
41
|
+
- { code: "031", codeName: weber, description: "Wb" }
|
42
|
+
- { code: "032", codeName: tesla, description: "T" }
|
43
|
+
- { code: "033", codeName: henry, description: "H" }
|
44
|
+
- { code: "034", codeName: lumen, description: "lm" }
|
45
|
+
- { code: "035", codeName: squareInches, description: "in²" }
|
46
|
+
- { code: "036", codeName: squareFeet, description: "ft²" }
|
47
|
+
- { code: "037", codeName: squareMiles, description: "mi²" }
|
48
|
+
- { code: "038", codeName: squareMetres, description: "m²" }
|
49
|
+
- { code: "039", codeName: hectares, description: "ha" }
|
50
|
+
- { code: "040", codeName: acres, description: "ac" }
|
51
|
+
- { code: "041", codeName: cubicInches, description: "in³" }
|
52
|
+
- { code: "042", codeName: cubicFeet, description: "ft³" }
|
53
|
+
- { code: "043", codeName: cubicMetres, description: "m³" }
|
54
|
+
- { code: "044", codeName: grams, description: "g" }
|
55
|
+
- { code: "045", codeName: coulombs, description: "C" }
|
@@ -0,0 +1,13 @@
|
|
1
|
+
---
|
2
|
+
# mdJson codelists
|
3
|
+
|
4
|
+
codelistType: "staticList"
|
5
|
+
codelistName: "iso_evaluationMethodTypeCode"
|
6
|
+
source: "ISO"
|
7
|
+
sourceName: "DQ_EvaluationMethodTypeCode"
|
8
|
+
extensible: true
|
9
|
+
description: "type of method for evaluating an identified data quality measure"
|
10
|
+
codelist:
|
11
|
+
- { code: "001", codeName: directInternal, description: "method of evaluating the quality of a data set based on inspection of items within the data set, where all data required is internal to the data set being evaluated" }
|
12
|
+
- { code: "002", codeName: directExternal, description: "method of evaluating the quality of a data set based on inspection of items within the data set, where reference data external to the data set being evaluated is required" }
|
13
|
+
- { code: "003", codeName: indirect, description: "method of evaluating the quality of a data set based on external knowledge" }
|
data/resources/iso_scope.yml
CHANGED
@@ -10,45 +10,44 @@ sourceName: "MD_ScopeCode"
|
|
10
10
|
extensible: true
|
11
11
|
description: "class of information to which the referencing entity applies"
|
12
12
|
codelist:
|
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
|
-
|
13
|
+
- { code: "001", codeName: attribute, description: "information applies to the attribute class" }
|
14
|
+
- { code: "002", codeName: attributeType, description: "information applies to the characteristic of a feature" }
|
15
|
+
- { code: "003", codeName: collectionHardware, description: "information applies to the collection hardware class" }
|
16
|
+
- { code: "004", codeName: collectionSession, description: "information applies to the collection session" }
|
17
|
+
- { code: "005", codeName: dataset, description: "information applies to the dataset" }
|
18
|
+
- { code: "006", codeName: series, description: "information applies to the series" }
|
19
|
+
- { code: "007", codeName: nonGeographicDataset, description: "information applies to non-geographic data" }
|
20
|
+
- { code: "008", codeName: dimensionGroup, description: "information applies to a dimension group" }
|
21
|
+
- { code: "009", codeName: feature, description: "information applies to a feature" }
|
22
|
+
- { code: "010", codeName: featureType, description: "information applies to a feature type" }
|
23
|
+
- { code: "011", codeName: propertyType, description: "information applies to a property type" }
|
24
|
+
- { code: "012", codeName: fieldSession, description: "information applies to a field session" }
|
25
|
+
- { code: "013", codeName: software, description: "information applies to a computer program or routine" }
|
26
|
+
- { code: "014", codeName: service, description: "information applies to a capability which a service provider entity makes available to a service user entity through a set of interfaces that define a behaviour, such as a use case" }
|
27
|
+
- { code: "015", codeName: model, description: "information applies to a copy or imitation of an existing or hypothetical object" }
|
28
|
+
- { code: "016", codeName: tile, description: "information applies to a tile, a spatial subset of geographic data" }
|
29
|
+
- { code: "017", codeName: metadata, description: "information applies to metadata" }
|
30
|
+
- { code: "018", codeName: initiative, description: "information applies to an initiative" }
|
31
|
+
- { code: "019", codeName: sample, description: "information applies to a sample" }
|
32
|
+
- { code: "020", codeName: document, description: "information applies to a document" }
|
33
|
+
- { code: "021", codeName: repository, description: "information applies to a repository" }
|
34
|
+
- { code: "022", codeName: aggregate, description: "information applies to an aggregate resource" }
|
35
|
+
- { code: "023", codeName: product, description: "metadata describing an ISO 19131 data product specification" }
|
36
|
+
- { code: "024", codeName: collection, description: "information applies to an unstructured set" }
|
37
|
+
- { code: "025", codeName: coverage, description: "information applies to a coverage" }
|
38
|
+
- { code: "026", codeName: application, description: "information resource hosted on a specific set of hardware and accessible over a network" }
|
39
|
+
- { code: "adiwg001", codeName: sciencePaper, description: "document based on an experiment or research" }
|
40
|
+
- { code: "adiwg002", codeName: userGuide, description: "operating manual for users" }
|
41
|
+
- { code: "adiwg003", codeName: dataDictionary, description: "element and entity definitions" }
|
42
|
+
- { code: "adiwg004", codeName: website, description: "information applies to a website such as a thematic portal" }
|
43
|
+
- { code: "adiwg005", codeName: publication, description: "information applies to a published document" }
|
44
|
+
- { code: "adiwg006", codeName: report, description: "information applies to an unpublished document" }
|
45
|
+
- { code: "adiwg007", codeName: awardInfo, description: "information applies to a document related to the grant or award for the resource" }
|
46
|
+
- { code: "adiwg008", codeName: collectionSite, description: "Locations where data are collected for scientific research" }
|
47
|
+
- { code: "adiwg009", codeName: project, description: "high level information that applies to research activity such as project title, location, contacts, timeframe, abstract, etc." }
|
48
|
+
- { code: "adiwg010", codeName: factSheet, description: "information applies to fact sheet, pamphlet, flyer, or brochure" }
|
49
|
+
- { code: "adiwg011", codeName: tabularDataset, description: "information applies to a tabular dataset, spreadsheet, or relational database" }
|
50
|
+
- { code: "adiwg012", codeName: map, description: "information applies to a printed or electronic map" }
|
51
|
+
- { code: "adiwg013", codeName: drawing, description: "information applies to a hand drawn or digital drawing" }
|
52
|
+
- { code: "adiwg014", codeName: photographicImage, description: "information applies to a still or moving film or video image" }
|
53
|
+
- { code: "adiwg015", codeName: presentation, description: "information applies to a collection of presentation slides or recorded presentation" }
|
@@ -0,0 +1,16 @@
|
|
1
|
+
---
|
2
|
+
# mdJson codelists
|
3
|
+
|
4
|
+
codelistType: "staticList"
|
5
|
+
codelistName: "iso_valueStructure"
|
6
|
+
source: "ISO"
|
7
|
+
sourceName: "DQM_ValueStructure"
|
8
|
+
extensible: true
|
9
|
+
description: "structure for reporting a complex data quality result"
|
10
|
+
codelist:
|
11
|
+
- { code: "001", codeName: "bag", description: "finite, unordered collection of related items (objects or values) that may be repeated (ISO 19107:2003)" }
|
12
|
+
- { code: "002", codeName: "set", description: "unordered collection of related items (objects or values) with no repetition (ISO 19107:2003)" }
|
13
|
+
- { code: "003", codeName: "sequence", description: "finite, ordered collection of related items (objects or values) that may be repeated (ISO 19107:2003)" }
|
14
|
+
- { code: "004", codeName: "table", description: "an arrangement of data in which each item may be identified by means of arguments or keys (ISO/IEC 2382-4:1999)" }
|
15
|
+
- { code: "005", codeName: "matrix", description: "rectangular array of numbers (ISO/TS 19129:2009)" }
|
16
|
+
- { code: "006", codeName: "coverage", description: "feature that acts as a function to return values from its range for any direct position within its spatial, temporal or spatiotemporal domain (ISO 19123:2005)" }
|
data/scripts/prepublish.js
CHANGED
@@ -7,9 +7,13 @@ let buildify = require('buildify');
|
|
7
7
|
let rimraf = require('rimraf');
|
8
8
|
let path = 'resources/js';
|
9
9
|
|
10
|
-
|
10
|
+
console.log('Start Preprocess for npm publishing')
|
11
|
+
|
12
|
+
if (fs.existsSync(path)) {
|
11
13
|
rimraf.sync(path);
|
12
|
-
console.log('Removed existing resources/js files
|
14
|
+
console.log('Removed existing resources/js files');
|
15
|
+
} else {
|
16
|
+
console.log('No existing resources/js files');
|
13
17
|
}
|
14
18
|
|
15
19
|
fs.mkdirSync(path);
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: adiwg-mdcodes
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.9.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- stansmith907, jlblcc
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-03-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -85,7 +85,6 @@ files:
|
|
85
85
|
- README.md
|
86
86
|
- Rakefile
|
87
87
|
- adiwg-mdcodes.gemspec
|
88
|
-
- bower.json
|
89
88
|
- index.js
|
90
89
|
- lib/adiwg-mdcodes.rb
|
91
90
|
- lib/adiwg/mdcodes.rb
|
@@ -94,13 +93,16 @@ files:
|
|
94
93
|
- package.json
|
95
94
|
- resources/adiwg_addressType.yml
|
96
95
|
- resources/adiwg_applicationProfile.yml
|
96
|
+
- resources/adiwg_dataQualityElement.yml
|
97
97
|
- resources/adiwg_dataType.yml
|
98
98
|
- resources/adiwg_entityType.yml
|
99
|
+
- resources/adiwg_evaluationMethod.yml
|
99
100
|
- resources/adiwg_mapGridSystem.yml
|
100
101
|
- resources/adiwg_mapProjection.yml
|
101
102
|
- resources/adiwg_metadataRepository.yml
|
102
103
|
- resources/adiwg_metadataStandard.yml
|
103
104
|
- resources/adiwg_namespace.yml
|
105
|
+
- resources/adiwg_unitsOfMeasure.yml
|
104
106
|
- resources/iso_DCPList.yml
|
105
107
|
- resources/iso_associationType.yml
|
106
108
|
- resources/iso_bandDefinition.yml
|
@@ -111,10 +113,10 @@ files:
|
|
111
113
|
- resources/iso_countries.yml
|
112
114
|
- resources/iso_coverageContentType.yml
|
113
115
|
- resources/iso_currency.yml
|
114
|
-
- resources/iso_dataQualityElement.yml
|
115
116
|
- resources/iso_dateType.yml
|
116
117
|
- resources/iso_dimensionNameType.yml
|
117
118
|
- resources/iso_entityClass.yml
|
119
|
+
- resources/iso_evaluationMethodTypeCode.yml
|
118
120
|
- resources/iso_geometricObjectType.yml
|
119
121
|
- resources/iso_geometryTypeCode.yml
|
120
122
|
- resources/iso_imageCondition.yml
|
@@ -144,6 +146,7 @@ files:
|
|
144
146
|
- resources/iso_topologyLevel.yml
|
145
147
|
- resources/iso_transferFunctionTypeCode.yml
|
146
148
|
- resources/iso_triggerCode.yml
|
149
|
+
- resources/iso_valueStructure.yml
|
147
150
|
- scripts/prepublish.js
|
148
151
|
- test/tc_mdcodes.rb
|
149
152
|
- test/tc_version.rb
|
@@ -151,7 +154,7 @@ homepage: https://github.com/adiwg/mdCodes
|
|
151
154
|
licenses:
|
152
155
|
- UNLICENSED
|
153
156
|
metadata: {}
|
154
|
-
post_install_message:
|
157
|
+
post_install_message:
|
155
158
|
rdoc_options: []
|
156
159
|
require_paths:
|
157
160
|
- lib
|
@@ -166,8 +169,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
166
169
|
- !ruby/object:Gem::Version
|
167
170
|
version: '0'
|
168
171
|
requirements: []
|
169
|
-
rubygems_version: 3.
|
170
|
-
signing_key:
|
172
|
+
rubygems_version: 3.1.6
|
173
|
+
signing_key:
|
171
174
|
specification_version: 4
|
172
175
|
summary: adiwg-mdcodes provides code lists for mdJSON.
|
173
176
|
test_files:
|
data/bower.json
DELETED
@@ -1,29 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"name": "mdcodes",
|
3
|
-
"homepage": "https://github.com/adiwg/mdCodes",
|
4
|
-
"authors": [
|
5
|
-
"Josh Bradley <jbradley@arcticlcc.org>"
|
6
|
-
],
|
7
|
-
"description": "Provides code lists for use in ISO 19139 compliant metadata, especially mdJSON.",
|
8
|
-
"main": "resources/json/mdcodes.json",
|
9
|
-
"keywords": [
|
10
|
-
"adiwg",
|
11
|
-
"metadata",
|
12
|
-
"json"
|
13
|
-
],
|
14
|
-
"license": "Unlicense",
|
15
|
-
"ignore": [
|
16
|
-
"**/.*",
|
17
|
-
"node_modules",
|
18
|
-
"bower_components",
|
19
|
-
"test",
|
20
|
-
"tests",
|
21
|
-
"lib",
|
22
|
-
"*.gemspec",
|
23
|
-
"Gemfile",
|
24
|
-
"Gemfile.lock",
|
25
|
-
"pkg",
|
26
|
-
"Rakefile",
|
27
|
-
"resources/*.yml"
|
28
|
-
]
|
29
|
-
}
|
@@ -1,35 +0,0 @@
|
|
1
|
-
---
|
2
|
-
# mdJson codelists
|
3
|
-
# base codelist for ISO 19115-2, 19115-1
|
4
|
-
|
5
|
-
codelistType: "staticList"
|
6
|
-
codelistName: "iso_dataQualityElement"
|
7
|
-
source: "ISO"
|
8
|
-
sourceName: "dataQualityElement"
|
9
|
-
extensible: true
|
10
|
-
description: "ISO data quality elements"
|
11
|
-
codelist:
|
12
|
-
- {code: "001", codeName: DQ_AbsoluteExternalPositionalAccuracy, description: "closeness of reported coordinate values to values accepted as or being true"}
|
13
|
-
- {code: "002", codeName: DQ_AccuracyOfATimeMeasurement, description: "correctness of the temporal references of an item (reporting of error in time measurement)"}
|
14
|
-
- {code: "003", codeName: DQ_ConceptualConsistency, description: "adherence to rules of the conceptual schema"}
|
15
|
-
- {code: "004", codeName: DQ_CompletenessCommission, description: "excess data present in the dataset, as described by the scope"}
|
16
|
-
- {code: "005", codeName: DQ_CompletenessOmission, description: "data absent from the dataset, as described by the scope"}
|
17
|
-
- {code: "006", codeName: DQ_Confidence, description: "trustworthiness of a data quality result"}
|
18
|
-
- {code: "007", codeName: DQ_CoverageResult, description: "result of a data quality measure organising the measured values as a coverage"}
|
19
|
-
- {code: "008", codeName: DQ_DomainConsistency, description: "adherence of values to the value domains"}
|
20
|
-
- {code: "009", codeName: DQ_FormatConsistency, description: "degree to which data is stored in accordance with the physical structure of the dataset, as described by the scope"}
|
21
|
-
- {code: "010", codeName: DQ_GriddedDataPositionalAccuracy, description: "closeness of gridded data position values to values accepted as or being true"}
|
22
|
-
- {code: "011", codeName: DQ_Homogeneity, description: "expected or tested uniformity of the results obtained for a data quality evaluation"}
|
23
|
-
- {code: "012", codeName: DQ_NonQuantitativeAttributeCorrectness, description: "correctness of non-quantitative attributes"}
|
24
|
-
- {code: "013", codeName: DQ_QuantitativeAttributeAccuracy, description: "accuracy of quantitative attributes"}
|
25
|
-
- {code: "014", codeName: DQ_RelativeInternalPositionalAccuracy, description: "closeness of the relative positions of features in the scope to their respective relative positions accepted as or being true"}
|
26
|
-
- {code: "015", codeName: DQ_Representativity, description: "degree to which the sample used has produced a result which is representative of the data within the data quality scope"}
|
27
|
-
- {code: "016", codeName: DQ_TemporalConsistency, description: "correctness of ordered events or sequences, if reported"}
|
28
|
-
- {code: "017", codeName: DQ_TemporalValidity, description: "validity of data specified by the scope with respect to time"}
|
29
|
-
- {code: "018", codeName: DQ_ThematicClassificationCorrectness, description: "comparison of the classes assigned to features or their attributes to a universe of discourse"}
|
30
|
-
- {code: "019", codeName: DQ_TopologicalConsistency, description: "correctness of the explicitly encoded topological characteristics of the dataset as described by the scope"}
|
31
|
-
- {code: "020", codeName: DQ_UsabilityElement, description: "degree of adherence of a dataset to a specific set of requirements"}
|
32
|
-
- {code: "021", codeName: DQ_Completeness, description: "presence and absence of features, their attributes and their relationships"}
|
33
|
-
- {code: "022", codeName: DQ_LogicalConsistency, description: "adherence to rules of the conceptual schema"}
|
34
|
-
- {code: "023", codeName: DQ_PositionalAccuracy, description: "closeness of reported coordinate values to values accepted as or being true"}
|
35
|
-
- {code: "024", codeName: DQ_TemporalQuality, description: "correctness of the temporal references of an item (reporting of error in time measurement)"}
|