CoVariants are stored as a python script, so this code downloads the file, runs it via reticulate
, then parses the output.
Usage
covariants(
filename = "covariants.csv",
path = c("data/clean/", "data/", "./")[1],
update = FALSE,
url =
"https://raw.githubusercontent.com/hodcroftlab/covariants/master/scripts/clusters.py"
)