stanza_download_method_code {stanza}R Documentation

Select Download Method

Description

Function to obtain the download method code or list all allowed download methods.

Usage

stanza_download_method_code(method = NULL)

Arguments

method

a character string giving the name of the download method. The case oft he download method name is ignored. If NULL all allowed download methods are shown.

Value

an integer giving the download method code.

Examples

if (is_stanza_initialized()) {
  stanza_download_method_code()
  stanza_download_method_code("none")
  stanza_download_method_code("reuse_resources")
  stanza_download_method_code("download_resources")
}


[Package stanza version 1.0-3 Index]