Skip to content

Commit 2289eea

Browse files
authored
Merge pull request #295 from cmu-delphi/sgratzl/apibuild
build: temporary disable blot post part
2 parents 1fbf5d8 + 15783b8 commit 2289eea

File tree

3 files changed

+25
-24
lines changed

3 files changed

+25
-24
lines changed

.github/workflows/blog.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55
paths: # run only when an Rmd file changes
66
- "**.Rmd"
77
- "environment.yml"
8-
- ".github/workflows/ci.yaml"
8+
- ".github/workflows/blog.yaml"
99

1010
jobs:
1111
build:

content/blog/2015-07-23-template-post.html

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -48,21 +48,21 @@
4848
see <a href="http://rmarkdown.rstudio.com" class="uri">http://rmarkdown.rstudio.com</a>.</p>
4949
<p>You can embed an R code chunk like this:</p>
5050
<pre class="r"><code>summary(cars)
51-
## speed dist
52-
## Min. : 4.0 Min. : 2.00
53-
## 1st Qu.:12.0 1st Qu.: 26.00
54-
## Median :15.0 Median : 36.00
55-
## Mean :15.4 Mean : 42.98
56-
## 3rd Qu.:19.0 3rd Qu.: 56.00
51+
## speed dist
52+
## Min. : 4.0 Min. : 2.00
53+
## 1st Qu.:12.0 1st Qu.: 26.00
54+
## Median :15.0 Median : 36.00
55+
## Mean :15.4 Mean : 42.98
56+
## 3rd Qu.:19.0 3rd Qu.: 56.00
5757
## Max. :25.0 Max. :120.00
5858
fit &lt;- lm(dist ~ speed, data = cars)
5959
fit
60-
##
60+
##
6161
## Call:
6262
## lm(formula = dist ~ speed, data = cars)
63-
##
63+
##
6464
## Coefficients:
65-
## (Intercept) speed
65+
## (Intercept) speed
6666
## -17.579 3.932</code></pre>
6767
<div id="including-plots" class="section level2">
6868
<h2>Including Plots</h2>
@@ -147,7 +147,7 @@ <h3>Linking to other pages and blog posts:</h3>
147147
</div>
148148
<div id="linking-to-the-api-doc" class="section level3">
149149
<h3>Linking to the API doc:</h3>
150-
<p>there is another shortcode for creating an api link, e.g. 
150+
<p>there is another shortcode for creating an api link, e.g.
151151
{{< apireflink "/" "public API" >}} or
152152
{{< apireflink "api/covidcast-signals/doctor-visits.html" "Doctor's Visits signal" >}}</p>
153153
</div>

content/blog/2020-08-28-api.Rmd

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -285,20 +285,21 @@ can change for _weeks_ as new data arrives:
285285
```{r q-versioning, warning=FALSE, message=FALSE, cache=TRUE}
286286
library(covidcast)
287287
library(dplyr)
288+
# DISABLED for now since the API is not ready
288289
query_date <- "2020-08-01"
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)"))
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)"))
302303
```
303304

304305
Many data sources are subject to revisions:

0 commit comments

Comments
 (0)