Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Split #41

Merged
merged 26 commits into from
Nov 19, 2023
Merged

Split #41

merged 26 commits into from
Nov 19, 2023

Conversation

mattheaphy
Copy link
Owner

  • actxps now supports split exposures that divide calendar periods crossing policy anniversaries into pre-anniversary and post-anniversary records. The function expose_split() can convert any exposed_df object with calendar period exposures (yearly, quarterly, monthly, or weekly) into a split_exposed_df object. Split exposure data frames contain columns for exposures both on a calendar period and policy year basis.
  • exp_stats() and exp_shiny() now require clarification as to which exposure basis should be used when passed a split_exposed_df object.
  • All expose_df objects now contains a default_status attribute.
  • autotable() functions now contain the arguments decimals_amt and suffix_amt. The former allows one to specify the number of decimals appearing after amount columns. The latter is used to automatically scale large numbers into by thousands, millions, billions, or trillions.
  • Corrected an error in the calculation of the standard deviations of claims when exp_stats() is passed a weighting variable.
  • Added a summary() method for exposed_df objects that calls exp_stats().

- renamed internal split exposure checking function
@mattheaphy mattheaphy linked an issue Nov 19, 2023 that may be closed by this pull request
@mattheaphy mattheaphy merged commit 351e5fb into main Nov 19, 2023
6 checks passed
@mattheaphy mattheaphy linked an issue Nov 19, 2023 that may be closed by this pull request
@mattheaphy mattheaphy deleted the split branch November 19, 2023 18:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant