R/covid_links.R

#' John's Hopkins Github Repo Links
#' 
#' @title  JHU main repo
#' @description link to rawdata
#' @export
#' @keywords internal
jhuRepo <- "https://raw.githubusercontent.com/CSSEGISandData/COVID-19/master/"

#' @title  JHU cases
#' @description link to confirmed covid cases
#' @export
#' @keywords internal
tsCases <- "csse_covid_19_data/csse_covid_19_time_series/time_series_covid19_confirmed_global.csv"

#' @title  JHU recoveries
#' @description link to covid recoveries
#' @export
#' @keywords internal
tsRecov <- "csse_covid_19_data/csse_covid_19_time_series/time_series_covid19_recovered_global.csv"

#' @title  JHU deaths
#' @description link to covid deaths
#' @export
#' @keywords internal
tsDeaths <- "csse_covid_19_data/csse_covid_19_time_series/time_series_covid19_deaths_global.csv"

#' @title  HDX COVID-19 government measures
#' @description Excel file of government measures taken by diffferent countries
#' @export
#' @keywords internal
hdx_govmes_url <- "https://data.humdata.org/dataset/acaps-covid19-government-measures-dataset"

#' @title HDX COVID-19 government measures linkid for parsing
#' @description Excel file of government measures taken by different countries
#' @export
#' @keywords internal
#' @examples 
#' \dontrun{
#' glamr::extract_excel_data(hdx_govmes_url, hdx_govmes_url, 2, 'xlsx') }
hdx_govmes_linkid <- "a[class='btn btn-empty btn-empty-blue hdx-btn resource-url-analytics ga-download']"#' 

#' @title  OWID vaccination home
#' @description link to vaccination data main folder
#' @export
#' @keywords internal
owid_vax_url <- "https://github.com/owid/covid-19-data/tree/master/public/data/vaccinations/country_data/"

#' Oxford COVID-19 Government Response Tracker (Stringency Index)
#' 
#' @title  Oxford COVID-19 Stringency Index
#' @description API base 
#' @export
#' @keywords internal
oxford_url <- "https://covidtrackerapi.bsg.ox.ac.uk"
USAID-OHA-SI/COVIDutilities documentation built on Aug. 18, 2022, 2:28 a.m.