Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update timelag enum #55

Merged
merged 1 commit into from
Aug 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/GWDM/2.0.form.json
Original file line number Diff line number Diff line change
Expand Up @@ -509,7 +509,7 @@
"2-4 weeks",
"1-2 months",
"2-6 months",
"6 months plus",
"More than 6 months",
"Variable",
"Not applicable",
"Other"
Expand Down
6 changes: 3 additions & 3 deletions docs/GWDM/2.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.<br>- **Less than 1 week**: Typical time lag of less than a week.<br>- **1-2 weeks**: Typical time-lag of one to two weeks.<br>- **2-4 weeks**: Typical time-lag of two to four weeks.<br>- **1-2 months**: Typical time-lag of one to two months.<br>- **2-6 months**: Typical time-lag of two to six months.<br>- **6 months plus**: Typical time-lag of more than six months.<br>- **Variable**: Variable time-lag.<br>- **Not applicable**: Not Applicable i.e. static dataset.<br>- **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.<br>- **Less than 1 week**: Typical time lag of less than a week.<br>- **1-2 weeks**: Typical time-lag of one to two weeks.<br>- **2-4 weeks**: Typical time-lag of two to four weeks.<br>- **1-2 months**: Typical time-lag of one to two months.<br>- **2-6 months**: Typical time-lag of two to six months.<br>- **6 months plus**: Typical time-lag of more than six months.<br>- **Variable**: Variable time-lag.<br>- **Not applicable**: Not Applicable i.e. static dataset.<br>- **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']"] |



Expand Down
2 changes: 1 addition & 1 deletion docs/GWDM/2.0.structure.json
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion docs/HDRUK/3.0.0.form.json
Original file line number Diff line number Diff line change
Expand Up @@ -785,7 +785,7 @@
"2-4 weeks",
"1-2 months",
"2-6 months",
"6 months plus",
"More than 6 months",
"Variable",
"Not applicable",
"Other"
Expand Down
6 changes: 3 additions & 3 deletions docs/HDRUK/3.0.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.<br>- **Less than 1 week**: Typical time lag of less than a week.<br>- **1-2 weeks**: Typical time-lag of one to two weeks.<br>- **2-4 weeks**: Typical time-lag of two to four weeks.<br>- **1-2 months**: Typical time-lag of one to two months.<br>- **2-6 months**: Typical time-lag of two to six months.<br>- **6 months plus**: Typical time-lag of more than six months.<br>- **Variable**: Variable time-lag.<br>- **Not applicable**: Not Applicable i.e. static dataset.<br>- **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.<br>- **Less than 1 week**: Typical time lag of less than a week.<br>- **1-2 weeks**: Typical time-lag of one to two weeks.<br>- **2-4 weeks**: Typical time-lag of two to four weeks.<br>- **1-2 months**: Typical time-lag of one to two months.<br>- **2-6 months**: Typical time-lag of two to six months.<br>- **6 months plus**: Typical time-lag of more than six months.<br>- **Variable**: Variable time-lag.<br>- **Not applicable**: Not Applicable i.e. static dataset.<br>- **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']"] |



Expand Down
2 changes: 1 addition & 1 deletion docs/HDRUK/3.0.0.structure.json
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion hdr_schemata/definitions/HDRUK/TimeLag.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
2 changes: 1 addition & 1 deletion hdr_schemata/models/GWDM/2.0/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -1767,7 +1767,7 @@
"2-4 weeks",
"1-2 months",
"2-6 months",
"6 months plus",
"More than 6 months",
"Variable",
"Not applicable",
"Other"
Expand Down
2 changes: 1 addition & 1 deletion hdr_schemata/models/HDRUK/3.0.0/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -2330,7 +2330,7 @@
"2-4 weeks",
"1-2 months",
"2-6 months",
"6 months plus",
"More than 6 months",
"Variable",
"Not applicable",
"Other"
Expand Down
Loading