premium_data: Premium data to go alonf with 'tri_data'

Description Usage Format Examples

Description

This data is a subset of the the premium data frame from the casdata package available on Github https://github.com/Ractuary/casdata

Usage

1

Format

A data frame with 6 rows and 4 variables:

lob

Line of Business

gr_code

Unique company code

gr_name

Company name

premium_net

Premium net of ceded reinsurance

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
# code used to create this dataset
if (interactive()) {
  library(casdata)
  library(dplyr)
  library(devtools)

  premium_data <- premium %>% filter(lob == "wkcomp", gr_code == 671, origin >= 1992) %>%
                                select(lob, gr_code, gr_name, premium_net)

  use_data(premium_data)
}

Ractuary/devtri documentation built on May 5, 2019, 3:49 a.m.