load_data | R Documentation |
Attempts to read data from specified mongoDB collection. Once read, the raw data is cleaned and prepared. If an error occurs in either of these 2 steps, data is read from an .rda file in the data folder - this contains the last successfully read data from the mongoDB collection.
load_data(r, data)
r |
A reactiveValues object |
data |
Either "data" or "targets" |
Nothing - a new child of r is created to hold the data.
## Not run: r <- reactiveValues() load_data(r, "data") load_data(r, "targets") ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.