Skip to content

Commit c623513

Browse files
authored
Merge pull request #184 from cmu-delphi/dsweber2-post-cran
post-cran updates
2 parents d1d0939 + d3d9676 commit c623513

File tree

4 files changed

+34
-17
lines changed

4 files changed

+34
-17
lines changed

README.Rmd

+13-7
Original file line numberDiff line numberDiff line change
@@ -16,21 +16,20 @@ ggplot2::theme_set(ggplot2::theme_bw())
1616

1717
# Delphi Epidata R client
1818

19-
2019
<!-- badges: start -->
2120
[![License: MIT][mit-image]][mit-url] [![Github Actions][github-actions-image]][github-actions-url]
2221
[![codecov](https://codecov.io/gh/dsweber2/epidatr/branch/dev/graph/badge.svg?token=jVHL9eHZNZ)](https://app.codecov.io/gh/dsweber2/epidatr)
2322
<!-- badges: end -->
2423

25-
26-
27-
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 for the USA at various geographical resolutions, both from official government sources such as the [Center for Disease Control (CDC)](https://www.cdc.gov/datastatistics/index.html) and [Google Trends](https://cmu-delphi.github.io/delphi-epidata/api/covidcast-signals/google-symptoms.html) and private partners such as [Facebook](https://delphi.cmu.edu/blog/2020/08/26/covid-19-symptom-surveys-through-facebook/) and [Change Healthcare](https://www.changehealthcare.com/). It is built and maintained by the Carnegie Mellon University [Delphi research group](https://delphi.cmu.edu/).
24+
The [Delphi Epidatr package](https://cmu-delphi.github.io/epidatr/) is an R front-end for the [Delphi Epidata API](https://cmu-delphi.github.io/delphi-epidata/), which 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)](https://www.cdc.gov/datastatistics/index.html) and [Google Trends](https://cmu-delphi.github.io/delphi-epidata/api/covidcast-signals/google-symptoms.html) and private partners such as [Facebook](https://delphi.cmu.edu/blog/2020/08/26/covid-19-symptom-surveys-through-facebook/) and [Change Healthcare](https://www.changehealthcare.com/). It is built and maintained by the Carnegie Mellon University [Delphi research group](https://delphi.cmu.edu/).
2825

2926
This package is designed to streamline the downloading and usage of data from the [Delphi Epidata
3027
API](https://cmu-delphi.github.io/delphi-epidata/). It provides a simple R interface to the API, including functions for downloading data, parsing the results, and converting the data into a tidy format. The API stores a historical record of all data, including corrections and updates, which is particularly useful for accurately backtesting forecasting models. We also provide packages for downstream data processing ([epiprocess](https://github.com/cmu-delphi/epiprocess)) and modeling ([epipredict](https://github.com/cmu-delphi/epipredict)).
3128

3229
## Usage
3330

31+
You can find detailed docs here:
32+
3433
```{r}
3534
library(epidatr)
3635
# Obtain the smoothed covid-like illness (CLI) signal from the
@@ -63,16 +62,23 @@ ggplot(epidata, aes(x = time_value, y = value)) +
6362

6463
## Installation
6564

66-
Install from GitHub:
65+
You can install the stable version of this package from CRAN:
66+
67+
```R
68+
install.packages("epidatr")
69+
pak::pkg_install("epidatr")
70+
renv::install("epidatr")
71+
```
72+
73+
Or if you want the development version, install from GitHub:
6774

6875
```R
6976
# Install the dev version using `pak` or `remotes`
7077
pak::pkg_install("cmu-delphi/epidatr")
7178
remotes::install_github("cmu-delphi/epidatr")
79+
renv::install("cmu-delphi/epidatr")
7280
```
7381

74-
CRAN version coming soon.
75-
7682
### API Keys
7783

7884
The Delphi API requires a (free) API key for full functionality. To generate

README.md

+19-8
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,13 @@ Actions](https://github.com/cmu-delphi/epidatr/workflows/ci/badge.svg)](https://
1212
[![codecov](https://codecov.io/gh/dsweber2/epidatr/branch/dev/graph/badge.svg?token=jVHL9eHZNZ)](https://app.codecov.io/gh/dsweber2/epidatr)
1313
<!-- badges: end -->
1414

15-
The [Delphi Epidata API](https://cmu-delphi.github.io/delphi-epidata/)
16-
provides real-time access to epidemiological surveillance data for
17-
influenza, COVID-19, and other diseases for the USA at various
18-
geographical resolutions, both from official government sources such as
19-
the [Center for Disease Control
15+
The [Delphi Epidatr package](https://cmu-delphi.github.io/epidatr/) is
16+
an R front-end for the [Delphi Epidata
17+
API](https://cmu-delphi.github.io/delphi-epidata/), which provides
18+
real-time access to epidemiological surveillance data for influenza,
19+
COVID-19, and other diseases for the USA at various geographical
20+
resolutions, both from official government sources such as the [Center
21+
for Disease Control
2022
(CDC)](https://www.cdc.gov/datastatistics/index.html) and [Google
2123
Trends](https://cmu-delphi.github.io/delphi-epidata/api/covidcast-signals/google-symptoms.html)
2224
and private partners such as
@@ -38,6 +40,8 @@ modeling ([epipredict](https://github.com/cmu-delphi/epipredict)).
3840

3941
## Usage
4042

43+
You can find detailed docs here:
44+
4145
``` r
4246
library(epidatr)
4347
# Obtain the smoothed covid-like illness (CLI) signal from the
@@ -87,16 +91,23 @@ ggplot(epidata, aes(x = time_value, y = value)) +
8791

8892
## Installation
8993

90-
Install from GitHub:
94+
You can install the stable version of this package from CRAN:
95+
96+
``` r
97+
install.packages("epidatr")
98+
pak::pkg_install("epidatr")
99+
renv::install("epidatr")
100+
```
101+
102+
Or if you want the development version, install from GitHub:
91103

92104
``` r
93105
# Install the dev version using `pak` or `remotes`
94106
pak::pkg_install("cmu-delphi/epidatr")
95107
remotes::install_github("cmu-delphi/epidatr")
108+
renv::install("cmu-delphi/epidatr")
96109
```
97110

98-
CRAN version coming soon.
99-
100111
### API Keys
101112

102113
The Delphi API requires a (free) API key for full functionality. To
-20.4 KB
Loading

man/get_api_key.Rd

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

0 commit comments

Comments
 (0)