pkgdown/extra.css

Skip to contents

[Experimental]

These S3 methods make each supported package's own coercion verb accept a tbl_now. They are thin wrappers around the matching tbl_now_to_*() converter and are quiet by default.

Usage

# S3 method for class 'tbl_now'
as_epidist_linelist_data(data, ..., verbose = FALSE)

# S3 method for class 'tbl_now'
as_epidist_aggregate_data(data, ..., verbose = FALSE)

# S3 method for class 'tbl_now'
as_reporting_triangle(data, ..., verbose = FALSE)

# S3 method for class 'tbl_now'
as_tsibble(x, ..., verbose = FALSE)

# S3 method for class 'tbl_now'
as.data.table(x, ..., verbose = FALSE)

Arguments

data, x

A tbl_now object.

...

Additional arguments forwarded to the underlying converter.

verbose

Logical; forwarded to the underlying converter. Defaults to FALSE so coercion is quiet.

Value

The object produced by the corresponding tbl_now_to_*() converter.