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
To demonstrate using [`{epipredict}`](https://cmu-delphi.github.io/epipredict/) for forecasting, say we want to
128
+
predict COVID-19 deaths per 100k people for each of a subset of states
129
+
130
+
```{r subset_geos}
131
+
used_locations <- c("ca", "ma", "ny", "tx")
132
+
```
133
+
134
+
on
135
+
136
+
```{r fc_date}
137
+
forecast_date <- as.Date("2021-08-01")
146
138
```
147
139
148
-
`covid_case_death_rates` is a subset of
149
-
[Johns Hopkins Center for Systems Science and Engineering deaths data](https://cmu-delphi.github.io/delphi-epidata/api/covidcast-signals/jhu-csse.html) stored in [`{epidatasets}`](https://cmu-delphi.github.io/epidatasets/).
150
-
Below the fold, we clean this dataset and demonstrate pulling it from the epidata API.
140
+
We will be using a subset of
141
+
[Johns Hopkins Center for Systems Science and Engineering deaths data](https://cmu-delphi.github.io/delphi-epidata/api/covidcast-signals/jhu-csse.html).
142
+
Below the fold, we pull the dataset from the epidata API and clean it.
151
143
152
144
<details>
153
145
<summary> Creating the dataset using `{epidatr}` and `{epiprocess}` </summary>
154
146
155
147
This section is intended to demonstrate some of the ubiquitous cleaning operations needed to be able to forecast.
156
-
The dataset prepared here is also included ready-to-go in [`{epipredict}`](https://cmu-delphi.github.io/epipredict/) as `covid_case_death_rates`.
148
+
A subset of this dataset prepared here is also included ready-to-go in [`{epipredict}`](https://cmu-delphi.github.io/epipredict/) as `covid_case_death_rates`.
157
149
158
150
First we pull both `jhu-csse` cases and deaths data from the
159
151
[Delphi API](https://cmu-delphi.github.io/delphi-epidata/api/covidcast.html) using the
0 commit comments