init_cache | R Documentation |
Initialise the cache
init_cache(endpoint, query, cache, layer_details, my_token = NULL, id_field)
endpoint |
the endpoint against which to query |
query |
the query to execute |
cache |
either: the cache path supplied by the user; a value of TRUE for using automatic cache path (based on endpoint) or NULL for no caching |
layer_details |
the layer details argument supplied by get layer details |
my_token |
the authentication token returned by get_token or other oauth method |
id_field |
the id field against which to renew the cache |
a cache object defining the cached data & various bits of info to determine how the cache should be updated if at all
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.