-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #297 from cmu-delphi/use-delphidocs
Use delphidocs
- Loading branch information
Showing
9 changed files
with
86 additions
and
66 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,7 +16,6 @@ env | |
/doc/ | ||
/Meta/ | ||
.secrets | ||
epidatr.Rproj | ||
renv.lock | ||
renv/ | ||
.Rprofile | ||
.Rprofile |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,59 +1,74 @@ | ||
Package: epidatr | ||
Type: Package | ||
Package: epidatr | ||
Title: Client for Delphi's 'Epidata' API | ||
Version: 1.2.0 | ||
Authors@R: | ||
c( | ||
person("Logan", "Brooks", email = "[email protected]", role = c("aut")), | ||
person("Dmitry", "Shemetov", email = "[email protected]", role = c("aut")), | ||
person("Samuel", "Gratzl", email = "[email protected]", role = c("aut")), | ||
person("David", "Weber", email = "[email protected]", role = c("ctb", "cre")), | ||
person("Nat", "DeFries", role = c("ctb")), | ||
person("Alex", "Reinhart", role = c("ctb")), | ||
person("Daniel", "McDonald", role = c("ctb")), | ||
person("Kean Ming", "Tan", role = c("ctb")), | ||
person("Will", "Townes", role = c("ctb")), | ||
person("George", "Haff", role = c("ctb")), | ||
person("Kathryn", "Mazaitis", role = c("ctb")) | ||
Authors@R: c( | ||
person("Logan", "Brooks", , "[email protected]", role = "aut"), | ||
person("Dmitry", "Shemetov", , "[email protected]", role = "aut"), | ||
person("Samuel", "Gratzl", , "[email protected]", role = "aut"), | ||
person("David", "Weber", , "[email protected]", role = c("ctb", "cre")), | ||
person("Nat", "DeFries", role = "ctb"), | ||
person("Alex", "Reinhart", role = "ctb"), | ||
person("Daniel J.", "McDonald", role = "ctb"), | ||
person("Kean Ming", "Tan", role = "ctb"), | ||
person("Will", "Townes", role = "ctb"), | ||
person("George", "Haff", role = "ctb"), | ||
person("Kathryn", "Mazaitis", role = "ctb") | ||
) | ||
URL: https://cmu-delphi.github.io/epidatr/, https://cmu-delphi.github.io/delphi-epidata/, https://github.com/cmu-delphi/epidatr | ||
BugReports: https://github.com/cmu-delphi/epidatr/issues | ||
Description: The Delphi 'Epidata' API provides real-time access to epidemiological surveillance data for influenza, 'COVID-19', and other diseases for the USA at various geographical resolutions, both from official government sources such as the Center for Disease Control (CDC) and Google Trends and private partners such as Facebook and Change 'Healthcare'. It is built and maintained by the Carnegie Mellon University Delphi research group. To cite this API: David C. Farrow, Logan C. Brooks, Aaron 'Rumack', Ryan J. 'Tibshirani', 'Roni' 'Rosenfeld' (2015). Delphi 'Epidata' API. <https://github.com/cmu-delphi/delphi-epidata>. | ||
Depends: R (>= 3.5.0) | ||
Description: The Delphi 'Epidata' API provides real-time access to | ||
epidemiological surveillance data for influenza, 'COVID-19', and other | ||
diseases for the USA at various geographical resolutions, both from | ||
official government sources such as the Center for Disease Control | ||
(CDC) and Google Trends and private partners such as Facebook and | ||
Change 'Healthcare'. It is built and maintained by the Carnegie Mellon | ||
University Delphi research group. To cite this API: David C. Farrow, | ||
Logan C. Brooks, Aaron 'Rumack', Ryan J. 'Tibshirani', 'Roni' | ||
'Rosenfeld' (2015). Delphi 'Epidata' API. | ||
<https://github.com/cmu-delphi/delphi-epidata>. | ||
License: MIT + file LICENSE | ||
Encoding: UTF-8 | ||
LazyData: true | ||
Roxygen: list(markdown = TRUE) | ||
URL: https://cmu-delphi.github.io/epidatr/, | ||
https://cmu-delphi.github.io/delphi-epidata/, | ||
https://github.com/cmu-delphi/epidatr | ||
BugReports: https://github.com/cmu-delphi/epidatr/issues | ||
Depends: | ||
R (>= 3.5.0) | ||
Imports: | ||
cachem, | ||
checkmate, | ||
cli, | ||
httr, | ||
glue, | ||
httr, | ||
jsonlite, | ||
magrittr, | ||
MMWRweek, | ||
purrr, | ||
openssl, | ||
purrr, | ||
rappdirs, | ||
readr, | ||
tibble, | ||
usethis, | ||
xml2 | ||
RoxygenNote: 7.3.2 | ||
Suggests: | ||
dplyr, | ||
ggplot2, | ||
knitr, | ||
maps, | ||
mapproj, | ||
rmarkdown, | ||
maps, | ||
rlang, | ||
rmarkdown, | ||
testthat (>= 3.1.5), | ||
withr | ||
VignetteBuilder: knitr | ||
Language: en-US | ||
VignetteBuilder: | ||
knitr | ||
Remotes: | ||
cmu-delphi/delphidocs | ||
Config/Needs/website: cmu-delphi/delphidocs | ||
Config/testthat/edition: 3 | ||
Encoding: UTF-8 | ||
Language: en-US | ||
LazyData: true | ||
Roxygen: list(markdown = TRUE) | ||
RoxygenNote: 7.3.2 | ||
Collate: | ||
'auth.R' | ||
'avail_endpoints.R' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
Version: 1.0 | ||
|
||
RestoreWorkspace: Default | ||
SaveWorkspace: Default | ||
AlwaysSaveHistory: Default | ||
|
||
EnableCodeIndexing: Yes | ||
UseSpacesForTab: Yes | ||
NumSpacesForTab: 2 | ||
Encoding: UTF-8 | ||
|
||
RnwWeave: Sweave | ||
LaTeX: pdfLaTeX | ||
|
||
AutoAppendNewline: Yes | ||
StripTrailingWhitespace: Yes | ||
|
||
BuildType: Package | ||
PackageUseDevtools: Yes | ||
PackageInstallArgs: --no-multiarch --with-keep.source |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
test_that("requesting works", { | ||
skip("This site is down.") | ||
res <- do_request("https://httpbin.org/status/414", list(), timeout_seconds = 10 * 60) | ||
expect_equal(res$status_code, 414) | ||
}) |