argument_validation: Function that checks the format of arguments entered

Description Usage Arguments Details Value Author(s)

View source: R/stock_info.R

Description

Function that checks the format of arguments entered

Usage

1
argument_validation(stock_name, start_date, end_date)

Arguments

stock_name

a sting that represent the symbol of the Company listed in NASDAQ

start_date

a sting that represent the date

end_date

a sting that represent the date

Details

This function checks validity of stock name and if the date value entered is in the YYYY-MM-DD format

Value

TRUE if all the arguments are perfect else terminates the process

Author(s)

Rijin Baby


rijinbaby/test2 documentation built on Feb. 7, 2020, 12:26 a.m.