Generate random NPIs
See also
Other mock:
mock_forager()
,
mock_provider()
Examples
random_npi_generator(10)
#> [1] "2675828234" "2748164942" "2600648337" "2075297146" "2157046473"
#> [6] "2185882406" "2749232706" "1683507194" "2880451692" "2829386838"
x <- random_npi_generator(100)
x[collapse::whichv(purrr::map_lgl(x, is_valid_npi), TRUE)]
#> [1] "1042288948" "1318886078" "2162607651" "1814750372"