Description Usage Arguments Value Examples
A simple helper function that checks if dates given as arguments to others functions in this package will be accepted by the host as parameters to the HTTP POST request. Especially check if: - The date format is dd/mm/yyyy - The diference between end_date and start_date is less than or equal 3 years.
1 | validate_dates(start_date, end_date)
|
start_date |
Character vector of length one formatted as dd/mm/yyyy |
end_date |
Character vector of length one formatted as dd/mm/yyyy |
Rise an error in given invalid dates
1 | ## Not run: validate_dates('01/01/2015', '31/12/2015')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.