Skip to contents

Generate Mock PARBx data

Usage

mock_parbx(payers = payer_names(), ...)

Arguments

payers

[character] vector of payer names

...

[dots] additional arguments

Value

A tibble

Examples

# Every payer name generates 60 rows of data
mock_parbx()
#> # A tibble: 1,620 × 5
#>    date       month    payer    aging_bin aging_prop
#>    <date>     <ord>    <chr>    <ord>          <dbl>
#>  1 2024-01-01 January  Medicare 0-30           0.15 
#>  2 2024-01-01 January  Medicare 31-60          0.28 
#>  3 2024-01-01 January  Medicare 61-90          0.33 
#>  4 2024-01-01 January  Medicare 91-120         0.11 
#>  5 2024-01-01 January  Medicare 121+           0.13 
#>  6 2024-02-01 February Medicare 0-30           0.22 
#>  7 2024-02-01 February Medicare 31-60          0.10 
#>  8 2024-02-01 February Medicare 61-90          0.016
#>  9 2024-02-01 February Medicare 91-120         0.33 
#> 10 2024-02-01 February Medicare 121+           0.33 
#> # ℹ 1,610 more rows