Skip to content

Commit c55c9dc

Browse files
committed
fold private endpoint examples
1 parent 028ff8c commit c55c9dc

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

vignettes/signal-discovery.Rmd

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@ The site also includes a search tool if you have a keyword (e.g. "Taiwan") in mi
3131

3232
## Signal metadata
3333

34-
Some endpoints have partner metadata available that, depending on
35-
the endpoint, provides information about the signals that are available, what
36-
time ranges they are available for, and when they have been updated.
34+
Some endpoints have partner metadata available that provides information about
35+
the signals that are available, for example, what time ranges they are
36+
available for, and when they have been updated.
3737

3838
```{r, echo = FALSE}
3939
suppressMessages(invisible(capture.output(endpts <- avail_endpoints())))
@@ -290,6 +290,10 @@ pub_wiki(language = "en", articles = "influenza", epiweeks = epirange(202001, 20
290290
These require private access keys to use (separate from the Delphi Epidata API key).
291291
To actually run these locally, you will need to store these secrets in your `.Reviron` file, or set them as environmental variables.
292292

293+
<details id="private-endpoints">
294+
295+
<summary>Usage of private endpoints</summary>
296+
293297
#### CDC
294298

295299
API docs: <https://cmu-delphi.github.io/delphi-epidata/api/cdc.html>
@@ -372,3 +376,5 @@ pvt_twitter(
372376
epiweeks = epirange(200301, 202105)
373377
)
374378
```
379+
380+
</details>

0 commit comments

Comments
 (0)