starting Safety Signal (All drugs)
This commit is contained in:
10
docs/SymptomsCausedByDrugs/js/PrrByVaccineProvider.js
Normal file
10
docs/SymptomsCausedByDrugs/js/PrrByVaccineProvider.js
Normal file
@@ -0,0 +1,10 @@
|
||||
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());
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user