-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make datetime input more flexible for az_hourly() (#62)
* update parse_params * update tests * update documentation * update NEWS * lubridate:: * change mock dir name * fix timezone to MST * clarify timezone * print messages when defaults are used or when date is rounded up to 23:59:59 * Update NEWS.md Co-authored-by: Jeremy Weiss <[email protected]> * Update R/parse_params.R Co-authored-by: Jeremy Weiss <[email protected]> * Update R/az_hourly.R Co-authored-by: Jeremy Weiss <[email protected]> * update documentation * add warning for requesting data more recent than is on API * update mocks * update to include new columns in az_heat() * update test * refactor to get warnings working * re-work parse_params and messages * simplify redactor * explicitly specify method to get httptest2 working better * simplify mocking * create tests for warnings and messages * modify messages and warnings * only get single hour with start and end null not full day * add/move "returning" messages * add messages to parse_params * update NEWS * re-order conditionals for easier reading * revert check for earlier than now * fix tests * update API mocks * clean up tests * remove old mocks * update documentation * update tests * finish tidying up tests and mocking * Update R/az_daily.R Co-authored-by: Jeremy Weiss <[email protected]> * Update R/parse_params.R Co-authored-by: Jeremy Weiss <[email protected]> * Update R/az_hourly.R Co-authored-by: Jeremy Weiss <[email protected]> * Update R/az_daily.R Co-authored-by: Jeremy Weiss <[email protected]> * Update R/az_daily.R Co-authored-by: Jeremy Weiss <[email protected]> * regenerate mocks * hourly now only returns a single hour if no datetimes specified * update tests * update news * relax test for current hour --------- Co-authored-by: Jeremy Weiss <[email protected]>
- Loading branch information
1 parent
f22fdf8
commit 5a08de0
Showing
55 changed files
with
4,774 additions
and
34,403 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.