Files
HowBadIsMyBatch/docs/SymptomsCausedByDrugs/js/PrrByVaccineProvider.js
Frank Knoll 4fd0bc7490 refactoring
2024-07-11 23:54:47 +02:00

10 lines
348 B
JavaScript

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