File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed
google_symptoms/delphi_google_symptoms Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -17,13 +17,11 @@ def generate_patch_dates(params: Dict) -> Dict[date, Tuple[date]]:
1717
1818 Parameters
1919 ----------
20- issue_date
21- end_date
22- params
20+ params: dictionary parsed from params.json
2321
2422 Returns
2523 -------
26- dict of date and tuple of date
24+ dict(date: dict(export date range settings))
2725 """
2826 issue_date = datetime .strptime (params ["patch" ]["start_issue" ], "%Y-%m-%d" )
2927 end_date = datetime .strptime (params ["patch" ]["end_issue" ], "%Y-%m-%d" )
@@ -76,7 +74,7 @@ def generate_num_export_days(params: Dict, logger) -> [int]:
7674 # Fetch metadata to check how recent each signal is
7775 covidcast .use_api_key (params ["indicator" ]["api_credentials" ])
7876 metadata = covidcast .metadata ()
79- # Filter to only those we currently want to produce, ignore any old or deprecated signals
77+ # Filter to only those signals we currently want to produce for `google-symptoms`
8078 gs_metadata = metadata [(metadata .data_source == "google-symptoms" ) & (metadata .signal .isin (sensor_names ))]
8179
8280 num_export_days = params ["indicator" ]["num_export_days" ]
You can’t perform that action at this time.
0 commit comments