FHEM > Automatisierung

Anwendungsbeispiel JsonMod / Covid / 7-Tage-Inzidenz

<< < (32/33) > >>

TWART016:

--- Zitat von: yersinia am 05 Dezember 2021, 14:45:40 ---Die Anzahl von was? Deine Quelle gibt an - jds interpretiere ich das so - wieviel CoViD-Patienten in einem Bundesland auf der Intensivstation betreut werden. Aber detaillierter gibt es die Zahlen nicht.
Mickeys Quelle gibt die Auslastung der Intensivstationen der Landkreise aus - inklusive CoViD-Patienten und wieviel davon beatmet werden. Aber natürlich nicht aufaddiert.

Imho ist das Anwendungsfall abhängig, was man sehen möchte. Auf die Zahlen verlassen würde ich mich allerdings nicht - bei keinen der beiden Quellen.

--- Ende Zitat ---
Ich traue den Daten auch nicht. Nur werden nach den Zahlen die Regelungen gemacht.

Gueco315:
@Mickey: Wie bekomme ich die Daten für einen anderen Standort aus der URL?

--- Code: ---https://services7.arcgis.com/.....
--- Ende Code ---

Dank und Gruß
Günter

Gisbert:
Hallo zusammen,

Diese Seite liefert keine Infos mehr:
https://rki-vaccination-data.vercel.app/api/v2

Gibt es Alternativen oder sonstige Abhilfen?

Viele​ Grüße​ Gisbert​

yersinia:

--- Zitat von: Gisbert am 18 Januar 2022, 19:39:24 ---Gibt es Alternativen oder sonstige Abhilfen?
--- Ende Zitat ---
Ich würd' mal ein paar Tage warten, weil

--- Zitat ---{"message": "scrapping data from RKI excel failed"}
--- Ende Zitat ---
https://rki-vaccination-data.vercel.app/api/v2

yersinia:
Impfquoten-readingList-Update, da novavax als Impfstoff und Janssen als Booster hinzugekommen sind:

--- Code: ---single(jsonPath('$.lastUpdate'), 'lastUpdate', '-?-');
multi(jsonPath("\$.data[?(\@.rs in ['07', '08'])]"), concat(property('rs'),'_name'), property('name'));
multi(jsonPath("\$.data[?(\@.rs in ['07', '08'])]"), concat(property('rs'),'_inhabitants'), property('inhabitants'));
multi(jsonPath("\$.data[?(\@.rs in ['07', '08'])]"), concat(property('rs'),'_1st_dose_abs'), property('vaccinatedAtLeastOnce.doses'));
multi(jsonPath("\$.data[?(\@.rs in ['07', '08'])]"), concat(property('rs'),'_1st_dose_quote'), property('vaccinatedAtLeastOnce.quote'));
multi(jsonPath("\$.data[?(\@.rs in ['07', '08'])]"), concat(property('rs'),'_1st_dose_diff'), property('vaccinatedAtLeastOnce.differenceToThePreviousDay'));
multi(jsonPath("\$.data[?(\@.rs in ['07', '08'])]"), concat(property('rs'),'_1st_dose_vax_0_name'), property('fullyVaccinated.vaccine[0].name'));
multi(jsonPath("\$.data[?(\@.rs in ['07', '08'])]"), concat(property('rs'),'_1st_dose_vax_0_doses'), property('fullyVaccinated.vaccine[0].firstDoses'));
multi(jsonPath("\$.data[?(\@.rs in ['07', '08'])]"), concat(property('rs'),'_1st_dose_vax_1_name'), property('fullyVaccinated.vaccine[1].name'));
multi(jsonPath("\$.data[?(\@.rs in ['07', '08'])]"), concat(property('rs'),'_1st_dose_vax_1_doses'), property('fullyVaccinated.vaccine[1].firstDoses'));
multi(jsonPath("\$.data[?(\@.rs in ['07', '08'])]"), concat(property('rs'),'_1st_dose_vax_2_name'), property('fullyVaccinated.vaccine[2].name'));
multi(jsonPath("\$.data[?(\@.rs in ['07', '08'])]"), concat(property('rs'),'_1st_dose_vax_2_doses'), property('fullyVaccinated.vaccine[2].firstDoses'));
multi(jsonPath("\$.data[?(\@.rs in ['07', '08'])]"), concat(property('rs'),'_1st_dose_vax_3_name'), property('fullyVaccinated.vaccine[3].name'));
multi(jsonPath("\$.data[?(\@.rs in ['07', '08'])]"), concat(property('rs'),'_1st_dose_vax_3_doses'), property('fullyVaccinated.vaccine[3].firstDoses'));
multi(jsonPath("\$.data[?(\@.rs in ['07', '08'])]"), concat(property('rs'),'_1st_dose_vax_4_name'), property('fullyVaccinated.vaccine[4].name'));
multi(jsonPath("\$.data[?(\@.rs in ['07', '08'])]"), concat(property('rs'),'_1st_dose_vax_4_doses'), property('fullyVaccinated.vaccine[4].firstDoses'));
multi(jsonPath("\$.data[?(\@.rs in ['07', '08'])]"), concat(property('rs'),'_2nd_dose_abs'), property('fullyVaccinated.doses'));
multi(jsonPath("\$.data[?(\@.rs in ['07', '08'])]"), concat(property('rs'),'_2nd_dose_quote'), property('fullyVaccinated.quote'));
multi(jsonPath("\$.data[?(\@.rs in ['07', '08'])]"), concat(property('rs'),'_2nd_dose_diff'), property('fullyVaccinated.differenceToThePreviousDay'));
multi(jsonPath("\$.data[?(\@.rs in ['07', '08'])]"), concat(property('rs'),'_2nd_dose_vax_0_name'), property('fullyVaccinated.vaccine[0].name'));
multi(jsonPath("\$.data[?(\@.rs in ['07', '08'])]"), concat(property('rs'),'_2nd_dose_vax_0_doses'), property('fullyVaccinated.vaccine[0].secondDoses'));
multi(jsonPath("\$.data[?(\@.rs in ['07', '08'])]"), concat(property('rs'),'_2nd_dose_vax_1_name'), property('fullyVaccinated.vaccine[1].name'));
multi(jsonPath("\$.data[?(\@.rs in ['07', '08'])]"), concat(property('rs'),'_2nd_dose_vax_1_doses'), property('fullyVaccinated.vaccine[1].secondDoses'));
multi(jsonPath("\$.data[?(\@.rs in ['07', '08'])]"), concat(property('rs'),'_2nd_dose_vax_2_name'), property('fullyVaccinated.vaccine[2].name'));
multi(jsonPath("\$.data[?(\@.rs in ['07', '08'])]"), concat(property('rs'),'_2nd_dose_vax_2_doses'), property('fullyVaccinated.vaccine[2].secondDoses'));
multi(jsonPath("\$.data[?(\@.rs in ['07', '08'])]"), concat(property('rs'),'_2nd_dose_vax_3_name'), property('fullyVaccinated.vaccine[3].name'));
multi(jsonPath("\$.data[?(\@.rs in ['07', '08'])]"), concat(property('rs'),'_2nd_dose_vax_3_doses'), property('fullyVaccinated.vaccine[3].secondDoses'));
multi(jsonPath("\$.data[?(\@.rs in ['07', '08'])]"), concat(property('rs'),'_2nd_dose_vax_4_name'), property('fullyVaccinated.vaccine[4].name'));
multi(jsonPath("\$.data[?(\@.rs in ['07', '08'])]"), concat(property('rs'),'_2nd_dose_vax_4_doses'), property('fullyVaccinated.vaccine[4].secondDoses'));
multi(jsonPath("\$.data[?(\@.rs in ['07', '08'])]"), concat(property('rs'),'_3rd_dose_abs'), property('boosterVaccinated.doses'));
multi(jsonPath("\$.data[?(\@.rs in ['07', '08'])]"), concat(property('rs'),'_3rd_dose_quote'), property('boosterVaccinated.quote'));
multi(jsonPath("\$.data[?(\@.rs in ['07', '08'])]"), concat(property('rs'),'_3rd_dose_diff'), property('boosterVaccinated.differenceToThePreviousDay'));
multi(jsonPath("\$.data[?(\@.rs in ['07', '08'])]"), concat(property('rs'),'_3rd_dose_vax_0_name'), property('boosterVaccinated.vaccine[0].name'));
multi(jsonPath("\$.data[?(\@.rs in ['07', '08'])]"), concat(property('rs'),'_3rd_dose_vax_0_doses'), property('boosterVaccinated.vaccine[0].boosterDoses'));
multi(jsonPath("\$.data[?(\@.rs in ['07', '08'])]"), concat(property('rs'),'_3rd_dose_vax_1_name'), property('boosterVaccinated.vaccine[1].name'));
multi(jsonPath("\$.data[?(\@.rs in ['07', '08'])]"), concat(property('rs'),'_3rd_dose_vax_1_doses'), property('boosterVaccinated.vaccine[1].boosterDoses'));
multi(jsonPath("\$.data[?(\@.rs in ['07', '08'])]"), concat(property('rs'),'_3rd_dose_vax_2_name'), property('boosterVaccinated.vaccine[2].name'));
multi(jsonPath("\$.data[?(\@.rs in ['07', '08'])]"), concat(property('rs'),'_3rd_dose_vax_2_doses'), property('boosterVaccinated.vaccine[2].boosterDoses'));
multi(jsonPath("\$.data[?(\@.name in ['Deutschland', 'Bundesressorts'])]"), concat(property('name'),'_name'), property('name'));
multi(jsonPath("\$.data[?(\@.name in ['Deutschland', 'Bundesressorts'])]"), concat(property('name'),'_inhabitants'), property('inhabitants'));
multi(jsonPath("\$.data[?(\@.name in ['Deutschland', 'Bundesressorts'])]"), concat(property('name'),'_1st_dose_abs'), property('vaccinatedAtLeastOnce.doses'));
multi(jsonPath("\$.data[?(\@.name in ['Deutschland', 'Bundesressorts'])]"), concat(property('name'),'_1st_dose_quote'), property('vaccinatedAtLeastOnce.quote'));
multi(jsonPath("\$.data[?(\@.name in ['Deutschland', 'Bundesressorts'])]"), concat(property('name'),'_1st_dose_diff'), property('vaccinatedAtLeastOnce.differenceToThePreviousDay'));
multi(jsonPath("\$.data[?(\@.name in ['Deutschland', 'Bundesressorts'])]"), concat(property('name'),'_1st_dose_vax_0_name'), property('fullyVaccinated.vaccine[0].name'));
multi(jsonPath("\$.data[?(\@.name in ['Deutschland', 'Bundesressorts'])]"), concat(property('name'),'_1st_dose_vax_0_doses'), property('fullyVaccinated.vaccine[0].firstDoses'));
multi(jsonPath("\$.data[?(\@.name in ['Deutschland', 'Bundesressorts'])]"), concat(property('name'),'_1st_dose_vax_1_name'), property('fullyVaccinated.vaccine[1].name'));
multi(jsonPath("\$.data[?(\@.name in ['Deutschland', 'Bundesressorts'])]"), concat(property('name'),'_1st_dose_vax_1_doses'), property('fullyVaccinated.vaccine[1].firstDoses'));
multi(jsonPath("\$.data[?(\@.name in ['Deutschland', 'Bundesressorts'])]"), concat(property('name'),'_1st_dose_vax_2_name'), property('fullyVaccinated.vaccine[2].name'));
multi(jsonPath("\$.data[?(\@.name in ['Deutschland', 'Bundesressorts'])]"), concat(property('name'),'_1st_dose_vax_2_doses'), property('fullyVaccinated.vaccine[2].firstDoses'));
multi(jsonPath("\$.data[?(\@.name in ['Deutschland', 'Bundesressorts'])]"), concat(property('name'),'_1st_dose_vax_3_name'), property('fullyVaccinated.vaccine[3].name'));
multi(jsonPath("\$.data[?(\@.name in ['Deutschland', 'Bundesressorts'])]"), concat(property('name'),'_1st_dose_vax_3_doses'), property('fullyVaccinated.vaccine[3].firstDoses'));
multi(jsonPath("\$.data[?(\@.name in ['Deutschland', 'Bundesressorts'])]"), concat(property('name'),'_1st_dose_vax_4_name'), property('fullyVaccinated.vaccine[4].name'));
multi(jsonPath("\$.data[?(\@.name in ['Deutschland', 'Bundesressorts'])]"), concat(property('name'),'_1st_dose_vax_4_doses'), property('fullyVaccinated.vaccine[4].firstDoses'));
multi(jsonPath("\$.data[?(\@.name in ['Deutschland', 'Bundesressorts'])]"), concat(property('name'),'_2nd_dose_abs'), property('fullyVaccinated.doses'));
multi(jsonPath("\$.data[?(\@.name in ['Deutschland', 'Bundesressorts'])]"), concat(property('name'),'_2nd_dose_quote'), property('fullyVaccinated.quote'));
multi(jsonPath("\$.data[?(\@.name in ['Deutschland', 'Bundesressorts'])]"), concat(property('name'),'_2nd_dose_diff'), property('fullyVaccinated.differenceToThePreviousDay'));
multi(jsonPath("\$.data[?(\@.name in ['Deutschland', 'Bundesressorts'])]"), concat(property('name'),'_2nd_dose_vax_0_name'), property('fullyVaccinated.vaccine[0].name'));
multi(jsonPath("\$.data[?(\@.name in ['Deutschland', 'Bundesressorts'])]"), concat(property('name'),'_2nd_dose_vax_0_doses'), property('fullyVaccinated.vaccine[0].secondDoses'));
multi(jsonPath("\$.data[?(\@.name in ['Deutschland', 'Bundesressorts'])]"), concat(property('name'),'_2nd_dose_vax_1_name'), property('fullyVaccinated.vaccine[1].name'));
multi(jsonPath("\$.data[?(\@.name in ['Deutschland', 'Bundesressorts'])]"), concat(property('name'),'_2nd_dose_vax_1_doses'), property('fullyVaccinated.vaccine[1].secondDoses'));
multi(jsonPath("\$.data[?(\@.name in ['Deutschland', 'Bundesressorts'])]"), concat(property('name'),'_2nd_dose_vax_2_name'), property('fullyVaccinated.vaccine[2].name'));
multi(jsonPath("\$.data[?(\@.name in ['Deutschland', 'Bundesressorts'])]"), concat(property('name'),'_2nd_dose_vax_2_doses'), property('fullyVaccinated.vaccine[2].secondDoses'));
multi(jsonPath("\$.data[?(\@.name in ['Deutschland', 'Bundesressorts'])]"), concat(property('name'),'_2nd_dose_vax_3_name'), property('fullyVaccinated.vaccine[3].name'));
multi(jsonPath("\$.data[?(\@.name in ['Deutschland', 'Bundesressorts'])]"), concat(property('name'),'_2nd_dose_vax_3_doses'), property('fullyVaccinated.vaccine[3].secondDoses'));
multi(jsonPath("\$.data[?(\@.name in ['Deutschland', 'Bundesressorts'])]"), concat(property('name'),'_2nd_dose_vax_4_name'), property('fullyVaccinated.vaccine[4].name'));
multi(jsonPath("\$.data[?(\@.name in ['Deutschland', 'Bundesressorts'])]"), concat(property('name'),'_2nd_dose_vax_4_doses'), property('fullyVaccinated.vaccine[4].secondDoses'));
multi(jsonPath("\$.data[?(\@.name in ['Deutschland', 'Bundesressorts'])]"), concat(property('name'),'_3rd_dose_abs'), property('boosterVaccinated.doses'));
multi(jsonPath("\$.data[?(\@.name in ['Deutschland', 'Bundesressorts'])]"), concat(property('name'),'_3rd_dose_quote'), property('boosterVaccinated.quote'));
multi(jsonPath("\$.data[?(\@.name in ['Deutschland', 'Bundesressorts'])]"), concat(property('name'),'_3rd_dose_diff'), property('boosterVaccinated.differenceToThePreviousDay'));
multi(jsonPath("\$.data[?(\@.name in ['Deutschland', 'Bundesressorts'])]"), concat(property('name'),'_3rd_dose_vax_0_name'), property('boosterVaccinated.vaccine[0].name'));
multi(jsonPath("\$.data[?(\@.name in ['Deutschland', 'Bundesressorts'])]"), concat(property('name'),'_3rd_dose_vax_0_doses'), property('boosterVaccinated.vaccine[0].boosterDoses'));
multi(jsonPath("\$.data[?(\@.name in ['Deutschland', 'Bundesressorts'])]"), concat(property('name'),'_3rd_dose_vax_1_name'), property('boosterVaccinated.vaccine[1].name'));
multi(jsonPath("\$.data[?(\@.name in ['Deutschland', 'Bundesressorts'])]"), concat(property('name'),'_3rd_dose_vax_1_doses'), property('boosterVaccinated.vaccine[1].boosterDoses'));
multi(jsonPath("\$.data[?(\@.name in ['Deutschland', 'Bundesressorts'])]"), concat(property('name'),'_3rd_dose_vax_2_name'), property('boosterVaccinated.vaccine[2].name'));
multi(jsonPath("\$.data[?(\@.name in ['Deutschland', 'Bundesressorts'])]"), concat(property('name'),'_3rd_dose_vax_2_doses'), property('boosterVaccinated.vaccine[2].boosterDoses'));
--- Ende Code ---
Siehe auch post #151 und post #99.

EDIT 2022-03-18: Typo gefixt und Impfdaten für die Booster hatten das falsche Reading  ::)

Navigation

[0] Themen-Index

[#] Nächste Seite

[*] Vorherige Sete

Zur normalen Ansicht wechseln