@@ -9,14 +9,61 @@ editor_options:
9
9
chunk_output_type : console
10
10
---
11
11
12
- This package introduces a common data structure for epidemiological data sets
13
- measured over space and time, and offers associated utilities to perform basic
14
- signal processing tasks.
12
+ The [ ` {epiprocess} ` ] ( https://cmu-delphi.github.io/epiprocess/ ) package works
13
+ with epidemiological time series and version data to provide situational
14
+ awareness, processing and transformations in preparation for modeling, and
15
+ version-faithful model backtesting. It contains:
16
+
17
+ - ` epi_df ` , a class for working with epidemiological time series data;
18
+ - ` epi_archive ` , a class for working with the version history of such time series data;
19
+ - sample data in these formats;
20
+ - [ ` {dplyr} ` ] ( https://dplyr.tidyverse.org/ ) -esque "verbs" for common data
21
+ transformations (e.g., 7-day averages);
22
+ - functions for exploratory data analysis and situational awareness (e.g.,
23
+ outlier detection and growth rate estimation); and
24
+ - [ ` {dplyr} ` ] ( https://dplyr.tidyverse.org/ ) -esque "verbs" for version-faithful
25
+ "pseudoprospective" backtesting of models, and other version history analysis
26
+ and transformations.
27
+
28
+ It is part of a broader suite of packages that includes
29
+ [ ` {epipredict} ` ] ( https://cmu-delphi.github.io/epipredict/ ) ,
30
+ [ ` {epidatr} ` ] ( https://cmu-delphi.github.io/epidatr/ ) ,
31
+ [ ` {rtestim} ` ] ( https://dajmcdon.github.io/rtestim/ ) , and
32
+ [ ` {epidatasets} ` ] ( https://cmu-delphi.github.io/epidatasets/ ) , for accessing,
33
+ analyzing, and forecasting epidemiological time series data. We have expanded
34
+ documentation and demonstrations for some of these packages available in an
35
+ online "book" format [ here] ( https://cmu-delphi.github.io/delphi-tooling-book/ ) .
36
+
37
+ ## Motivation
38
+
39
+ [ ` {epiprocess} ` ] ( https://cmu-delphi.github.io/epiprocess/ ) and
40
+ [ ` {epipredict} ` ] ( https://cmu-delphi.github.io/epipredict/ ) are designed to lower
41
+ the barrier to entry and implementation cost for epidemiological time series
42
+ analysis and forecasting. Epidemiologists and forecasting groups repeatedly and
43
+ separately have had to rush to implement this type of functionality in a much
44
+ more ad hoc manner; we are trying to save such effort in the future by providing
45
+ well-documented, tested, and general packages that can be called for many common
46
+ tasks instead.
47
+
48
+ [ ` {epiprocess} ` ] ( https://github.com/cmu-delphi/epiprocess/ ) also provides tools
49
+ to help avoid a particularly common pitfall in analysis and forecasting:
50
+ ignoring reporting latency and revisions to a data set. This can, for example,
51
+ lead to one retrospectively analyzing a surveillance signal or forecasting model
52
+ and concluding that it is much more accurate than it actually was in real time,
53
+ or producing always-decreasing forecasts on data sets where initial surveillance
54
+ estimates are systematically revised upward. Storing and working with version
55
+ history can help avoid these issues.
56
+
57
+ ## Intended audience
58
+
59
+ We expect users to be proficient in R, and familiar with the
60
+ [ ` {dplyr} ` ] ( https://dplyr.tidyverse.org/ ) and
61
+ [ ` {tidyr} ` ] ( https://tidyr.tidyverse.org/ ) packages.
15
62
16
63
## Installing
17
64
18
65
This package is not on CRAN yet, so it can be installed using the
19
- [ ` devtools ` ] ( https://devtools.r-lib.org ) package:
66
+ [ ` { devtools} ` ] ( https://devtools.r-lib.org ) package:
20
67
21
68
``` {r, eval = FALSE}
22
69
devtools::install_github("cmu-delphi/epiprocess", ref = "main")
0 commit comments