-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
26 additions
and
7 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
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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# new_epi_archive correctly detects and warns about compactification | ||
|
||
Code | ||
res <- dumb_ex %>% as_epi_archive() | ||
Condition | ||
Warning: | ||
Found rows that appear redundant based on last (version of each) observation carried forward; these rows have been removed to 'compactify' and save space: | ||
Key: <geo_value, time_value, version> | ||
geo_value time_value value version | ||
<char> <Date> <num> <Date> | ||
1: ca 2020-01-01 1 2020-01-02 | ||
Built-in `epi_archive` functionality should be unaffected, but results may change if you work directly with its fields (such as `DT`). See `?as_epi_archive` for details. To silence this warning but keep compactification, you can pass `compactify=TRUE` when constructing the archive. | ||
|