Generate simple data frame for testing
Value
A tibble containing the search results.
See also
Other mock:
mock_forager()
,
random_npi_generator()
Examples
mock_provider(2010:2020)
#> # A tibble: 22 × 3
#> year group payment
#> <int> <chr> <int>
#> 1 2010 A 12038
#> 2 2011 A 16270
#> 3 2012 A 16158
#> 4 2013 A 15883
#> 5 2014 A 19758
#> 6 2015 A 17152
#> 7 2016 A 11693
#> 8 2017 A 10923
#> 9 2018 A 14499
#> 10 2019 A 14283
#> # ℹ 12 more rows
mock_provider(c(2020, 2021, 2023))
#> # A tibble: 6 × 3
#> year group payment
#> <dbl> <chr> <int>
#> 1 2020 A 18933
#> 2 2021 A 12350
#> 3 2023 A 16962
#> 4 2020 B 10649
#> 5 2021 B 18563
#> 6 2023 B 17511