Description Usage Arguments Details
View source: R/driver_external.R
storr for fetching external resources. This driver is used where
will try to fetch from an external data source if a resource can
not be found locally. This works by checking to see if a key is
present in the storr (and if so returning it). If it is not
found, then the function fetch_hook
is run to fetch it.
1 | storr_external(storage_driver, fetch_hook, default_namespace = "objects")
|
storage_driver |
Another |
fetch_hook |
A function to run to fetch data when a key is
not found in the store. This function must take arguments
|
default_namespace |
Default namespace (see
|
See the vignette vignette("external")
for much more detail.
This function is likely most useful for things like caching
resources from websites, or computing long-running quantities on
demand.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.