Vaccination

RPCS

COVID-19.getVaccinationCategories()

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

Returns: List<String> info

COVID-19.getVaccinationCountries()

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

Returns: List<String> info

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 info - name of the country for which to get data
  • state: String? info - name of the state to get data for (if the country is United States)
  • category: VaccineCategory? info - the category of data to pull (see getVaccinationCategories), or nothing to get all data
  • startDate: String? info - earliest date to include in result (mm/dd/yyyy)
  • endDate: String? info - latest date to include in result (mm/dd/yyyy)

Returns: List info - the requested data

COVID-19.getVaccinationStates()

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

Returns: List<String> info