Retrieves data for a period of time in the past 20 years using TADA_DataRetrieval. This function can be used for testing functions on random datasets.
Arguments
- number_of_days
Numeric. The default is 1, which will query and retrieve data for a random two-day period (e.g.startDate = "2015-04-21", endDate = "2015-04-22"). The user can change this number to select additional days if desired.
- choose_random_state
Boolean (TRUE or FALSE). The default is FALSE. If FALSE, the function will query all data in the WQP for the number_of_days specified (national query). If TRUE, the function will select a random state and only retrieve data for that state.
- autoclean
Boolean (TRUE or FALSE). The default is TRUE. If FALSE, the function will NOT apply the TADA_AutoClean as part of the TADA_DataRetrieval. If TRUE, the function WILL apply TADA_AutoClean as part of TADA_DataRetrieval.