Skip to content

Commit 0b34808

Browse files
authored
Merge pull request #293 from cmu-delphi/Tina_endpoints_examples_audit
Audited examples in endpoint.r, see TODO items for further edits needed.
2 parents 2ee8867 + cdd2ef3 commit 0b34808

6 files changed

+11
-11
lines changed

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ Imports:
4040
tibble,
4141
usethis,
4242
xml2
43-
RoxygenNote: 7.3.1
43+
RoxygenNote: 7.3.2
4444
Suggests:
4545
dplyr,
4646
ggplot2,

R/endpoints.R

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -163,8 +163,8 @@ pub_covid_hosp_facility_lookup <- function(
163163
#' )
164164
#'
165165
#' pub_covid_hosp_facility(
166-
#' hospital_pks = "100075",
167-
#' collection_weeks = epirange(202001, 202005)
166+
#' hospital_pks = "050063",
167+
#' collection_weeks = epirange(20240101, 20240301)
168168
#' )
169169
#' }
170170
#' @param hospital_pks character. Facility identifiers.
@@ -1848,7 +1848,7 @@ pub_nidss_flu <- function(
18481848
#' \dontrun{
18491849
#' pvt_norostat(
18501850
#' auth = Sys.getenv("SECRET_API_AUTH_NOROSTAT"),
1851-
#' locations = "1",
1851+
#' locations = "Minnesota, Ohio, Oregon, Tennessee, and Wisconsin",
18521852
#' epiweeks = 201233
18531853
#' )
18541854
#' }

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ The [Delphi Epidata API](https://cmu-delphi.github.io/delphi-epidata/)
1616
provides real-time access to epidemiological surveillance data for
1717
influenza, COVID-19, and other diseases from both official government
1818
sources such as the [Centers for Disease Control and Prevention
19-
(CDC)](https://data.cdc.gov/), private partners
19+
(CDC)](https://archive.cdc.gov/), private partners
2020
such as [Facebook (now
2121
Meta)](https://delphi.cmu.edu/blog/2020/08/26/covid-19-symptom-surveys-through-facebook/)
2222
and [Change Healthcare](https://www.changehealthcare.com/), and other
@@ -82,7 +82,7 @@ pak::pkg_install("cmu-delphi/epidatr@dev")
8282
```
8383

8484
Our CRAN listing is
85-
[here](https://CRAN.R-project.org/package=epidatr/index.html).
85+
[here](https://CRAN.R-project.org/package=epidatr).
8686

8787
### API Keys
8888

man/covidcast_epidata.Rd

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/pub_covid_hosp_facility.Rd

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/pvt_norostat.Rd

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)