Release v1.0.0 - transaction studies
actxps 1.0.0
The actxps package now contains support for transaction studies.
- The
add_transactions()
function adds transactions toexposed_df
objects. - The
trx_stats()
function summarizes transaction results and returns a
trx_df
object. - New transaction summary (
trx_df
) S3 methods were added for forautoplot()
andautotable()
. - The
exp_shiny()
function was updated to support transaction studies. - New sample data sets were added with transactions (
withdrawals
) and
sample policy values (account_vals
). These are meant to be paired with
census_dat
. - Added
vignette("transactions")
.
Other changes
- A new family of functions were added to calculate policy durations. These
includepol_interval()
(a generic version),pol_yr()
,pol_qtr()
,
pol_mth()
, andpol_wk()
. Seevignette("misc")
. - Several updates were made to the
as_exposed_df()
function to include
stricter input requirements and helpful error messages. - S3 methods for several dplyr functions were added for
exposed_df
objects to
ensure class persistence, especially on grouped data frames. These include:
group_by()
andungroup()
,filter()
,arrange()
,mutate()
,select()
,
slice()
,rename()
,relocate()
,left_join()
,right_join()
,
inner_join()
,full_join()
,semi_join()
, andanti_join()
. - The conditional formatting for color in
autotable.exp_df()
was updated to
be consistent across like columns. - The
pol_val
column incensus_dat
was renamed topremium
.