download_pretrained_vae: Download and Extract a Pretrained VAE Model
Description
This function downloads a pretrained VAE model archive from Zenodo, extracts its contents
into a specified directory, and removes the downloaded ZIP file after extraction.
Character. The name of the model file (without extension) to download.
This should correspond to a *model_name*.zip file hosted on Zenodo (e.g., "ca_county").
save_dir
Character. The local directory where the model should be saved and extracted.
verbose
Logical; if TRUE (default), prints progress and error messages.
if (FALSE) {
library(vmsae)
# this function is time consuming for the first runinstall_environment()
load_environment()
download_pretrained_vae("mo_county", tempdir())
}