Skip to content

Commit 08d93af

Browse files
authored
Merge pull request #13 from cmu-delphi/use-delphidocs
Use delphidocs
2 parents 3bb5a82 + e7bea15 commit 08d93af

10 files changed

+121
-66
lines changed

.github/workflows/R-CMD-check.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
1616
R_KEEP_PKG_SOURCE: yes
1717
steps:
18-
- uses: actions/checkout@v3
18+
- uses: actions/checkout@v4
1919

2020
- uses: r-lib/actions/setup-r@v2
2121
with:

.github/workflows/pkgdown.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
permissions:
2323
contents: write
2424
steps:
25-
- uses: actions/checkout@v3
25+
- uses: actions/checkout@v4
2626

2727
- uses: r-lib/actions/setup-pandoc@v2
2828

@@ -41,7 +41,7 @@ jobs:
4141

4242
- name: Deploy to GitHub pages 🚀
4343
if: github.event_name != 'pull_request'
44-
uses: JamesIves/github-pages-deploy-action@v4.4.1
44+
uses: JamesIves/github-pages-deploy-action@v4.5.0
4545
with:
4646
clean: false
4747
branch: gh-pages

.gitignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
.Rhistory
33
.RData
44
.Ruserdata
5-
.DS_Store
5+
*.DS_Store
66
docs

DESCRIPTION

+19-10
Original file line numberDiff line numberDiff line change
@@ -3,20 +3,28 @@ Package: epidatasets
33
Title: Epidemiological Data for Delphi Tooling Examples
44
Version: 0.0.1
55
Authors@R: c(
6-
person(c("Daniel", "J."), "McDonald", email="[email protected]", role = c("aut")),
7-
person("Nat", "DeFries", email="[email protected]", role = c("cre", "aut")),
8-
person("Johns Hopkins University Center for Systems Science and Engineering", role = "dtc", comment = "Owner of COVID-19 cases and deaths data from the COVID-19 Data Repository"),
9-
person("Johns Hopkins University", role = "cph", comment = "Copyright holder of COVID-19 cases and deaths data from the COVID-19 Data Repository"),
10-
person("Carnegie Mellon University Delphi Group", role = "dtc", comment = "Owner of masking, social-distancing, and CLI data from the COVID-19 Trends and Impacts Survey. Owner of claims-based CLI data from the Delphi Epidata API"),
11-
person("The COVID-19 Canada Open Data Working Group", role = "dtc", comment = "Owner of Canadian COVID-19 cases rates from the Covid19Canada data repository"),
12-
person("Statistics Canada", role = "dtc", comment = "Owner of Canadian graduate employment income data from the Statistics Canada website"),
13-
person("Google", role = "dtc", comment = "Collaborator on CLI data from the Google symptom surveys")
6+
person(c("Daniel", "J."), "McDonald", , "[email protected]", role = "aut"),
7+
person("Nat", "DeFries", , "[email protected]", role = c("cre", "aut")),
8+
person("Johns Hopkins University Center for Systems Science and Engineering", role = "dtc",
9+
comment = "Owner of COVID-19 cases and deaths data from the COVID-19 Data Repository"),
10+
person("Johns Hopkins University", role = "cph",
11+
comment = "Copyright holder of COVID-19 cases and deaths data from the COVID-19 Data Repository"),
12+
person("Carnegie Mellon University Delphi Group", role = "dtc",
13+
comment = "Owner of masking, social-distancing, and CLI data from the COVID-19 Trends and Impacts Survey. Owner of claims-based CLI data from the Delphi Epidata API"),
14+
person("The COVID-19 Canada Open Data Working Group", role = "dtc",
15+
comment = "Owner of Canadian COVID-19 cases rates from the Covid19Canada data repository"),
16+
person("Statistics Canada", role = "dtc",
17+
comment = "Owner of Canadian graduate employment income data from the Statistics Canada website"),
18+
person("Google", role = "dtc",
19+
comment = "Collaborator on CLI data from the Google symptom surveys")
1420
)
1521
Description: This package contains data sets used to compile vignettes and
1622
other documentation in Delphi R Packages. The goal is to avoid calls
1723
to the Delphi Epidata API, and to deposit some examples here for easy
1824
offline use.
19-
License: file LICENSE
25+
License: MIT + file LICENSE
26+
URL: https://github.com/cmu-delphi/epidatasets,
27+
https://cmu-delphi.github.io/epidatasets/
2028
Depends:
2129
R (>= 2.10)
2230
Suggests:
@@ -35,10 +43,11 @@ Enhances:
3543
epiprocess (>= 0.9.0),
3644
tibble
3745
Remotes:
46+
cmu-delphi/delphidocs,
3847
cmu-delphi/epidatr,
3948
cmu-delphi/epiprocess
49+
Config/Needs/website: cmu-delphi/delphidocs
4050
Encoding: UTF-8
4151
LazyData: true
4252
Roxygen: list(markdown = TRUE)
4353
RoxygenNote: 7.3.2
44-
URL: https://cmu-delphi.github.io/epidatasets/

R/epidatasets-package.R

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#' @keywords internal
2+
"_PACKAGE"
3+
4+
## usethis namespace: start
5+
## usethis namespace: end
6+
NULL

README.Rmd

+2-2
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ examples here for easy offline use.
2929
You can install the development version of `{epidatasets}` like so:
3030

3131
``` r
32-
# install.packages("remotes")
33-
remotes::install_github("cmu-delphi/epidatasets")
32+
# install.packages("pak")
33+
pak::pkg_install("cmu-delphi/epidatasets")
3434
```
3535

3636

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ Delphi Epidata API, and deposit some examples here for easy offline use.
1717
You can install the development version of `{epidatasets}` like so:
1818

1919
``` r
20-
# install.packages("remotes")
21-
remotes::install_github("cmu-delphi/epidatasets")
20+
# install.packages("pak")
21+
pak::pkg_install("cmu-delphi/epidatasets")
2222
```
2323

2424
## Contents

_pkgdown.yml

+22-20
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,26 @@
11
url: https://cmu-delphi.github.io/epidatasets/
2+
23
template:
3-
bootstrap: 5
4-
bootswatch: cosmo
5-
bslib:
6-
font_scale: 1.0
7-
primary: '#C41230'
8-
link-color: '#C41230'
9-
navbar-bg: '#C41230'
10-
navbar-fg: '#f8f8f8'
11-
navbar:
12-
bg: '#C41230'
13-
fg: '#f8f8f8'
4+
package: delphidocs
5+
6+
repo:
7+
url:
8+
home: https://github.com/cmu-delphi/epidatasets/
9+
source: https://github.com/cmu-delphi/epidatasets/
10+
issue: https://github.com/cmu-delphi/epidatasets/issues
11+
1412
home:
15-
links:
16-
- text: The epiprocess R package
17-
href: https://cmu-delphi.github.io/epiprocess/
18-
- text: The epipredict R package
19-
href: https://cmu-delphi.github.io/epipredict/
20-
- text: The covidcast R package
21-
href: https://cmu-delphi.github.io/covidcast/covidcastR/
22-
- text: The epidatr R package
23-
href: https://github.com/cmu-delphi/epidatr/
13+
sidebar:
14+
structure: [links, license, community, citation, authors, dev, related]
15+
components:
16+
related:
17+
title: Delphi packages and resources
18+
text: |
19+
* [The epidatr package](https://github.com/cmu-delphi/epidatr/)
20+
* [The epiprocess package](https://cmu-delphi.github.io/epiprocess/)
21+
* [The epipredict package](https://cmu-delphi.github.io/epipredict)
22+
* [Introduction to Delphi's Tooling Work](https://cmu-delphi.github.io/delphi-tooling-book/)
2423
24+
reference:
25+
- title: Included data
26+
- contents: has_keyword("datasets")

man/epidatasets-package.Rd

+38
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/figures/README-unnamed-chunk-5-1.svg

+28-28
Loading

0 commit comments

Comments
 (0)