Skip to contents

Generate mock coding/billing data frame

Usage

mock_forager(rows = 10, nest = FALSE)

Arguments

rows

<int> number of rows to generate; default is 10

nest

<lgl> whether to nest the dates column; default is FALSE

Value

A tibble

See also

Examples

mock_forager(rows = 5)
#> # A tibble: 5 × 9
#>   id    payer   class balance date_of_service date_of_release date_of_submission
#>   <chr> <fct>   <ord>   <dbl> <date>          <date>          <date>            
#> 1 0001  Cigna   Seco…   145.  2024-03-25      2024-04-05      2024-04-06        
#> 2 0002  Medica… Seco…   330.  2024-04-25      2024-05-10      2024-05-13        
#> 3 0003  UHC     Seco…    21.4 2024-10-25      2024-11-05      2024-11-06        
#> 4 0004  BCBS    Prim…    33.4 2024-11-25      2024-12-01      2024-12-02        
#> 5 0005  MAO     Seco…    55.0 2024-02-25      2024-03-04      2024-03-06        
#> # ℹ 2 more variables: date_of_acceptance <date>, date_of_adjudication <date>