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 = "DiseasystoreBase", .default = NULL)
Arguments
option |
( |
class |
( |
.default |
( |
Value
The most specific option within the diseasy framework for the given option and class
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.2.2 Index]