closes #123 whilst trying to remove the number of warning / errors produced.
Temporarily include a curl replacement for the dataverse R replace file call to see if it improves issues with not all files transmitting.
Includes some unit tests and a new dataset for testing - "test". There is a sinusoidal data generator that powers this - utils::generate_clean_cases that works on a periodicity of max(start-peak, peak-end) days where the data length, peak position and amplitude are configurable (amplitude = 1/2 peak_cases, offset = 1/2 peak_cases.
example (peak_cases = 2k, days_since_peak = 40, number_of_days = 90):
closes #123 whilst trying to remove the number of warning / errors produced.
Temporarily include a curl replacement for the dataverse R replace file call to see if it improves issues with not all files transmitting.
Includes some unit tests and a new dataset for testing - "test". There is a sinusoidal data generator that powers this - utils::generate_clean_cases that works on a periodicity of max(start-peak, peak-end) days where the data length, peak position and amplitude are configurable (amplitude = 1/2 peak_cases, offset = 1/2 peak_cases.
example (peak_cases = 2k, days_since_peak = 40, number_of_days = 90):