Skip to content

Commit 4a176d2

Browse files
committed
enh: add reference_week_day arg to fetch_args_list
### Checklist Please: - [x] Make sure this PR is against "dev", not "main" (unless this is a release PR). - [x] Request a review from one of the current epidatr main reviewers: brookslogan, dshemetov, nmdefries, dsweber2. - [x] Makes sure to bump the version number in `DESCRIPTION`. Always increment the patch version number (the third number), unless you are making a release PR from dev to main, in which case increment the minor version number (the second number). - [x] Describe changes made in NEWS.md, making sure breaking changes (backwards-incompatible changes to the documented interface) are noted. Collect the changes under the next release number (e.g. if you are on 1.7.2, then write your changes under the 1.8 heading). ### Change explanations for reviewer See commit log or NEWS.md. ### Magic GitHub syntax to mark associated Issue(s) as resolved when this is merged into the default branch - Resolves #{issue number}
1 parent 6995fd7 commit 4a176d2

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Type: Package
22
Package: epidatr
33
Title: Client for Delphi's 'Epidata' API
4-
Version: 1.2.1
4+
Version: 1.2.2
55
Authors@R: c(
66
person("Logan", "Brooks", , "lcbrooks@andrew.cmu.edu", role = "aut"),
77
person("Dmitry", "Shemetov", , "dshemeto@andrew.cmu.edu", role = "aut"),

NEWS.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,18 @@
1+
# epidatr 1.2.2
2+
3+
## Changes
4+
5+
- Add `reference_week_day` argument to `fetch_args_list` and `fetch` functions.
6+
7+
## Patches
8+
9+
- Validate that `time_type` is one of "day" or "week" in `pub_covidcast`.
10+
- Validate that `time_type` is "week" when source is "nssp" in `pub_covidcast`.
11+
- Allow `hsa_nci` as a `geo_type` in `pub_covidcast`.
12+
- Allow `hsa_nci` as a `geo_type` in `pub_covidcast_meta`.
13+
114
# epidatr 1.2.1
15+
216
## Patches
317
- Fix so that `covidcast_epidata()` will still print if fields are missing.
418

0 commit comments

Comments
 (0)