Download files from the UCDP replication archive
Usage
ucdp_replication_download(
dataset,
version = NULL,
year = NULL,
type = "data",
query = NULL,
variant = NULL,
download_all = FALSE,
dest_dir = "replication",
overwrite = FALSE,
quiet = FALSE,
catalog = NULL
)Arguments
- dataset
Dataset name, alias, or regular expression.
- version
Optional exact dataset version.
- year
Optional publication year or years.
- type
File type to select. Defaults to frozen data files.
- query
Optional additional regular expression matched by
ucdp_replication_catalog().- variant
Optional regular expression matched against artifact titles.
- download_all
Download every match? Otherwise ambiguous requests fail.
- dest_dir
Destination directory.
- overwrite
Replace existing files?
- quiet
Suppress messages?
- catalog
Optional pre-fetched replication catalog.