covidcast
endpoint - as_of
field fails silently when given a range of dates
#1152
Labels
covidcast
endpoint - as_of
field fails silently when given a range of dates
#1152
Giving
as_of
a date range fails silently and it returns the latest data. Example:https://delphi.cmu.edu/epidata//covidcast/?data_source=hhs&signals=confirmed_admissions_influenza_1d_prop_7dav&time_type=day&geo_type=state&time_values=%2A&geo_values=ca&as_of=20230101-20230102
Giving a single date gives different issues
https://delphi.cmu.edu/epidata//covidcast/?data_source=hhs&signals=confirmed_admissions_influenza_1d_prop_7dav&time_type=day&geo_type=state&time_values=%2A&geo_values=ca&as_of=20230102
Giving it a list of dates, it fails with a helpful error message:
https://delphi.cmu.edu/epidata//covidcast/?data_source=hhs&signals=confirmed_admissions_influenza_1d_prop_7dav&time_type=day&geo_type=state&time_values=%2A&geo_values=ca&as_of=20230101,20230102
[edit from katie:] The behavior we want is for it to fail with a helpful error message.
The text was updated successfully, but these errors were encountered: