Skip to content
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

replace the python covidcast client in SirCAL #1931

Open
melange396 opened this issue Jan 11, 2024 · 0 comments
Open

replace the python covidcast client in SirCAL #1931

melange396 opened this issue Jan 11, 2024 · 0 comments
Labels
refactor Long-term projects to revise existing machinery SirCAL Pertains to Sir Complains-a-lot, an alerting mechanism

Comments

@melange396
Copy link
Contributor

latest_data = covidcast.signal(
data_source, row["signal"],
start_day=datetime.now() - timedelta(days = 14),
end_day=datetime.now(),
geo_type=row["geo_type"]
)

SirCAL uses the python covidcast client which has some issues including inefficiency, as it makes individual http requests for each of the days in the specified range (and also even in the deprecated asynchronous mode, though they are ~simultaneous).

@melange396 melange396 added the SirCAL Pertains to Sir Complains-a-lot, an alerting mechanism label May 29, 2024
@melange396 melange396 added the refactor Long-term projects to revise existing machinery label Jun 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactor Long-term projects to revise existing machinery SirCAL Pertains to Sir Complains-a-lot, an alerting mechanism
Projects
None yet
Development

No branches or pull requests

1 participant