@@ -285,21 +285,20 @@ can change for _weeks_ as new data arrives:
285285``` {r q-versioning, warning=FALSE, message=FALSE, cache=TRUE}
286286library(covidcast)
287287library(dplyr)
288- # DISABLED for now since the API is not ready
289288query_date <- "2020-08-01"
290- # covidcast_signal(
291- # data_source = "quidel",
292- # signal = "covid_ag_raw_pct_positive",
293- # start_day = query_date,
294- # end_day = query_date,
295- # geo_type = "state",
296- # geo_value = "ny",
297- # issues = c(query_date, "2020-09-04")) %>%
298- # select(time_value, value, sample_size, issue, lag) %>%
299- # distinct(value, .keep_all=TRUE) %>%
300- # knitr::kable("html", digits = 2,
301- # col.names = c("Test date", "Positivity rate (%)", "Sample size",
302- # "Issued on", "Lag (days)"))
289+ covidcast_signal(
290+ data_source = "quidel",
291+ signal = "covid_ag_raw_pct_positive",
292+ start_day = query_date,
293+ end_day = query_date,
294+ geo_type = "state",
295+ geo_value = "ny",
296+ issues = c(query_date, "2020-09-04")) %>%
297+ select(time_value, value, sample_size, issue, lag) %>%
298+ distinct(value, .keep_all=TRUE) %>%
299+ knitr::kable("html", digits = 2,
300+ col.names = c("Test date", "Positivity rate (%)", "Sample size",
301+ "Issued on", "Lag (days)"))
303302```
304303
305304Many data sources are subject to revisions:
0 commit comments