Skip to contents

Configures the option cvmdata.source, which becomes the default for subsequent cvm_fetch() calls that do not pass source explicitly. The argument passed to cvm_fetch() always wins over the option.

Usage

cvm_source_set(source)

Arguments

source

One of "mirror" (parquet via DuckDB; default from v0.1.0) or "cvm" (CVM Open Data Portal).

Value

The chosen source, invisibly.

Examples

if (FALSE) { # interactive()
cvm_source_set("cvm")
}