Skip to content

Commit

Permalink
Merge pull request #293 from cmu-delphi/Tina_endpoints_examples_audit
Browse files Browse the repository at this point in the history
Audited examples in endpoint.r, see TODO items for further edits needed.
  • Loading branch information
nmdefries authored Sep 26, 2024
2 parents 2ee8867 + cdd2ef3 commit 0b34808
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ Imports:
tibble,
usethis,
xml2
RoxygenNote: 7.3.1
RoxygenNote: 7.3.2
Suggests:
dplyr,
ggplot2,
Expand Down
6 changes: 3 additions & 3 deletions R/endpoints.R
Original file line number Diff line number Diff line change
Expand Up @@ -163,8 +163,8 @@ pub_covid_hosp_facility_lookup <- function(
#' )
#'
#' pub_covid_hosp_facility(
#' hospital_pks = "100075",
#' collection_weeks = epirange(202001, 202005)
#' hospital_pks = "050063",
#' collection_weeks = epirange(20240101, 20240301)
#' )
#' }
#' @param hospital_pks character. Facility identifiers.
Expand Down Expand Up @@ -1848,7 +1848,7 @@ pub_nidss_flu <- function(
#' \dontrun{
#' pvt_norostat(
#' auth = Sys.getenv("SECRET_API_AUTH_NOROSTAT"),
#' locations = "1",
#' locations = "Minnesota, Ohio, Oregon, Tennessee, and Wisconsin",
#' epiweeks = 201233
#' )
#' }
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ The [Delphi Epidata API](https://cmu-delphi.github.io/delphi-epidata/)
provides real-time access to epidemiological surveillance data for
influenza, COVID-19, and other diseases from both official government
sources such as the [Centers for Disease Control and Prevention
(CDC)](https://data.cdc.gov/), private partners
(CDC)](https://archive.cdc.gov/), private partners
such as [Facebook (now
Meta)](https://delphi.cmu.edu/blog/2020/08/26/covid-19-symptom-surveys-through-facebook/)
and [Change Healthcare](https://www.changehealthcare.com/), and other
Expand Down Expand Up @@ -82,7 +82,7 @@ pak::pkg_install("cmu-delphi/epidatr@dev")
```

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

### API Keys

Expand Down
4 changes: 2 additions & 2 deletions man/covidcast_epidata.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions man/pub_covid_hosp_facility.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/pvt_norostat.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 0b34808

Please sign in to comment.