Skip to contents

This function takes two csv files as inputs: one containing the claims header and the other containing the attendant hours. It returns total hours per age group and injury group by billing period.

Usage

read_tac_data(claims_file, costs_file)

Arguments

claims_file

CSV file containing claims header

costs_file

CSV file containing attendant hours

Value

A tsibble object containing total attendant care adjusted hours for each billing period, disaggregated by age group and injury group. The column `nclaims` shows the number of "active" claims in each billing period.

Author

Rob J Hyndman

Examples

if (FALSE) {
group_costs <- read_tac_data(
  claims_file = "T086_claim_header.csv",
  costs_file = "T086_attendant_care_hours.csv"
)
}