addin heading to convertPrrByKey2Csv() method

This commit is contained in:
frankknoll
2023-10-15 14:22:46 +02:00
parent d3acdd66f4
commit f066966f20
3 changed files with 29 additions and 14 deletions

View File

@@ -38,9 +38,12 @@ class PrrByVaccineTableView {
[
PrrByKey2CsvConverter.convertPrrByKey2Csv(
{
prrByKey: this.#prrByVaccine,
keyColumn: 'Vaccine',
prrColumn: 'Proportional Reporting Ratio'
heading: '# Symptom: ' + this.#symptom,
columns: {
keyColumn: 'Vaccine',
prrColumn: 'Proportional Reporting Ratio'
},
prrByKey: this.#prrByVaccine
})
],
{ type: 'text/csv' })),