File tree 1 file changed +2
-3
lines changed 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -38,8 +38,7 @@ def get_indicator_data(sensors: List[SensorConfig],
38
38
all_combos = product (sensors , locations )
39
39
as_of_str = as_of .strftime ("%Y%m%d" )
40
40
all_params = [
41
- {"source" : "covidcast" ,
42
- "data_source" : sensor .source ,
41
+ {"data_source" : sensor .source ,
43
42
"signals" : sensor .signal ,
44
43
"time_type" : "day" ,
45
44
"geo_type" : location .geo_type ,
@@ -48,7 +47,7 @@ def get_indicator_data(sensors: List[SensorConfig],
48
47
"as_of" : as_of_str }
49
48
for sensor , location in all_combos
50
49
]
51
- responses = Epidata .async_epidata (all_params )
50
+ responses = Epidata .async_epidata ("covidcast" , all_params )
52
51
for response , params in responses :
53
52
# -2 = no results, 1 = success. Truncated data or server errors may lead to this Exception.
54
53
if response ["result" ] not in (- 2 , 1 ):
You can’t perform that action at this time.
0 commit comments