pull_vax_data: Fetch Our World In Data vaccine data

View source: R/pull_vax_data.R

pull_vax_dataR Documentation

Fetch Our World In Data vaccine data

Description

Retrieves COVID-19 vaccination data for a given list of countries

Usage

pull_vax_data(cntry)

Arguments

cntry

country, or list of countries, that appear in the our world in data page

Details

Import OWID vaccine data

Value

Returns data frame of total vaccinations by day

Source

https://github.com/owid/covid-19-data

See Also

Other vax: get_vax_countries()

Examples

## Not run: 
#only one country
  df_vax_zmb <- get_vax_data("Zambia")
#only PEPFAR countries
  cntry_list <- get_vax_countries()
  df_vax_pepfar <- get_vax_data(cntry_list)
#all countries
  cntry_list <- get_vax_countries(pepfar_only = FALSE)
  df_vax <- get_vax_data(cntry_list)

## End(Not run)


USAID-OHA-SI/COVIDutilities documentation built on Aug. 18, 2022, 2:28 a.m.