Vaccination

RPCS

COVID-19.getVaccinationCategories()

Get the list of options that can be entered in the getVaccinationData RPC

Returns: List<String> (List | String)

COVID-19.getVaccinationCountries()

The list of countries that can be entered in the getVaccinationData RPC

Returns: List<String> (List | String)

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 specify category to filter to only data for the given category. You can further filter your data by specifying startDate and endDate.

Arguments:

  • country: String (String) - name of the country for which to get data

  • state: String? (String) - name of the state to get data for (if the country is United States)

  • category: VaccineCategory? (VaccineCategory) - the category of data to pull (see getVaccinationCategories), or nothing to get all data

  • startDate: 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

COVID-19.getVaccinationStates()

Get the list of US states that can be entered in the getVaccinationData RPC

Returns: List<String> (List | String)