rename_cols | R Documentation |
Renaming columns from: * Close -> ticker * Change -> ticker_Change * ChangeSinceStart -> ticker_ChangeSinceStart
rename_cols(data, ticker, rename = TRUE)
data |
data.frame with columns Close, Change and ChangeSinceStart |
ticker |
character string with ticker name |
rename |
logical (default is TRUE). If FALSE, data is returned without any renaming |
This is a helper function for 'load_data'
data.frame
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.