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-04-02      2024-04-13      2024-04-14        
#> 2 0002  Medica… Seco…   330.  2024-05-02      2024-05-17      2024-05-20        
#> 3 0003  UHC     Seco…    21.4 2024-11-02      2024-11-13      2024-11-14        
#> 4 0004  BCBS    Prim…    33.4 2024-12-02      2024-12-08      2024-12-09        
#> 5 0005  MAO     Seco…    55.0 2024-03-02      2024-03-10      2024-03-12        
#> # ℹ 2 more variables: date_of_acceptance <date>, date_of_adjudication <date>