Files
HowBadIsMyBatch/docs/SymptomsCausedByCOVIDLots/js/PrrByVaccineProvider.js
2023-11-07 17:57:29 +01:00

10 lines
412 B
JavaScript

class PrrByVaccineProvider {
static getPrrByVaccine(symptom) {
return fetch(`../data/SymptomsCausedByCOVIDLots/ProportionalReportingRatios/symptoms/${symptom}.json`).then(response => response.json());
}
static getPrrBySymptom(vaccine) {
return fetch(`../data/SymptomsCausedByCOVIDLots/ProportionalReportingRatios/vaccines/${vaccine}.json`).then(response => response.json());
}
}