View source: R/data_adapters.R
| manual_adapter | R Documentation |
Simple adapter for when users provide their own data frame. Ensures proper Date formatting and sorting.
manual_adapter(data, date_col = "Date")
data |
User-provided data frame |
date_col |
Name of date column (default: "Date") |
Standardized data.table
# Use your own data frame
data("sample_prices_weekly")
my_prices <- manual_adapter(sample_prices_weekly)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.