expSize: Estimate size of exposure data frame

Description Usage Arguments Value Examples

Description

This function takes a records file and the same arguments as the addExposures function to estimate the size of the output created. The upper bound is pretty reasonable. The idea with this function is that it enables users to determine if they can reasonably perform an operation on their computer.

Usage

1
expSize(records, type = "PY", lower_year = NULL, upper_year = NULL)

Arguments

records

File containing a unique policy key with start and end dates.

type

Creates policy year rows for the default type = "PY". Creates policy month rows for type = "PM". Many other variations on this.

lower_year

A lower year for truncation to reduce calculation time and output size.

upper_year

An upper year for truncation to reduce calculation time and output size.

Value

An upper bound for the number of rows used in the calculation of an exposure frame.

Examples

1

expstudies documentation built on June 14, 2019, 5:03 p.m.