Description Usage Arguments Value Examples
This is used to compile all the individual files for different dates into compiled files.
1 2 | compile_exchange_data(data_path = "./data", exchange = c("both", "nse",
"bse"), delete_component_files = TRUE, quiet = FALSE)
|
data_path |
The path that contains the data files you want to compile. Deafults to the data folder in the current working directory. |
exchange |
Specifies the exchange files you want to compile. One of "both", "nse" or "bse". If both is specified, the nse component files are compiled into nse_compiled_latest_date.csv and bse files are compiled into bse_compiled_latest_date.csv. Both the nse and bse compiled files are parsed and combined into both_compiled_latest_date. Dedaults to "both". |
delete_component_files |
Deletes all the individual files and retains only the compiled files. |
quiet |
Controls the download status message. If you do not want the download status on each day, TRUE should be specified. Defaults to FALSE. |
Returns the compiled dataframe and also has the returned dataframe written out as a csv in the folder it compiles.
1 2 3 4 | ## Not run:
compile_exchange_data(data_path = "./data", exchange = "both")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.