Skip to content

Commit 37f23a4

Browse files
committed
docs: attempt to correct wiki docs
1 parent 3a5c02d commit 37f23a4

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

R/endpoints.R

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1719,6 +1719,13 @@ pvt_twitter <- function(auth, locations, ..., dates = NULL, epiweeks = NULL, fet
17191719
#' url <- "https://github.com/raw/cmu-delphi/delphi-epidata/dev/docs/api/covidcast_signals.md"
17201720
#' txt <- readLines(url)
17211721
#' txt <- txt[7:length(txt)]
1722+
#' txt %<>% gsub("covidcast_meta", "pub_covidcast_meta", .) %>%
1723+
#' gsub("\\[`(fb-.*)`\\].*\\.md)", "\\1", .) %>%
1724+
#' gsub("\\[`(jhu-.*)`\\].*\\.md)", "\\1", .) %>%
1725+
#' gsub("\\[`(hhs.*)`\\].*\\.md)", "\\1", .) %>%
1726+
#' gsub("\\[`(goog.*)`\\].*\\.md)", "\\1", .) %>%
1727+
#' gsub("\\[`(doc.*)`\\].*\\.md)", "\\1", .) %>%
1728+
#' gsub("covidcast_changelog.md", "https://cmu-delphi.github.io/delphi-epidata/api/covidcast_changelog.html", .)
17221729
#' cat(txt, sep = "\n")
17231730
#' ```
17241731
#'

0 commit comments

Comments
 (0)