Files
HowBadIsMyBatch/docs/SymptomsCausedByCOVIDLots/js/PrrByVaccineProvider.js
frankknoll ace2aec131 refactoring
2023-11-10 08:21:22 +01:00

10 lines
358 B
JavaScript

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