-
Notifications
You must be signed in to change notification settings - Fork 69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rvdss interface and new fn layout so current/historical data can be easily fetched #1551
Conversation
old_detection_data.to_csv('season_2023_2024/' + RESP_COUNTS_OUTPUT_FILE,index=True) | ||
old_positive_data.to_csv('season_2023_2024/' + POSITIVE_TESTS_OUTPUT_FILE,index=True) | ||
for i, base_url in enumerate(included_urls): | ||
dict_list[i]["weekly"] = fetch_dashboard_data(url, 2023) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
issue: Need to make sure key is one of the three standard keys ("county", "positive", etc)
src/acquisition/rvdss/run.py
Outdated
import os | ||
|
||
from delphi.epidata.acquisition.rvdss.utils import get_weekly_data, get_revised_data, get_dashboard_update_date | ||
from delphi.epidata.acquisition.rvdss.constants import DASHBOARD_BASE_URL, RESP_DETECTIONS_OUTPUT_FILE, POSITIVE_TESTS_OUTPUT_FILE, COUNTS_OUTPUT_FILE |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
issue: check imports
Quality Gate passedIssues Measures |
Summary:
Implements interface for
rvdss
indicator. Change fn structure. Makes historical data pulling use up-to-date fn args. Marks additional work with "TODO: ". This won't work entirely as-is. At minimum, fn imports need to be updated for the newrun.py
script.Some files have been renamed.
Looks like that's causing a conflict with the historical fns file.FixedPrerequisites:
dev
branchdev