Skip to content
This repository has been archived by the owner on Nov 4, 2024. It is now read-only.

Commit

Permalink
Align cms constants with updated archive keys
Browse files Browse the repository at this point in the history
  • Loading branch information
VWSCoronaDashboard29 committed Aug 8, 2023
1 parent afe4a6d commit c92a84c
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 11 deletions.
2 changes: 1 addition & 1 deletion packages/cms-v2/src/elements/schemas/shared/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ const titleByMetricName: Partial<Record<MetricName, string>> = {
reproduction_archived_20230711: 'Reproductiegetal',
vaccine_coverage_per_age_group: 'Vaccinatiegraad (per leeftijd)',
vaccine_administered: 'Gezette prikken',
vaccine_coverage: 'Vaccinatiegraad',
vaccine_coverage_archived_20220518: 'Vaccinatiegraad',
vaccine_coverage_per_age_group_estimated_fully_vaccinated: 'Vaccinatiegraad basisserie berekend (per leeftijd)',
vaccine_coverage_per_age_group_estimated_autumn_2022: 'Vaccinatiegraad herfst 2022 booster berekend (per leeftijd)',
vaccine_administered_total: 'Totaal gezette prikken',
Expand Down
16 changes: 8 additions & 8 deletions packages/cms/src/studio/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ export const titleByMetricName: Partial<Record<MetricName, string>> = {
behavior_per_age_group_archived_20230411: 'Gedrag (per leeftijd)',
booster_coverage_archived_20220904: 'Vaccinatiegraad (booster) (archief per 04-09-2022)',
booster_shot_administered_archived_20220904: 'Gezette prikken (booster) (archief per 04-09-2022)',
corona_melder_app_download: 'Coronamelder - Downloads',
corona_melder_app_warning: 'Coronamelder - Waarschuwingen door de tijd heen',
corona_melder_app_download_archived_20220421: 'Coronamelder - Downloads',
corona_melder_app_warning_archived_20220421: 'Coronamelder - Waarschuwingen door de tijd heen',
deceased_cbs: 'Sterfte (CBS)',
deceased_rivm_archived_20221231: 'Sterfte (RIVM)',
deceased_rivm_per_age_group_archived_20221231: 'Sterfte (per leeftijd) (RIVM) (archief per 31-12-2022)',
Expand All @@ -21,13 +21,13 @@ export const titleByMetricName: Partial<Record<MetricName, string>> = {
hospital_lcps: 'Ziekenhuisopnames (LCPS)',
hospital_nice_per_age_group: 'Ziekenhuisopnames (per leeftijd) (NICE)',
hospital_nice: 'Ziekenhuisopnames (NICE)',
infectious_people: 'Besmettelijke mensen',
infectious_people_archived_20210709: 'Besmettelijke mensen',
intensive_care_lcps: 'IC-opnames (LCPS)',
intensive_care_nice_per_age_group: 'IC-opnames (per leeftijd) (NICE)',
intensive_care_nice: 'IC-opnames (NICE)',
named_difference: 'Verschil',
nursing_home_archived_20230126: 'Verpleeghuizen',
repeating_shot_administered: 'Gezette herhaalprikken',
repeating_shot_administered_20220713: 'Gezette herhaalprikken',
reproduction_archived_20230711: 'Reproductiegetal',
self_test_overall: 'Zelfgerapporteerde positieve coronatestuitslagen',
sewer_per_installation: 'Virusdeeltjes in rioolwater',
Expand All @@ -51,11 +51,11 @@ export const titleByMetricName: Partial<Record<MetricName, string>> = {
vaccine_coverage_per_age_group_estimated_autumn_2022: 'Vaccinatiegraad herfst 2022 booster berekend (per leeftijd)',
vaccine_coverage_per_age_group_estimated_fully_vaccinated: 'Vaccinatiegraad basisserie berekend (per leeftijd)',
vaccine_coverage_per_age_group: 'Vaccinatiegraad (per leeftijd)',
vaccine_coverage: 'Vaccinatiegraad',
vaccine_delivery_per_supplier: 'Vaccinleveringen per leverancier',
vaccine_coverage_archived_20220518: 'Vaccinatiegraad',
vaccine_delivery_per_supplier_archived_20211101: 'Vaccinleveringen per leverancier',
vaccine_planned_archived_20220908: 'Geplande prikken (archief per 09-08-2022)',
vaccine_stock: 'Vaccinvoorraad',
vaccine_vaccinated_or_support: 'Vaccinatiebereidheid of reeds gevaccineerd',
vaccine_stock_archived_20211024: 'Vaccinvoorraad',
vaccine_vaccinated_or_support_archived_20230411: 'Vaccinatiebereidheid of reeds gevaccineerd',
variants: 'Varianten van het virus',
vulnerable_hospital_admissions_archived_20230711: 'Kwetsbare groepen - Ziekenhuisopnames',
vulnerable_nursing_home_archived_20230711: 'Kwetsbare groepen - Verpleeg- en verzorgingshuizen',
Expand Down
3 changes: 1 addition & 2 deletions packages/cms/src/studio/data/data-structure.ts
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ export const dataStructure = {
],
vaccine_vaccinated_or_support_archived_20230411: ['percentage_average', 'percentage_70_plus', 'percentage_55_69', 'percentage_40_54', 'percentage_25_39', 'percentage_16_24'],
},
archived_vr_collection: { vulnerable_nursing_home_archived_20230711: ['newly_infected_locations', 'infected_locations_total', 'infected_locations_percentage'] },
gm: {
deceased_rivm_archived_20221231: ['covid_daily', 'covid_daily_moving_average', 'covid_total'],
hospital_nice: [
Expand Down Expand Up @@ -157,7 +158,6 @@ export const dataStructure = {
booster_coverage_archived_20220904: ['age_group', 'percentage', 'percentage_label'],
},
gm_collection: {
hospital_nice: ['admissions_on_date_of_admission', 'admissions_on_date_of_admission_per_100000', 'admissions_on_date_of_reporting'],
hospital_nice_choropleth: ['admissions_on_date_of_admission', 'admissions_on_date_of_admission_per_100000', 'admissions_on_date_of_reporting'],
tested_overall: ['infected_per_100k', 'infected'],
sewer: ['average', 'data_is_outdated'],
Expand Down Expand Up @@ -317,6 +317,5 @@ export const dataStructure = {
vr_collection: {
disability_care_archived_20230126: ['newly_infected_people', 'newly_infected_locations', 'infected_locations_total', 'infected_locations_percentage', 'deceased_daily'],
elderly_at_home_archived_20230126: ['positive_tested_daily', 'positive_tested_daily_per_100k', 'deceased_daily'],
vulnerable_nursing_home: ['newly_infected_locations', 'infected_locations_total', 'infected_locations_percentage'],
},
};

0 comments on commit c92a84c

Please sign in to comment.