Skip to content

Provide better experience accessing county-level data #1619

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

Open
brookslogan opened this issue Mar 3, 2025 · 0 comments
Open

Provide better experience accessing county-level data #1619

brookslogan opened this issue Mar 3, 2025 · 0 comments

Comments

@brookslogan
Copy link
Contributor

brookslogan commented Mar 3, 2025

This query

dat <- epidatr::pub_covidcast("doctor-visits", "smoothed_adj_cli", "county", "day")

seems to produce a nondeterministic mix of problems:

  • "Operation timed out after 900006 milliseconds with 0 bytes received" (on @XuedaShen's system)
  • Raising an error because of low bytes/sec (on my system)
  • (Potentially making the system unresponsive and then) getting killed by out-of-memory (OOM) killer (on my system). I'm estimating (from state data * rough # counties per state) that data as an object would be ~0.7GB, and as a JSON string is around ~1.5GB; my system as ~32GB RAM, with 8.5GB "free" at the moment, so hypothetically it should be able to handle it in RAM without OOM killing, but disk might be an option too.

The last one seems like something epidatr could potentially help out with; I've opened a companion issue there. The first two seem like potential API server issues or query performance issues.

Directly accessing the associated URL on Firefox is making progress, outputting a whole bunch of plaintext output; I assume at the end it will be formatted into a fancy json view, but I would prefer it to just save to a file when the output's this large. I assume there's some header that could be set to make this happen?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant