reverse_map_seq {scrutiny}R Documentation

Reverse the ⁠*_map_seq()⁠ process

Description

reverse_map_seq() takes the output of a function created by function_map_seq() and reconstructs the original data frame.

See audit_seq(), which takes reverse_map_seq() as a basis.

Usage

reverse_map_seq(data)

Arguments

data

Data frame that inherits the "scr_map_seq" class.

Value

The reconstructed tibble (data frame) which a factory-made ⁠*_map_seq()⁠ function took as its data argument.

Examples

# Originally reported summary data...
pigs1

# ...GRIM-tested with varying inputs...
out <- grim_map_seq(pigs1, include_consistent = TRUE)

# ...and faithfully reconstructed:
reverse_map_seq(out)

[Package scrutiny version 0.4.0 Index]