epix_truncate_versions_after: Filter an 'epi_archive' object to keep only older versions

View source: R/methods-epi_archive.R

epix_truncate_versions_afterR Documentation

Filter an epi_archive object to keep only older versions

Description

Generates a filtered epi_archive from an epi_archive object, keeping only rows with version falling on or before a specified date.

Usage

epix_truncate_versions_after(x, max_version)

## S3 method for class 'epi_archive'
epix_truncate_versions_after(x, max_version)

## S3 method for class 'grouped_epi_archive'
epix_truncate_versions_after(x, max_version)

Arguments

x

An epi_archive object.

max_version

The latest version to include in the archive.

Value

An epi_archive object


cmu-delphi/epiprocess documentation built on Oct. 29, 2024, 5:37 p.m.