(invisible) path to file if download = TRUE, URL otherwise
Arguments
dataset_id
dataset ID. See sp_datasets.
dest_dir
character. Directory in which downloaded files will be stored.
If left unset, will use the statnipokladna.dest_dir option if the option is set, and tempdir() otherwise. Will be created if it does not exist.
download
Whether to download (the default) or open link in browser.