Skip to content

Commit 9f29096

Browse files
committed
Revert "generated files"
This reverts commit d21f9a9.
1 parent d21f9a9 commit 9f29096

File tree

58 files changed

+10019
-9872
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

58 files changed

+10019
-9872
lines changed

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

Lines changed: 20 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -23,22 +23,23 @@
2323
toc: true
2424
---
2525

26+
<script src="/rmarkdown-libs/header-attrs/header-attrs.js"></script>
2627

2728
<div id="TOC">
2829
<ul>
29-
<li><a href="#including-plots" id="toc-including-plots">Including Plots</a>
30+
<li><a href="#including-plots">Including Plots</a>
3031
<ul>
31-
<li><a href="#wide-figure" id="toc-wide-figure">Wide Figure</a></li>
32+
<li><a href="#wide-figure">Wide Figure</a></li>
3233
</ul></li>
33-
<li><a href="#including-math" id="toc-including-math">Including Math</a></li>
34-
<li><a href="#metadata" id="toc-metadata">Metadata</a>
34+
<li><a href="#including-math">Including Math</a></li>
35+
<li><a href="#metadata">Metadata</a>
3536
<ul>
36-
<li><a href="#tags" id="toc-tags">Tags</a></li>
37+
<li><a href="#tags">Tags</a></li>
3738
</ul></li>
38-
<li><a href="#linking" id="toc-linking">Linking</a>
39+
<li><a href="#linking">Linking</a>
3940
<ul>
40-
<li><a href="#linking-to-other-pages-and-blog-posts" id="toc-linking-to-other-pages-and-blog-posts">Linking to other pages and blog posts:</a></li>
41-
<li><a href="#linking-to-the-api-doc" id="toc-linking-to-the-api-doc">Linking to the API doc:</a></li>
41+
<li><a href="#linking-to-other-pages-and-blog-posts">Linking to other pages and blog posts:</a></li>
42+
<li><a href="#linking-to-the-api-doc">Linking to the API doc:</a></li>
4243
</ul></li>
4344
</ul>
4445
</div>
@@ -47,21 +48,21 @@
4748
see <a href="http://rmarkdown.rstudio.com" class="uri">http://rmarkdown.rstudio.com</a>.</p>
4849
<p>You can embed an R code chunk like this:</p>
4950
<pre class="r"><code>summary(cars)
50-
## speed dist
51-
## Min. : 4.0 Min. : 2.00
52-
## 1st Qu.:12.0 1st Qu.: 26.00
53-
## Median :15.0 Median : 36.00
54-
## Mean :15.4 Mean : 42.98
55-
## 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
5657
## Max. :25.0 Max. :120.00
5758
fit &lt;- lm(dist ~ speed, data = cars)
5859
fit
59-
##
60+
##
6061
## Call:
6162
## lm(formula = dist ~ speed, data = cars)
62-
##
63+
##
6364
## Coefficients:
64-
## (Intercept) speed
65+
## (Intercept) speed
6566
## -17.579 3.932</code></pre>
6667
<div id="including-plots" class="section level2">
6768
<h2>Including Plots</h2>
@@ -73,7 +74,7 @@ <h2>Including Plots</h2>
7374
col = c(&#39;#0292D8&#39;, &#39;#F7EA39&#39;, &#39;#C4B632&#39;),
7475
init.angle = -50, border = NA
7576
)</code></pre>
76-
<div class="figure"><span style="display:block;" id="fig:pie"></span>
77+
<div class="figure"><span id="fig:pie"></span>
7778
<img src="/blog/2015-07-23-template-post_files/figure-html/pie-1.svg" alt="A fancy pie chart." width="672" />
7879
<p class="caption">
7980
Figure 1: A fancy pie chart.
@@ -93,7 +94,7 @@ <h3>Wide Figure</h3>
9394
col = c(&#39;#0292D8&#39;, &#39;#F7EA39&#39;, &#39;#C4B632&#39;),
9495
init.angle = -50, border = NA
9596
)</code></pre>
96-
<div class="figure"><span style="display:block;" id="fig:wide-pie"></span>
97+
<div class="figure"><span id="fig:wide-pie"></span>
9798
<img src="/blog/2015-07-23-template-post_files/figure-html/wide-pie-1.svg" alt="A fancy pie chart." width="672" class="wide-figure" />
9899
<p class="caption">
99100
Figure 2: A fancy pie chart.

content/blog/2020-08-10-hello-world.html

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,13 @@
2525
toc: true
2626
---
2727

28+
<script src="/rmarkdown-libs/header-attrs/header-attrs.js"></script>
2829

2930
<div id="TOC">
3031
<ul>
31-
<li><a href="#a-little-bit-about-us" id="toc-a-little-bit-about-us">A Little Bit About Us</a></li>
32-
<li><a href="#our-mission-and-strategy" id="toc-our-mission-and-strategy">Our Mission and Strategy</a></li>
33-
<li><a href="#what-weve-been-up-to" id="toc-what-weve-been-up-to">What We’ve Been Up To</a></li>
32+
<li><a href="#a-little-bit-about-us">A Little Bit About Us</a></li>
33+
<li><a href="#our-mission-and-strategy">Our Mission and Strategy</a></li>
34+
<li><a href="#what-weve-been-up-to">What We’ve Been Up To</a></li>
3435
</ul>
3536
</div>
3637

content/blog/2020-08-26-fb-survey.html

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -47,19 +47,20 @@
4747
toc: true
4848
---
4949

50+
<script src="/rmarkdown-libs/header-attrs/header-attrs.js"></script>
5051

5152
<div id="TOC">
5253
<ul>
53-
<li><a href="#short-background" id="toc-short-background">Short Background</a></li>
54-
<li><a href="#why-run-these-surveys" id="toc-why-run-these-surveys">Why Run These Surveys?</a></li>
55-
<li><a href="#whats-in-the-survey" id="toc-whats-in-the-survey">What’s in the Survey?</a></li>
56-
<li><a href="#some-interesting-examples" id="toc-some-interesting-examples">Some Interesting Examples</a></li>
57-
<li><a href="#basic-correlation-analysis" id="toc-basic-correlation-analysis">Basic Correlation Analysis</a>
54+
<li><a href="#short-background">Short Background</a></li>
55+
<li><a href="#why-run-these-surveys">Why Run These Surveys?</a></li>
56+
<li><a href="#whats-in-the-survey">What’s in the Survey?</a></li>
57+
<li><a href="#some-interesting-examples">Some Interesting Examples</a></li>
58+
<li><a href="#basic-correlation-analysis">Basic Correlation Analysis</a>
5859
<ul>
59-
<li><a href="#correlations-sliced-by-time" id="toc-correlations-sliced-by-time">Correlations Sliced by Time</a></li>
60-
<li><a href="#correlations-sliced-by-county" id="toc-correlations-sliced-by-county">Correlations Sliced by County</a></li>
60+
<li><a href="#correlations-sliced-by-time">Correlations Sliced by Time</a></li>
61+
<li><a href="#correlations-sliced-by-county">Correlations Sliced by County</a></li>
6162
</ul></li>
62-
<li><a href="#whats-next-with-the-surveys" id="toc-whats-next-with-the-surveys">What’s Next with the Surveys</a></li>
63+
<li><a href="#whats-next-with-the-surveys">What’s Next with the Surveys</a></li>
6364
</ul>
6465
</div>
6566

@@ -171,7 +172,7 @@ <h2>Short Background</h2>
171172
title = &quot;Daily new confirmed COVID-19 cases per 100,000 people&quot;,
172173
range = c(0, 30), choro_params = list(subtitle = subtitle))
173174
grid.arrange(p1, p2, nrow = 1)</code></pre>
174-
<p><img src="/blog/2020-08-26-fb-survey_files/figure-html/unnamed-chunk-3-1.svg" width="960" class="wide-figure" /></p>
175+
<p><img src="/blog/2020-08-26-fb-survey_files/figure-html/unnamed-chunk-2-1.svg" width="960" class="wide-figure" /></p>
175176
<p>We generated these plots using our <a href="https://cmu-delphi.github.io/covidcast/covidcastR/">covidcast R
176177
package</a>.
177178
In all, fetching the data from our API and producing the heatmaps
@@ -352,7 +353,7 @@ <h2>Some Interesting Examples</h2>
352353
linetype = 2, size = 1, color = ggplot_colors[1]) +
353354
geom_vline(xintercept = as.numeric(as.Date(&quot;2020-06-25&quot;)),
354355
linetype = 2, size = 1, color = ggplot_colors[2])</code></pre>
355-
<p><img src="/blog/2020-08-26-fb-survey_files/figure-html/unnamed-chunk-4-1.svg" width="576" /></p>
356+
<p><img src="/blog/2020-08-26-fb-survey_files/figure-html/unnamed-chunk-3-1.svg" width="576" /></p>
356357
<p>This example, as with all code examples in this blog post, was produced using
357358
our <a href="https://cmu-delphi.github.io/covidcast/covidcastR/">covidcast R package</a>.</p>
358359
<p>A first glance reveals that the % CLI-in-community indicator
@@ -380,7 +381,7 @@ <h2>Some Interesting Examples</h2>
380381
p_list[[i]] = plot_one(geo_values[i], legend = FALSE)
381382
}
382383
do.call(grid.arrange, c(p_list, nrow = 5, ncol = 4))</code></pre>
383-
<p><img src="/blog/2020-08-26-fb-survey_files/figure-html/unnamed-chunk-5-1.svg" width="960" class="wide-figure" /></p>
384+
<p><img src="/blog/2020-08-26-fb-survey_files/figure-html/unnamed-chunk-4-1.svg" width="960" class="wide-figure" /></p>
384385
<p>The examples above are an informal way of looking
385386
at the <em>recall</em> of the % CLI-in-community signal.
386387
Of course, this is only one half of the story:
@@ -450,7 +451,7 @@ <h3>Correlations Sliced by Time</h3>
450451
subtitle = sprintf(&quot;Over all counties with at least %i cumulative cases&quot;,
451452
case_num), x = &quot;Date&quot;, y = &quot;Correlation&quot;) +
452453
theme_bw() + theme(legend.pos = &quot;bottom&quot;, legend.title = element_blank())</code></pre>
453-
<p><img src="/blog/2020-08-26-fb-survey_files/figure-html/unnamed-chunk-6-1.svg" width="576" /></p>
454+
<p><img src="/blog/2020-08-26-fb-survey_files/figure-html/unnamed-chunk-5-1.svg" width="576" /></p>
454455
<p>Another interesting observation is that the correlations from either indicator
455456
increase dramatically sometime around mid-June.
456457
This could be because many counties saw big surges in COVID-19 activity around
@@ -472,7 +473,7 @@ <h3>Correlations Sliced by Time</h3>
472473
subtitle = sprintf(&quot;Over all counties with at least %i cumulative cases&quot;,
473474
case_num), x = &quot;Date&quot;, y = &quot;Median abs deviation&quot;) +
474475
theme_bw()</code></pre>
475-
<p><img src="/blog/2020-08-26-fb-survey_files/figure-html/unnamed-chunk-7-1.svg" width="576" /></p>
476+
<p><img src="/blog/2020-08-26-fb-survey_files/figure-html/unnamed-chunk-6-1.svg" width="576" /></p>
476477
</div>
477478
<div id="correlations-sliced-by-county" class="section level3">
478479
<h3>Correlations Sliced by County</h3>
@@ -500,7 +501,7 @@ <h3>Correlations Sliced by County</h3>
500501
subtitle = sprintf(&quot;Over all counties with at least %i cumulative cases&quot;,
501502
case_num), x = &quot;Correlation&quot;, y = &quot;Density&quot;) +
502503
theme_bw() + theme(legend.pos = &quot;bottom&quot;, legend.title = element_blank())</code></pre>
503-
<p><img src="/blog/2020-08-26-fb-survey_files/figure-html/unnamed-chunk-8-1.svg" width="576" /></p>
504+
<p><img src="/blog/2020-08-26-fb-survey_files/figure-html/unnamed-chunk-7-1.svg" width="576" /></p>
504505
<p>We can also examine choropleth maps of these correlations to learn
505506
where (geographically speaking) they’re high and where they’re not.
506507
As we can see from the maps below, the % CLI-in-community indicator
@@ -524,7 +525,7 @@ <h3>Correlations Sliced by County</h3>
524525
p2 = plot(df_cor2, title = &quot;Correlation between % CLI-in-community and case rates&quot;,
525526
range = c(-1, 1), choro_col = cm.colors(10))
526527
grid.arrange(p1, p2, nrow = 1)</code></pre>
527-
<p><img src="/blog/2020-08-26-fb-survey_files/figure-html/unnamed-chunk-9-1.svg" width="960" class="wide-figure" /></p>
528+
<p><img src="/blog/2020-08-26-fb-survey_files/figure-html/unnamed-chunk-8-1.svg" width="960" class="wide-figure" /></p>
528529
</div>
529530
</div>
530531
<div id="whats-next-with-the-surveys" class="section level2">

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

Lines changed: 182 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -51,14 +51,15 @@
5151
toc: true
5252
---
5353

54+
<script src="/rmarkdown-libs/header-attrs/header-attrs.js"></script>
5455

5556
<div id="TOC">
5657
<ul>
57-
<li><a href="#purpose-of-the-api" id="toc-purpose-of-the-api">Purpose of the API</a></li>
58-
<li><a href="#unique-data-sources" id="toc-unique-data-sources">Unique Data Sources</a></li>
59-
<li><a href="#tracking-observations-and-revisions" id="toc-tracking-observations-and-revisions">Tracking Observations and Revisions</a></li>
60-
<li><a href="#accessing-the-api" id="toc-accessing-the-api">Accessing the API</a></li>
61-
<li><a href="#putting-the-api-to-work" id="toc-putting-the-api-to-work">Putting the API to Work</a></li>
58+
<li><a href="#purpose-of-the-api">Purpose of the API</a></li>
59+
<li><a href="#unique-data-sources">Unique Data Sources</a></li>
60+
<li><a href="#tracking-observations-and-revisions">Tracking Observations and Revisions</a></li>
61+
<li><a href="#accessing-the-api">Accessing the API</a></li>
62+
<li><a href="#putting-the-api-to-work">Putting the API to Work</a></li>
6263
</ul>
6364
</div>
6465

@@ -293,7 +294,182 @@ <h2>Tracking Observations and Revisions</h2>
293294
knitr::kable(&quot;html&quot;, digits = 2,
294295
col.names = c(&quot;Test date&quot;, &quot;Positivity rate (%)&quot;, &quot;Sample size&quot;,
295296
&quot;Issued on&quot;, &quot;Lag (days)&quot;))</code></pre>
296-
<p><em>Nov 6 2023 update: Quidel covidtest data is no longer available for public viewing, so we have removed the result of this code chunk.</em></p>
297+
<table>
298+
<thead>
299+
<tr>
300+
<th style="text-align:left;">
301+
Test date
302+
</th>
303+
<th style="text-align:right;">
304+
Positivity rate (%)
305+
</th>
306+
<th style="text-align:right;">
307+
Sample size
308+
</th>
309+
<th style="text-align:left;">
310+
Issued on
311+
</th>
312+
<th style="text-align:right;">
313+
Lag (days)
314+
</th>
315+
</tr>
316+
</thead>
317+
<tbody>
318+
<tr>
319+
<td style="text-align:left;">
320+
2020-08-01
321+
</td>
322+
<td style="text-align:right;">
323+
1.01
324+
</td>
325+
<td style="text-align:right;">
326+
198
327+
</td>
328+
<td style="text-align:left;">
329+
2020-08-06
330+
</td>
331+
<td style="text-align:right;">
332+
5
333+
</td>
334+
</tr>
335+
<tr>
336+
<td style="text-align:left;">
337+
2020-08-01
338+
</td>
339+
<td style="text-align:right;">
340+
0.97
341+
</td>
342+
<td style="text-align:right;">
343+
206
344+
</td>
345+
<td style="text-align:left;">
346+
2020-08-07
347+
</td>
348+
<td style="text-align:right;">
349+
6
350+
</td>
351+
</tr>
352+
<tr>
353+
<td style="text-align:left;">
354+
2020-08-01
355+
</td>
356+
<td style="text-align:right;">
357+
1.41
358+
</td>
359+
<td style="text-align:right;">
360+
284
361+
</td>
362+
<td style="text-align:left;">
363+
2020-08-10
364+
</td>
365+
<td style="text-align:right;">
366+
9
367+
</td>
368+
</tr>
369+
<tr>
370+
<td style="text-align:left;">
371+
2020-08-01
372+
</td>
373+
<td style="text-align:right;">
374+
1.38
375+
</td>
376+
<td style="text-align:right;">
377+
290
378+
</td>
379+
<td style="text-align:left;">
380+
2020-08-12
381+
</td>
382+
<td style="text-align:right;">
383+
11
384+
</td>
385+
</tr>
386+
<tr>
387+
<td style="text-align:left;">
388+
2020-08-01
389+
</td>
390+
<td style="text-align:right;">
391+
1.33
392+
</td>
393+
<td style="text-align:right;">
394+
377
395+
</td>
396+
<td style="text-align:left;">
397+
2020-08-16
398+
</td>
399+
<td style="text-align:right;">
400+
15
401+
</td>
402+
</tr>
403+
<tr>
404+
<td style="text-align:left;">
405+
2020-08-01
406+
</td>
407+
<td style="text-align:right;">
408+
1.53
409+
</td>
410+
<td style="text-align:right;">
411+
459
412+
</td>
413+
<td style="text-align:left;">
414+
2020-08-19
415+
</td>
416+
<td style="text-align:right;">
417+
18
418+
</td>
419+
</tr>
420+
<tr>
421+
<td style="text-align:left;">
422+
2020-08-01
423+
</td>
424+
<td style="text-align:right;">
425+
1.47
426+
</td>
427+
<td style="text-align:right;">
428+
477
429+
</td>
430+
<td style="text-align:left;">
431+
2020-08-20
432+
</td>
433+
<td style="text-align:right;">
434+
19
435+
</td>
436+
</tr>
437+
<tr>
438+
<td style="text-align:left;">
439+
2020-08-01
440+
</td>
441+
<td style="text-align:right;">
442+
1.46
443+
</td>
444+
<td style="text-align:right;">
445+
479
446+
</td>
447+
<td style="text-align:left;">
448+
2020-08-26
449+
</td>
450+
<td style="text-align:right;">
451+
25
452+
</td>
453+
</tr>
454+
<tr>
455+
<td style="text-align:left;">
456+
2020-08-01
457+
</td>
458+
<td style="text-align:right;">
459+
1.36
460+
</td>
461+
<td style="text-align:right;">
462+
513
463+
</td>
464+
<td style="text-align:left;">
465+
2020-08-30
466+
</td>
467+
<td style="text-align:right;">
468+
29
469+
</td>
470+
</tr>
471+
</tbody>
472+
</table>
297473
<p>Many data sources are subject to revisions:</p>
298474
<ul>
299475
<li>Case and death counts are frequently corrected or adjusted by authorities.</li>

0 commit comments

Comments
 (0)