This function download a masked dataset from GitHub (USAID-OHA-SI/themask) for use in training or testing. Recommend running msk_available to see what version is available to download.

msk_download(folderpath, tag = "latest", launch = FALSE)

Arguments

folderpath

where should the file be downloaded to?

tag

version tag, default = "latest"

launch

whether to launch Windows Explorer to the location after the download completes (default = FALSE)

References

msk_available

See also

Other download: msk_available()

Examples

if (FALSE) { # \dontrun{
#check available version
msk_available()

#download to your downloads folder
msk_download("~/Downloads")
} # }
if (FALSE) { # \dontrun{
#download an older version
msk_download("~/Downloads", tag = "2023.06.27c")
} # }