All options must be set during initialisation, as there are no functions to set/add afterwards.
Each of these generic functions/R6Classes can internally accept/access more specific config options.
new()
Create a new ReadableJsonOptions object.
ReadableJsonOptions$new( data_service_functions, data_types, load_functions, plot_functions )
data_service_functions
Data service functions to add during initialisation. These functions can be used to fetch data from data services such as REST APIs.
data_types
List of variables which refer to data type R6 classes (to add during initialization). These classes can be used to store datasets in R memory after loading (using a corresponding 'load function').
load_functions
Load functions to add during initialization. These functions can be used to load the datasets from files (or elsewhere) into an appropriate 'data type' instance.
plot_functions
List of plot functions to add during initialisation. These functions can be used to translate one (or more) of the 'data type' classes into a plot to be rendered by shiny.
print()
Print important contents.
ReadableJsonOptions$print()
get_data_service_functions()
Get list of available data service functions.
ReadableJsonOptions$get_data_service_functions()
get_data_service_function()
Get specific data service function.
ReadableJsonOptions$get_data_service_function(name)
name
Name of data service function.
get_data_types()
Get list of available data type R6 classes.
ReadableJsonOptions$get_data_types()
get_data_type()
Get specific data type R6Class.
ReadableJsonOptions$get_data_type(name)
name
Name of data type.
get_load_functions()
Get list of available load functions.
ReadableJsonOptions$get_load_functions()
get_load_function()
Get specific load function.
ReadableJsonOptions$get_load_function(name)
name
Name of load function.
get_plot_functions()
Get list of available plot functions.
ReadableJsonOptions$get_plot_functions()
get_plot_function()
Get specific plot function.
ReadableJsonOptions$get_plot_function(name)
name
Name of plot function.
clone()
The objects of this class are cloneable with this method.
ReadableJsonOptions$clone(deep = FALSE)
deep
Whether to make a deep clone.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.