Skip to contents

Print a human-readable overview of each record return in the results from a call to npi_search. The format of the summary is modeled after the one offered on the NPI registry website.

Usage

# S3 method for npi_results
npi_summarize(object, ...)

Arguments

object

An npi_results S3 object

...

Additional optional arguments

Value

Tibble containing the following columns:

npi

National Provider Identifier (NPI) number

name

Provider's first and last name for individual providers, organization name for organizational providers.

enumeration_type

Type of provider associated with the NPI, either "Individual" or "Organizational"

primary_practice_address

Full address of the provider's primary practice location

phone

Provider's telephone number

primary_taxonomy

Primary taxonomy description

Examples

data(npis)
npi_summarize(npis)
#> # A tibble: 10 × 6
#>           npi name                                 enume…¹ prima…² phone prima…³
#>         <int> <chr>                                <chr>   <chr>   <chr> <chr>  
#>  1 1194276360 ALYSSA COWNAN                        Indivi… 5 E 98… 212-… Physic…
#>  2 1306849641 MARK MOHRMANN                        Indivi… 16 PAR… 212-… Orthop…
#>  3 1639173065 SAKSHI DUA                           Indivi… 10 E 1… 212-… Nurse …
#>  4 1346604592 SARAH LOWRY                          Indivi… 1335 D… 614-… Occupa…
#>  5 1558362566 AMY TIERSTEN                         Indivi… 1176 5… 212-… Psychi…
#>  6 1790786416 NOAH GOLDMAN                         Indivi… 140 BE… 973-… Intern…
#>  7 1558713628 ROBYN NOHLING                        Indivi… 9 HOPE… 781-… Nurse …
#>  8 1962983775 LENOX HILL MEDICAL ANESTHESIOLOGY, … Organi… 100 E … 212-… Intern…
#>  9 1427454529 YONGHONG TAN                         Indivi… 34 MAP… 203-… Obstet…
#> 10 1326403213 RAJEE KRAUSE                         Indivi… 12401 … 347-… Nurse …
#> # … with abbreviated variable names ¹​enumeration_type,
#> #   ²​primary_practice_address, ³​primary_taxonomy