Skip to content

Commit 125098d

Browse files
authored
Merge pull request #647 from cmu-delphi/autoplot-archive-selector
Autoplot archive selector
2 parents 7180b93 + 19a9ec6 commit 125098d

11 files changed

+512
-132
lines changed

DESCRIPTION

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Type: Package
22
Package: epiprocess
33
Title: Tools for basic signal processing in epidemiology
4-
Version: 0.11.1
4+
Version: 0.11.2
55
Authors@R: c(
66
person("Jacob", "Bien", role = "ctb"),
77
person("Logan", "Brooks", , "[email protected]", role = c("aut", "cre")),
@@ -46,9 +46,10 @@ Imports:
4646
dplyr (>= 1.1.0),
4747
ggplot2,
4848
glue,
49-
lifecycle (>= 1.0.1),
49+
lifecycle,
5050
lubridate,
5151
magrittr,
52+
methods,
5253
pkgconfig,
5354
purrr,
5455
rlang,

NAMESPACE

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ S3method(as_epi_df,tbl_df)
1919
S3method(as_epi_df,tbl_ts)
2020
S3method(as_tibble,epi_df)
2121
S3method(as_tsibble,epi_df)
22+
S3method(autoplot,epi_archive)
2223
S3method(autoplot,epi_df)
2324
S3method(clone,epi_archive)
2425
S3method(clone,grouped_epi_archive)
@@ -46,6 +47,8 @@ S3method(key_colnames,epi_archive)
4647
S3method(key_colnames,epi_df)
4748
S3method(key_colnames,tbl_ts)
4849
S3method(mean,epi_df)
50+
S3method(plot,epi_archive)
51+
S3method(plot,epi_df)
4952
S3method(print,epi_archive)
5053
S3method(print,epi_df)
5154
S3method(print,grouped_epi_archive)

NEWS.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,12 +48,15 @@ Pre-1.0.0 numbering scheme: 0.x will indicate releases, while 0.x.y will indicat
4848
`new_epi_archive()`.
4949
- `validate_epi_archive()` now follows the validator convention of operating on
5050
an "unvalidated" `epi_archive` (from `new_epi_archive`) rather than arguments.
51+
- `autoplot.epi_df()` argument `.max_facets` has been deprecated in favor of
52+
`.facet_filter` which allows explicit selection of facets to show.
5153

5254
## Improvements
5355
- `revision_summary()` now supports all `time_type`s.
5456
- The compactification tolerance setting now works with integer-type columns.
5557
- Various functions are now faster, using faster variants of core operations and
5658
avoiding reconstructing grouped `epi_df`s when unnecessary.
59+
- Add `autoplot.epi_archive()` to display revision patterns.
5760

5861
## Bug fixes
5962

0 commit comments

Comments
 (0)