Description Usage Arguments Value
View source: R/fct_update_data_cache.R
Takes input from dataModal and adds new dataset to app and cache
1 2 3 4 5 6 7 8 9 | update_data_cache(
data_type,
data_file,
data_loc,
data_url,
data_name,
cache,
cache_dir
)
|
data_type |
Type of data e.g. Tabular, Time-Series, Image, Text |
data_file |
Data file object from fileInput() |
data_loc |
Local or URL |
data_url |
URL of the data to download |
data_name |
Name of the dataset |
cache |
Yes or No - whether to cache data, only valid for URL as local is automatically caches by fileInput() |
cache_dir |
Directpry to cache the data - default = "./cache/cached_datasets" |
The return value, if any, from executing the function.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.