diseasyoption {diseasystore} | R Documentation |
Helper function to get options related to diseasy
Description
Helper function to get options related to diseasy
Usage
diseasyoption(option, class = NULL, namespace = NULL, .default = NULL)
Arguments
option |
( |
class |
( |
namespace |
( |
.default |
( |
Value
If
option
is given, the most specific option within thediseasy
framework for the given option and class.If
option
is missing, all options related todiseasy
packages.
Examples
# Retrieve default option for source conn
diseasyoption("source_conn")
# Retrieve DiseasystoreGoogleCovid19 specific option for source conn
diseasyoption("source_conn", "DiseasystoreGoogleCovid19")
# Try to retrieve specific option for source conn for a non existent / un-configured diseasystore
diseasyoption("source_conn", "DiseasystoreNonExistent") # Returns default source_conn
# Try to retrieve specific non-existent option
diseasyoption("non_existent", "DiseasystoreGoogleCovid19", .default = "Use this")
[Package diseasystore version 0.3.1 Index]