-
Notifications
You must be signed in to change notification settings - Fork 12
Feature Request: Time Series #21
Comments
Hi, @jjshoe, is this purely and API question? If so, can I move it over to the API repo? |
@kevee it probably belongs best on the repo where data is assembled. I'm basically asking when the state, and county data sets get compiled each day, that a singular csv and whatever is used to drive the API, have a single data source, that gets data appended. For example, in CSV, this would just mean a new data column, or several columns really, to contain that days data:
Or perhaps:
|
For anyone interested, the following perl code will generate confirmed cases (excluding deaths) into a time series CSV. https://gist.github.com/jjshoe/a5c62a7ff12d85f3badaa398fbf0cbff |
Indeed. Right now I have to make separate queries for |
I would recommend using the timestamp range inclusive, non-inclusive
Maybe something like |
@Nosferican Why do you think that would be useful in this context? The API doesn’t use that date format to begin with, and at least for myself, I don’t see why a half-open interval would be the desired semantics (unlike in, say, the C++ STL). I do like the idea of |
The date associated with the data is for the day of publication based on the timestamp. It usually means it is about the reported tests for the day before. In some cases a case that was reported to the jurisdiction will show up in the API two days after depending on when it was reported. The actual data collection uses the timestamp of when the source of the website was downloaded and parsed which is a better measure of until when the data is "comprehensive". The metadata has documented the |
@Nosferican That’s useful information, but I’m not sure I understand how it interacts with time series. We already can query the API by date, so shouldn’t the semantics of a date series be the same? AFAIK the API doesn’t offer any finer time granularity (right?). |
Johns Hopkins has completely fudged their time series, any chance you could host it via api?
I know I could write something to query day by day, and do the work from there, but it would be great if there was a CSV all set to go.
The text was updated successfully, but these errors were encountered: