feat: Added parsing of details and table with details to dashboard
This commit is contained in:
parent
fe6cfaf8b6
commit
bac8cac1b7
3 changed files with 138 additions and 3 deletions
|
@ -31,6 +31,64 @@
|
|||
Mit dieser Rate dauert es bis zum <em>{{ mean_vaccinations_last_seven_days_herd_immunity }}</em> für {{ herd_immunity }} % und bis zum <em>{{ mean_vaccinations_last_seven_days_done }}</em> für 100 %.
|
||||
</p>
|
||||
</section>
|
||||
<section>
|
||||
<h1>Details</h1>
|
||||
<figure>
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th rowspan="3">Land</th>
|
||||
<th rowspan="2" colspan="2">
|
||||
Impfungen<br />
|
||||
gesamt
|
||||
</th>
|
||||
<th colspan="8">Impfung wegen<sup><a href="#footnote-006">6</a></sup></th>
|
||||
</tr>
|
||||
<tr>
|
||||
<th colspan="2">Alter</th>
|
||||
<th colspan="2">Beruf</th>
|
||||
<th colspan="2">Gesundheit</th>
|
||||
<th colspan="2">Pflegeheim</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Anzahl</th>
|
||||
<th>%</th>
|
||||
<th>Anzahl</th>
|
||||
<th>%</th>
|
||||
<th>Anzahl</th>
|
||||
<th>%</th>
|
||||
<th>Anzahl</th>
|
||||
<th>%</th>
|
||||
<th>Anzahl</th>
|
||||
<th>%</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{% for land in details_per_land %}
|
||||
<tr>
|
||||
<th>{{ land }}</th>
|
||||
<td class="number">{{ details_per_land[land].total_vaccinations }}</td>
|
||||
<td class="number">{{ details_per_land[land].total_vaccinations_percentage }} %</td>
|
||||
<td class="number">{{ details_per_land[land].vaccination_reason_age }}</td>
|
||||
<td class="number">{{ details_per_land[land].vaccination_reason_age_percentage }} %</td>
|
||||
<td class="number">{{ details_per_land[land].vaccination_reason_job }}</td>
|
||||
<td class="number">{{ details_per_land[land].vaccination_reason_job_percentage }} %</td>
|
||||
<td class="number">{{ details_per_land[land].vaccination_reason_medical }}</td>
|
||||
<td class="number">{{ details_per_land[land].vaccination_reason_medical_percentage }} %</td>
|
||||
<td class="number">{{ details_per_land[land].vaccination_reason_oldhome }}</td>
|
||||
<td class="number">{{ details_per_land[land].vaccination_reason_oldhome_percentage }} %</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
<figcaption>
|
||||
<a name="table-001"><span class="ref">Tabelle 1:</span></a>
|
||||
Details der Impfungen, aufgeschlüsselt nach Ländern<br />
|
||||
Der Prozentwert bezieht sich bei den Gründen auf die in dem jeweiligen Land insgesamt vorgenommenen Impfungen, nicht auf die Größe der jeweiligen Gruppe.
|
||||
Eine Impfung kann mehrere der genannten Gründe haben oder bei keinen der Gründen genannt werden, daher stimmen die Summe der Gründe und die Gesamtzahl der Impfungen nicht überein.
|
||||
</figcaption>
|
||||
</figure>
|
||||
</section>
|
||||
<section>
|
||||
<h1>Fragen und Antworten</h1>
|
||||
<section>
|
||||
|
@ -138,6 +196,7 @@
|
|||
<li><a name="footnote-003">Bevölkerungsstand vom 31. Dezember 2019: {{ einwohner_deutschland }}.</a></li>
|
||||
<li><a name="footnote-004">{{ herd_immunity }} % ist der Wert, bei dem aktuell von einer Herdenimmunität ausgegangen wird.</a></li>
|
||||
<li><a name="footnote-005">Die täglichen Impfraten unterliegen starken Schwankungen und sind daher wenig aussagekräftig.</a></li>
|
||||
<li><a name="footnote-006">Nicht alle Länder veröffentlichen alle in der Aufschlüsselung aufgelisteten Daten.</a></li>
|
||||
</ol>
|
||||
</section>
|
||||
</body>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue