propalloc is an R Package housing the codebase for the R Shiny Property Allocation Demo Application.
***
The goal of this project is to create a model in R Shiny that allocates an insured’s prospective year property insurance costs in an equitable, easily understood manner that saves the client time, provides the option to use an “actuarial” methodology, while still allowing for maximum flexibility and edits.
To demo the app, you have a couple of options:
Note that the run_app function will automatically install package dependencies for you.
Upon completion, this model will be used as a demo to sell future work, similar to the R Shiny casualty cost allocation model. Once sold, this model will provide a template for billable projects.
Specifically, the property allocation model will allocate the premium, taxes, fees, surcharges and any related costs (collectively, the “property insurance costs”) to the desired level. This level can include up to six hierarchies (e.g. Country, Business Unit, Division, Region, Location, and Intra-location Department).
The tool will enable the client to incorporate the following criteria into its allocation process:
In addition, the model will allow a client to select various thresholds and caps on premium/rate changes.
The tool will also provide multiple summaries, facilitating the comparison of the resulting allocation in up to three different scenarios. For example, the client can compare the resulting to allocation based upon: proposed market rates without adjustment, rates used in the prior year allocation, proposed increases for budget guidance applied to the rates used in the prior year.
The tool will also give the user the ability to:
Lastly, the tool will provide a summary by any combination of the six hierarchies that will calculate the dollar change in premium attributable to any of the following:
View all package documentation by installing and running:
propalloc::open_docs()
propalloc is setup as an R Package making it simple to house all the various dependencies that the final application relies on.
Make sure you have the latest and stable version of devtools.
Install from GitHub via:
For information on setting up your GitHub PAT (Personal Access Token) visit this webpage.
library(devtools)
# using username/password
devtools::install_github("jimbrig/propalloc",
"<username>",
"<password>")
# using GitHub PAT
# library(usethis)
# usethis::browse_github_pat()
devtools::install_github("jimbrig/propalloc",
auth_token = github_pat(quiet))
If you have any trouble, contact Jimmy Briggs to make sure you have read access to the repository and for further troubleshooting.
This project is set up as an R Package. To view important details regarding the setup visit the Technical API Vignette.
It also utilized GIT LFS. To install run git lfs install in git bash.