summary.tbl_vintage: Summary Method for Vintages Data

View source: R/vintage-methods.R

summary.tbl_vintageR Documentation

Summary Method for Vintages Data

Description

Reports the layout, time coverage, number of vintages and missing-value count of a vintages object. Defined once for the parent class tbl_vintage; the block describing the vintages themselves is supplied by the concrete class.

Usage

## S3 method for class 'tbl_vintage'
summary(object, ...)

Arguments

object

An object inheriting from tbl_vintage, such as a tbl_pubdate or a tbl_release.

...

Additional arguments (not used).

Value

The input object, invisibly.

See Also

Other helpers: print.tbl_vintage(), tbl_sum.tbl_vintage(), tbl_vintage, validate_vintages(), vintages_long(), vintages_wide()

Examples

df <- dplyr::filter(reviser::gdp, id == "US")

# Long format
release_data <- get_nth_release(df, n = 0:3)
summary(release_data)

# Wide format
wide_release <- vintages_wide(release_data, names_from = "release")
summary(wide_release$US)

# Publication-date vintages
summary(vintages_wide(df)$US)

reviser documentation built on Sept. 14, 2026, 9:09 a.m.