Skip to contents

Uses [`birthdays_can_reconstruct()`] to determine whether the data input can be reconstructed in a valid `<birthdays>` object. If it can not, it is returned as a `data.frame`.

Usage

birthdays_reconstruct(x, to)

Arguments

x

A `data.frame` or subclass of `data.frame` (e.g. `tibble` or `birthdays`)

to

The reference object, in this case an `birthdays` object

Value

An `birthdays` object (if the input is valid) or a `data.frame`