Closed nmdefries closed 7 months ago
A lot of great points! Couple of notes
unclear what pub_covid_hosp_facility signal cols represent. There are covariance columns (names end with "_cov")??
_cov
= "coverage", not "covariance". And "coverage" in some sense of % facilities reporting the corresponding non-_cov
column or something like that. Would need to read upstream docs. I think they do just use that _cov
naming upstream though, unfortunate.
Should endpoints use defaults so that users are able to get some data? This mirrors covidcast behavior.
No geo_type = "county"
default please. The wait [to be able to do something again after realizing one's mistake of not specifying another geo_type
desired] might be shorter with epidatr but I expect there's still a wait. (I'd also vote for no geo_type
default at all. geo_values = "*"
default maybe...)
[Another argument against geo_type = "county"
default: this could cause mixups between megacounties and state-level data.]
Remaining tasks moved to their own issues.
set_api_key
fn.~ code is up to date, but site needs to be released (looks like releases not done automatically(covidcast
documentation, for both signal discovery and othercovidcast
, setup, links to other resources, good vignettes to start with, etcfetch
description typo. "only support will return"timeset
doc page doesn't link to any of the formats it mentions. Esp looking at epiweek and epirange. And then asking for docs onepiweek
sends me to a lubridate page. Is there even anEpiWeek
fn/class available?~ Fixed in a previous doc updatecovidcast_epidata
refer tocovidcast
fn that no longer exists. "These objects can be used directly to fetch data, without requiring us to use the covidcast() function."pub_covid_hosp_facility
signal cols represent. There are covariance columns (names end with "_cov")??~ moved to https://github.com/cmu-delphi/epidatr/issues/233pub_flusurv
?~ moved to https://github.com/cmu-delphi/epidatr/issues/233pub_meta
returns. What API? How is it different thanpub_covidcast_meta
? Docs and blurb inavail_endpoints
need more fleshing out~ moved to https://github.com/cmu-delphi/epidatr/issues/233pub_ecdc_ili
not clear what are valid region names. Example uses a (lowercase and unabbreviated) country name. online docs don't list allowed regions either, and is basically a stub.~ moved to https://github.com/cmu-delphi/epidatr/issues/233pub_kcdc_ili
not clear what are valid region names. Example uses a (uppercase and abbreviated) acronym -- unclear what it means. online docs don't list allowed regions either, and is basically a stub. Nowhere does it say what the KCDC is or link to any additional info~ moved to https://github.com/cmu-delphi/epidatr/issues/233region = "taiwan"
with bothpub_ecdc_ili
andpub_kcdc_ili
, I getepidata warning: no results
and an empty tibble. But I'm pretty sure that this region is invalid. I'd like an error that it's invalid, with more info about how to provide a valid region name.~ opened issue https://github.com/cmu-delphi/delphi-epidata/issues/1365pub_nidss_flu
has non-US data, has Taiwanese data, and what the regions to request are~ moved to https://github.com/cmu-delphi/epidatr/issues/233pub_delphi
support a range of epiweeks; currently only takes one epiweek date at a time. This could also be changed indelphi-epidata
pub_ecdc_ili
usesepiweeks
when it could just usetime_values
issues
doesn't support a list of datespub_covid_hosp_facility
says it takes weeks, but actually takes days corresponding to weekspub_covid_hosp_facility_lookup
argfips_code
name doesn't parallel argzip
. Neither should have "code" in their names.pub_gft
name too short and not descriptive. Dittopvt_ght
, andpvt_cdc
andpub_delphi
(although for the last two it's more that "CDC" and "Delphi" are very broad)covidcast_epidata
is not informative. What about "covidcast_signal_explorer"?source
,signals
,time_type
,geo_type
,time_values
, andgeo_value
are all required", geo_value should be plural.pub_covid_hosp_facility
total_adult_patients_hospitalized_confirmed_covid_7_day_avg
field, but also has NAs. Is resolving this within our purview? Or are we just re-reporting this as-is?~ moved to delphi-epidatacovidcast
behavior.pub_covid_hosp_facility
(and presumably all other endpoints) forces me to specify a time range. Why not just default to giving me data for all dates?