From ca06961185a94cdfb269d7fa880a712f44150e6c Mon Sep 17 00:00:00 2001 From: Branwen Snelling Date: Wed, 28 Aug 2024 17:33:43 +0100 Subject: [PATCH] update timelag enum --- docs/GWDM/2.0.form.json | 2 +- docs/GWDM/2.0.md | 6 +++--- docs/GWDM/2.0.structure.json | 2 +- docs/HDRUK/3.0.0.form.json | 2 +- docs/HDRUK/3.0.0.md | 6 +++--- docs/HDRUK/3.0.0.structure.json | 2 +- hdr_schemata/definitions/HDRUK/TimeLag.py | 2 +- hdr_schemata/models/GWDM/2.0/schema.json | 2 +- hdr_schemata/models/HDRUK/3.0.0/schema.json | 2 +- 9 files changed, 13 insertions(+), 13 deletions(-) diff --git a/docs/GWDM/2.0.form.json b/docs/GWDM/2.0.form.json index 9299032..c5b82ce 100644 --- a/docs/GWDM/2.0.form.json +++ b/docs/GWDM/2.0.form.json @@ -509,7 +509,7 @@ "2-4 weeks", "1-2 months", "2-6 months", - "6 months plus", + "More than 6 months", "Variable", "Not applicable", "Other" diff --git a/docs/GWDM/2.0.md b/docs/GWDM/2.0.md index c08d6d0..2b3d5f0 100644 --- a/docs/GWDM/2.0.md +++ b/docs/GWDM/2.0.md @@ -464,9 +464,9 @@ The end of the time period that the dataset provides coverage for. If the datase Please indicate the typical time-lag between an event and the data for that event appearing in the dataset -| title | guidance | is_list | required | type | -|:---------|:-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:----------|:-----------|:----------------------------------------------------------------------------------------------------------------------------------------| -| Time Lag | Please indicate the typical time-lag between an event and the data for that event appearing in the dataset.
- **Less than 1 week**: Typical time lag of less than a week.
- **1-2 weeks**: Typical time-lag of one to two weeks.
- **2-4 weeks**: Typical time-lag of two to four weeks.
- **1-2 months**: Typical time-lag of one to two months.
- **2-6 months**: Typical time-lag of two to six months.
- **6 months plus**: Typical time-lag of more than six months.
- **Variable**: Variable time-lag.
- **Not applicable**: Not Applicable i.e. static dataset.
- **Other**: Other time-lag. | False | True | ["TimeLagV2['Less than 1 week','1-2 weeks','2-4 weeks','1-2 months','2-6 months','6 months plus','Variable','Not applicable','Other']"] | +| title | guidance | is_list | required | type | +|:---------|:-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:----------|:-----------|:---------------------------------------------------------------------------------------------------------------------------------------------| +| Time Lag | Please indicate the typical time-lag between an event and the data for that event appearing in the dataset.
- **Less than 1 week**: Typical time lag of less than a week.
- **1-2 weeks**: Typical time-lag of one to two weeks.
- **2-4 weeks**: Typical time-lag of two to four weeks.
- **1-2 months**: Typical time-lag of one to two months.
- **2-6 months**: Typical time-lag of two to six months.
- **6 months plus**: Typical time-lag of more than six months.
- **Variable**: Variable time-lag.
- **Not applicable**: Not Applicable i.e. static dataset.
- **Other**: Other time-lag. | False | True | ["TimeLagV2['Less than 1 week','1-2 weeks','2-4 weeks','1-2 months','2-6 months','More than 6 months','Variable','Not applicable','Other']"] | diff --git a/docs/GWDM/2.0.structure.json b/docs/GWDM/2.0.structure.json index 75da9a4..09ab25e 100644 --- a/docs/GWDM/2.0.structure.json +++ b/docs/GWDM/2.0.structure.json @@ -626,7 +626,7 @@ "guidance": "Please indicate the typical time-lag between an event and the data for that event appearing in the dataset.- Less than 1 week: Typical time lag of less than a week.- 1-2 weeks: Typical time-lag of one to two weeks.- 2-4 weeks: Typical time-lag of two to four weeks.- 1-2 months: Typical time-lag of one to two months.- 2-6 months: Typical time-lag of two to six months.- 6 months plus: Typical time-lag of more than six months.- Variable: Variable time-lag.- Not applicable: Not Applicable i.e. static dataset.- Other: Other time-lag.", "examples": null, "type": [ - "TimeLagV2['Less than 1 week','1-2 weeks','2-4 weeks','1-2 months','2-6 months','6 months plus','Variable','Not applicable','Other']" + "TimeLagV2['Less than 1 week','1-2 weeks','2-4 weeks','1-2 months','2-6 months','More than 6 months','Variable','Not applicable','Other']" ], "is_list": false, "is_optional": false diff --git a/docs/HDRUK/3.0.0.form.json b/docs/HDRUK/3.0.0.form.json index d85bff0..873f941 100644 --- a/docs/HDRUK/3.0.0.form.json +++ b/docs/HDRUK/3.0.0.form.json @@ -785,7 +785,7 @@ "2-4 weeks", "1-2 months", "2-6 months", - "6 months plus", + "More than 6 months", "Variable", "Not applicable", "Other" diff --git a/docs/HDRUK/3.0.0.md b/docs/HDRUK/3.0.0.md index 4d03a84..0e05c89 100644 --- a/docs/HDRUK/3.0.0.md +++ b/docs/HDRUK/3.0.0.md @@ -539,9 +539,9 @@ The end of the time period that the dataset provides coverage for. If the datase Please indicate the typical time-lag between an event and the data for that event appearing in the dataset. -| title | guidance | is_list | required | type | -|:---------|:-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:----------|:-----------|:----------------------------------------------------------------------------------------------------------------------------------------| -| Time lag | Please indicate the typical time-lag between an event and the data for that event appearing in the dataset.
- **Less than 1 week**: Typical time lag of less than a week.
- **1-2 weeks**: Typical time-lag of one to two weeks.
- **2-4 weeks**: Typical time-lag of two to four weeks.
- **1-2 months**: Typical time-lag of one to two months.
- **2-6 months**: Typical time-lag of two to six months.
- **6 months plus**: Typical time-lag of more than six months.
- **Variable**: Variable time-lag.
- **Not applicable**: Not Applicable i.e. static dataset.
- **Other**: Other time-lag. | False | True | ["TimeLagV2['Less than 1 week','1-2 weeks','2-4 weeks','1-2 months','2-6 months','6 months plus','Variable','Not applicable','Other']"] | +| title | guidance | is_list | required | type | +|:---------|:-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:----------|:-----------|:---------------------------------------------------------------------------------------------------------------------------------------------| +| Time lag | Please indicate the typical time-lag between an event and the data for that event appearing in the dataset.
- **Less than 1 week**: Typical time lag of less than a week.
- **1-2 weeks**: Typical time-lag of one to two weeks.
- **2-4 weeks**: Typical time-lag of two to four weeks.
- **1-2 months**: Typical time-lag of one to two months.
- **2-6 months**: Typical time-lag of two to six months.
- **6 months plus**: Typical time-lag of more than six months.
- **Variable**: Variable time-lag.
- **Not applicable**: Not Applicable i.e. static dataset.
- **Other**: Other time-lag. | False | True | ["TimeLagV2['Less than 1 week','1-2 weeks','2-4 weeks','1-2 months','2-6 months','More than 6 months','Variable','Not applicable','Other']"] | diff --git a/docs/HDRUK/3.0.0.structure.json b/docs/HDRUK/3.0.0.structure.json index e59d0cc..aa60ec0 100644 --- a/docs/HDRUK/3.0.0.structure.json +++ b/docs/HDRUK/3.0.0.structure.json @@ -715,7 +715,7 @@ "guidance": "Please indicate the typical time-lag between an event and the data for that event appearing in the dataset.- Less than 1 week: Typical time lag of less than a week.- 1-2 weeks: Typical time-lag of one to two weeks.- 2-4 weeks: Typical time-lag of two to four weeks.- 1-2 months: Typical time-lag of one to two months.- 2-6 months: Typical time-lag of two to six months.- 6 months plus: Typical time-lag of more than six months.- Variable: Variable time-lag.- Not applicable: Not Applicable i.e. static dataset.- Other: Other time-lag.", "examples": null, "type": [ - "TimeLagV2['Less than 1 week','1-2 weeks','2-4 weeks','1-2 months','2-6 months','6 months plus','Variable','Not applicable','Other']" + "TimeLagV2['Less than 1 week','1-2 weeks','2-4 weeks','1-2 months','2-6 months','More than 6 months','Variable','Not applicable','Other']" ], "is_list": false, "is_optional": false diff --git a/hdr_schemata/definitions/HDRUK/TimeLag.py b/hdr_schemata/definitions/HDRUK/TimeLag.py index 35beb3c..5aa1756 100644 --- a/hdr_schemata/definitions/HDRUK/TimeLag.py +++ b/hdr_schemata/definitions/HDRUK/TimeLag.py @@ -19,7 +19,7 @@ class TimeLagV2(Enum): TWO_FOUR_WEEKS = '2-4 weeks' ONE_TWO_MONTHS = '1-2 months' TWO_SIX_MONTHS = '2-6 months' - SIX_MONTHS_PLUS = '6 months plus' + SIX_MONTHS_PLUS = 'More than 6 months' VARIABLE = 'Variable' NOT_APPLICABLE = 'Not applicable' OTHER = 'Other' diff --git a/hdr_schemata/models/GWDM/2.0/schema.json b/hdr_schemata/models/GWDM/2.0/schema.json index 5ff150b..1453e23 100644 --- a/hdr_schemata/models/GWDM/2.0/schema.json +++ b/hdr_schemata/models/GWDM/2.0/schema.json @@ -1767,7 +1767,7 @@ "2-4 weeks", "1-2 months", "2-6 months", - "6 months plus", + "More than 6 months", "Variable", "Not applicable", "Other" diff --git a/hdr_schemata/models/HDRUK/3.0.0/schema.json b/hdr_schemata/models/HDRUK/3.0.0/schema.json index 8c8c7da..9310515 100644 --- a/hdr_schemata/models/HDRUK/3.0.0/schema.json +++ b/hdr_schemata/models/HDRUK/3.0.0/schema.json @@ -2330,7 +2330,7 @@ "2-4 weeks", "1-2 months", "2-6 months", - "6 months plus", + "More than 6 months", "Variable", "Not applicable", "Other"