Vaccination
RPCS
- COVID-19.getVaccinationCategories()
Get the list of options that can be entered in the getVaccinationData RPC
- COVID-19.getVaccinationCountries()
The list of countries that can be entered in the getVaccinationData RPC
- COVID-19.getVaccinationData(country: String, state: String?, category: VaccineCategory?, startDate: String?, endDate: String?)
Get all available vaccination data for a given country or state (if country is
United States
). Optionally, you can specifycategory
to filter to only data for the given category. You can further filter your data by specifyingstartDate
andendDate
.Arguments:
country: String
(String) - name of the country for which to get datastate: String?
(String) - name of the state to get data for (if the country isUnited States
)category: VaccineCategory?
(VaccineCategory) - the category of data to pull (seegetVaccinationCategories
), or nothing to get all datastartDate: String?
(String) - earliest date to include in result (mm/dd/yyyy)endDate: String?
(String) - latest date to include in result (mm/dd/yyyy)
Returns:
List
(List) - the requested data