generate_transaction_dataset: Generate a Transactions Dataset

View source: R/output.R

generate_transaction_datasetR Documentation

Generate a Transactions Dataset

Description

Generates a dataset of partial payment records that takes the same structure as test_transaction_dataset included in this package, with each row representing a unique payment.

Usage

generate_transaction_dataset(claims, adjust = FALSE)

Arguments

claims

an claims object containing all the simulated quantities, see claims.

adjust

if TRUE then the payment times will be forced to match with the maximum development period under consideration; default FALSE (which will produce out-of-bound payment times).

Value

A dataframe that takes the same structure as test_transaction_dataset.

See Also

test_transaction_dataset

Examples

# this generates the built-in test_transaction_dataset
transact_data <- generate_transaction_dataset(test_claims_object)


SynthETIC documentation built on May 29, 2024, 8:47 a.m.