Skip to content

Commit f857d67

Browse files
committed
add geo info and format avail_endpoint
1 parent a8b81bb commit f857d67

File tree

1 file changed

+16
-2
lines changed

1 file changed

+16
-2
lines changed

vignettes/epidatr.Rmd

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -186,16 +186,30 @@ ggplot(epidata, aes(x = time_value, y = value)) +
186186
)
187187
```
188188

189-
## Signal discovery
189+
## Finding locations of interest
190+
191+
Most data is only available for the US. Select endpoints report other countries at the national and/or regional levels. Endpoint descriptions explicitly state when they cover non-US locations.
192+
193+
For endpoints that report US data, see the
194+
[geographic coding documentation](https://cmu-delphi.github.io/delphi-epidata/api/covidcast_geography.html)
195+
for available geographic levels.
196+
197+
198+
## Finding data sources and signals of interest
190199

191200
Above we used data from [Delphi’s symptom surveys](https://delphi.cmu.edu/covid19/ctis/), but the Epidata API includes numerous data streams: medical claims data, cases and deaths, mobility, and many others. This can make it a challenge to find the data stream that you are most interested in.
192201

193202
The Epidata documentation lists all the data sources and signals available through the API for [COVID-19](https://cmu-delphi.github.io/delphi-epidata/api/covidcast_signals.html) and for [other diseases](https://cmu-delphi.github.io/delphi-epidata/api/README.html#source-specific-parameters).
194203

195204
You can also use the `avail_endpoints()` function to get a table of endpoint functions:
196205

197-
```{r}
206+
```{r, eval = FALSE}
198207
avail_endpoints()
199208
```
200209

210+
```{r, echo = FALSE}
211+
invisible(capture.output(endpts <- avail_endpoints()))
212+
knitr::kable(endpts)
213+
```
214+
201215
See `vignette("signal-discovery")` for more information.

0 commit comments

Comments
 (0)