You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: slides/day1-morning.qmd
+5-13
Original file line number
Diff line number
Diff line change
@@ -228,13 +228,11 @@ verify_setup()
228
228
229
229
* In table form, panel data is a time index + one or more locations/keys.
230
230
231
-
***Ex**: The % of outpatient doctor visits that are COVID-related in WA from Dec. 2021 to Feb. 2022 ([docs](https://cmu-delphi.github.io/delphi-epidata/api/covidcast-signals/doctor-visits.html)):
232
-
```{r panel-wa-ex}
233
-
head(epix_as_of(dv_wa, max(dv_wa$DT$version)))
231
+
***Ex**: The % of outpatient doctor visits that are COVID-related in CA from June 2020 to Dec. 2021 ([docs](https://cmu-delphi.github.io/delphi-epidata/api/covidcast-signals/doctor-visits.html)):
<!-- Example: The estimated % of outpatient doctor visits that are COVID-related in WA from Dec. 2021 to Feb. 2022 -->
237
-
238
236
## Examples of panel data - COVID-19 cases
239
237
240
238
[[**JHU CSSE COVID cases per 100k **]{.primary}](https://cmu-delphi.github.io/delphi-epidata/api/covidcast-signals/jhu-csse.html) estimates the daily number of new confirmed COVID-19 cases per 100,000 population, averaged over the past 7 days.
@@ -427,7 +425,7 @@ ggplot(ca |>
427
425
428
426
* This is because individual-level data has delayed availability:
429
427
430
-
[Person comes to ER → Has some tests → Admitted → Tests come back → Entered into the system → ...]{.fourth-colour}
428
+
[Person comes to ER → Admitted → Has some tests → Tests come back → Entered into the system → ...]{.fourth-colour}
431
429
432
430
* So, a "Hospital admission" may not attributable to a particular condition
433
431
until a few days have passed (the patient may even have been released)
@@ -526,10 +524,6 @@ and subject to [**revision**]{.primary} <!--over time (ex. consider Dec. 1's `pe
526
524
head(x_dt_with_diff) |> as_tibble()
527
525
```
528
526
529
-
<!-- min_lag: the minimum time to any value min(as.integer(version) - as.integer(time_value) -->
530
-
<!-- max_lag: the amount of time until the final (new) version -->
531
-
<!-- revision_summary computes some basic statistics about the revision behavior of an archive, returning a tibble summarizing the revisions per time_value+epi_key features. -->
532
-
533
527
## Revision triangle, Outpatient visits in WA 2022
534
528
535
529
* 7-day trailing average to smooth day-of-week effects
0 commit comments