Description Usage Arguments Details Value Author(s) See Also
View source: R/nasdaq_functions.R
Function that return stock data based on the user inputs. The shiny app uses this function to get the data. By default the function gives 10 years data for the stock if the start and end dates are not specified
1 2 3 4 5 | stock_details(
stock_name,
start_date = Sys.Date() - lubridate::years(10),
end_date = Sys.Date()
)
|
stock_name |
a sting that represent the symbol of the Company listed in NASDAQ |
start_date |
a sting that represent the date; By default 10 years from current date is considered |
end_date |
a sting that represent the date; Current date is taken as default if no value is provided |
The function initially cleans the entered argumets and check their validity. Then update the data file and finally return the data table
Stock Data Table
Rijin Baby
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.